Funding Account Widget
Read on adding funding accounts in safe and secure way
You will need to use our widget with the type "CARD" to add a card or "BANK" to add a bank as a funding account. A particular user can only have 2 active bank and 2 active card accounts.
To initialize the widget, you will need to first generate a Widget Token, which will only be valid for a certain time period. You will need to pass this token along with the Sender ID to widget initialization snippets.
GET /users/{{user_id}}/widget-token
GET /users/{{user_id}}/widget-token
Field
Required
Type
Description
token
Yes
String
Token Details
user_id
Yes
UUID
User ID
expiry_minutes
Yes
Numeric
Token validity time
After you have the Widget Token, you will need to follow the steps mentioned below to set up the widget.
1. Include the Widget Script
2. Create a div where widget needs to be placed
3. Initialize the Widget
Last updated
Was this helpful?