Deposit APIs
Query deposit authorization
Code
Query the authorization status of a deposit session. After the user opens the Binance App via the universal link, this API returns the current status and, once authorized, the deposit addresses for all requested networks.
Polling contract: Poll this API every 2-3 seconds. Stop polling when the status transitions from
0(INIT) to a terminal state:1(AUTHORIZED),2(REJECTED), or3(EXPIRED).Note: Webhook is the primary delivery mechanism for authorization results. Polling is available as a fallback. See Deposit Webhook for details.
Request Body
| Field | Type | Mandatory | Remarks |
|---|---|---|---|
| externalOrderId | string | Yes | Partner's unique order ID (same as the one used in /deposit/initiate). |
Response Body
| Field | Type | Remarks |
|---|---|---|
| status | int | Authorization status. Please refer to "Deposit authorization status". |
| depositAddresses | object array | Deposit addresses per network. Only present when status = 1 (AUTHORIZED). Refer to DepositAddressObject. |
| cryptoCurrency | string | Crypto currency |
| expireTime | timestamp | Authorization expiry time (epoch milliseconds) |
DepositAddressObject
| Field | Type | Remarks |
|---|---|---|
| depositAddress | string | Deposit address for this network |
| network | string | Blockchain network. E.g. "BSC", "ETH", "SOL" |
| addressTag | string | Address memo/tag (for networks like XRP, XLM, etc.). Null if not required |
| minAmount | string | Minimum deposit amount for this network. Deposits below this amount may not be credited |
Example - INIT (waiting for user authorization)
Request Parameters:
Code
Response:
Code
Example - AUTHORIZED (deposit addresses obtained)
Request Parameters:
Code
Response:
Code
Example - REJECTED (user rejected authorization)
Request Parameters:
Code
Response:
Code
Example - EXPIRED (authorization window expired)
Request Parameters:
Code
Response:
Code
Was this page helpful?
Last modified on