Skip to content

Get pay-in rate ​

Returns the current reference pay-in rate for a currency (fiat per 1 USDT).

POST/api/open/order/getBuyRate

Full URL = your API base URL + this path. The base URL is shown in the merchant console under Developers → API & callbacks.

Request parameters ​

ParameterTypeRequiredDescription
merchantNostringYesMerchant number
currencyTypestringYesCurrency code, e.g. CNY

Response ​

FieldTypeDescription
ratenumberPay-in rate, at most two decimals
json
{ "code": 0, "message": "success", "data": { "rate": 7.3 } }

TIP

The rate changes with the market and trader quotes and is for reference only. The rate actually applied is fixed when the order is created; see rate in Get order.

Common errors ​

40010, 40012, 40017. When no matching pool is available it currently returns 500; this will change to 40011.