Parameter | Description | Possible Value |
---|---|---|
tokens | It's a JSON string array of token objects. Each token object specifies which token will be deposited to which address. | [{ "address": "", "chainId": "", "depositAddress": "" }] |
primaryColor | Hex code for your brand color | #D480FF |
widgetType | Either you want to open the widget as a popup or embed it into your site. | embedded ,modal , paymentLink |
defaultCountry | ISO Code of the country | See country & crypto page for possible values |
fiatAmount | Amount in fiat in local currency of the defaultCountry as a string, for India this would be INR | amount in string e.g. "21.21", "1000.50" |
userEmail | Optional. Email of the user, user might have to authenticate and KYC | Email address e.g. [email protected] |
partnerContext | Optional. We will pass this data to your server when user completes his order. | Any json object for e.g. {"refId": ""} |
Tokens is a JSON array string with each item in the array a token you would accept
Name | Description |
---|---|
address | on-chain address of the token, 0x0000000000000000000000000000000000000000 for native tokens like ETH on Ethereum |
chainId | chain Id for the token, see possible chains below |
depositAddress | Optional. user or merchant on-chain address where you want to deposit this token |
Possible Chains
ChainID | Chain Name | EVM ID of Chain |
---|---|---|
ethereum | Ethereum | 1 |
polygon-pos | Polygon | 137 |
binance-smart-chain | Binance Smart Chain | 56 |
fantom | Fantom | 250 |
tron | Tron | - |
solana | Solana | - |
Did not find the chain you were looking for ? Give us your feedback at [email protected]