Note: This endpoint is solely for development and testing purposes. Please refrain from sending any actual funds when using this endpoint.
- The sandbox environment is designed to closely emulate the product flow of the production environment. It currently only supports USDT-MATIC20 on the Polygon Mumbai testnet.
- The appId must be set to 2, as this is the official test app Id.
Integrating in the hosted mode is very straightforward. All you need to do is redirect to Onramp (link below). This method works equally well on both desktop and mobile. Simply add a link to your application to enable this redirection.
If you want to set some custom options for your integration, just add them as query parameters to the URL.
For example, let's set a
walletAddressparam so that it'll be pre-filled for the user, for detailed customisation refer to the block below.
User is redirected to the onramp site, will configs set in query params.
App Id of the merchant/Partner* *Sandbox appId in this case
Name of the coin (also denoted as key in data.allCoinConfig in the response returned in the allConfig endpoint) current supported coins:
supported networks by onramp for onchain transactions current supported networks: usdt - matic20 (Mumbai testnet)
Onchain wallet address to which the crypto will be withdrawn to.
amount denoted in the native coin/token.
either coinAmount or fiatAmount, can be passed. When passed both coinAmount takes precedence
amount denoted in fiat amount. (only ₹ INR is currently supported)
Specific string that can be passed by the merchant/Partner at the time of making the request.