Cards UI

Cards UI is a simple user interface built on top of our cards API.

Introduction

Our Cards UI is a white-label solution that allows you to present card information to the user without the need to store or transmit card information directly. This provides the benefit of handling stringent PCI Compliance standards for you.

Demo

Click here.

Recommended Flow

1. Issue Public Key

At your backend, where you have stored client_id and client_secret securely, issue a public key with scope CLIENT|CONTROLS and USER|GET.

2. Issue OAuth Key

Issue an Issue OAuth Key for the user, with scopes USER|GET, NODE|GET, NODES|GET, TRANS|GET, TRANS|POST.

  • If you are using our Cards UI with SUBNETS, please also add SUBNETS|GET and SUBNET|GET.

You can learn more about User Authentication on this page.

3. Test the UI

Next step is to go to the Cards UI and see if everything is rendering appropriately.

Link (for sandbox): https://uat-uiaas.synapsefi.com/card
Link (for production): https://uiaas.synapsefi.com/card

GET Params needed in the URL

GET ParamNote
oauth_keyOAuth key of the user who needs to link new card node
public_keyYour public key
node_idSynapse ID of the node

If you are using debit card user interface with CARD-US nodes, the final URL would look like this:

https://uat-uiaas.synapsefi.com/card?oauth_key=oauth_key&public_key=public_key&node_id=node_id

If you are using debit card user interface with SUBNETS, the final URL would look like this:

https://uat-uiaas.synapsefi.com/card?oauth_key=oauth_key&public_key=public_key&node_id=node_id&subnet_id=subnet_id

📘

Android webviews

If you are rendering this component inside an Android webview, please make sure that you have DOM storage enabled settings.setDomStorageEnabled(true);

GET Params on redirect

GET Params returned on failure_uri:

GET ParamNote
error_codeError code from Errors Section
http_codeHTTP code from Errors Section
messageReason for failure
user_idSynapse ID of the user

Customizing the UI

You can customize the following things on the UI

FieldComment
Color PaletteYou can update the color with any hex value. By default it uses our colors
LogoAny landscape logo (recommended: 1388 × 367 pixels). Please update the Light Landscape logo. By default it uses our logo
Failure URIThe link where the user will be redirected if actions are unsuccessful. Must follow Hypertext Transfer Protocol Secure (HTTPS) or Hypertext Transfer Protocol (HTTP).
Page Title for Unsaved Progress WarningWhat title should go back warning page have
Transactions ControlsIf the UI should display transactions associated with the card or not
Balance ControlsIf the UI should display the balance of the card or not
Cash In / Out ControlsIf UI should allow the user should be allowed to add or withdraw funds out of the card or not
Card Number ControlsIf the card number should be visible by default or hidden
Preferences ControlsIf the UI should display the card preferences controls. This includes card status, card pin update, and foreign transaction controls.

If you wish to change any of these fields, please go to Client Settings on the dashboard to do so.