Off-ramp (Sell) APIs
Pre order
Code
Request Body
| Field | Type | Mandatory | Remarks |
|---|---|---|---|
| externalOrderId | string | Yes | The unique order id from the partner side. Supports only letters and numbers. |
| fiatCurrency | string | Yes | fiat currency |
| cryptoCurrency | string | Yes | crypto currency |
| amountType | int | Yes | Specify whether the requested amount is in fiat:1 or crypto:2 |
| requestedAmount | string | Yes | Requested amount. Fraction is 8 |
| payMethodCode | string | Yes | The payment method code is from payment method list API |
| payMethodSubCode | string | Yes | The payment method subcode is from payment method list API |
| network | string | Yes | crypto network |
| redirectUrl | string | No | The redirectUrl is for redirecting to your website if order is completed |
| failRedirectUrl | string | No | The redirectUrl is for redirecting to your website if order is failed |
| redirectDeepLink | string | No | The redirectDeepLink is for redirecting to your APP if order is completed |
| failRedirectDeepLink | string | No | The failRedirectDeepLink is for redirecting to your APP if order is failed |
| clientIp | string | No | The original client IP |
| clientType | string | No | The original client type: web/mobile |
| customization | object | No | Customization settings for the current order. Please refer to "Customization". |
Response Body
| Field | Type | Remarks |
|---|---|---|
| link | string | The landing page link of Binance Connect. For information on how to use it, please refer to "Landing page and redirection". |
| linkExpireTime | timestamp | The expiration time of link |
Example
Request Parameters:
Code
Response:
Code
Was this page helpful?
Last modified on