Open APIs
Get Fiat and Crypto Amount Limit
Code
Request Body
| Field | Type | Mandatory | Remarks |
|---|---|---|---|
| userId | string | Yes | Customer's Binance sub-account ID |
| fiatCurrency | string | Yes | fiat currency |
| cryptoCurrency | string | Yes | crypto currency |
| direction | string | Yes | BUY or SELL |
| amount | decimal | Yes | Requested amount. |
| amountType | int | Yes | Specify whether the total amount is in fiat:1 or crypto:2 |
| customSpread | decimal | Yes | Specify the custom spread value. For example, 0.01 means a 1% spread (0.01 = 1%). |
Example
Code
Code
Response Body
| Field | Type | Remarks |
|---|---|---|
| fiatMinLimit | decimal | fiat min amount limit |
| fiatMaxLimit | decimal | fiat max amount limit |
| cryptoMinLimit | decimal | crypto min amount limit |
| cryptoMaxLimit | decimal | crypto max amount limit |
Example
Code
Was this page helpful?
Last modified on