Initiate withdrawal application
POST/withdraw/apply
The merchant initiates a withdrawal request, which needs to be approved on the management platform. After the transaction is successful, the system will send a withdrawal result notification to the callback address provided by the merchant.
Request
- application/json
Body
required
Withdrawal application form
Chain ID
This is the platform internal ID, not the chain ID on the chain or from the wallet, can be obtained from Get Chain List interface
Currency ID
Can be obtained from Get Currency List interface
Withdrawal address
Merchant Pro only: Can include multiple addresses, separated by ,
, corresponding one-to-one with the withdrawal amount.
Withdrawal amount
Note: It is the actual amount, must be a positive number, can be a decimal.
Merchant Pro only: Can include multiple amounts, separated by ,
, corresponding one-to-one with the withdrawal address.
Merchant order number
Note: Cannot pass in an empty string or a string containing only spaces.
Merchant callback address
Must be a publicly accessible HTTPS protocol address, otherwise the callback notification cannot be received
Responses
- 200
- 201
- 401
- 403
- 404
OK
- application/json
- Schema
- Example (from schema)
- Example
Schema
Status code
Status message on success or error message on failure
Detailed description when error
data
object
required
Withdrawal order ID
{
"code": 0,
"msg": "string",
"description": "string",
"data": {
"withdrawId": 0
}
}
{
"code": 200,
"msg": "success",
"data": {
"withdrawId": 35
}
}
Created
Unauthorized
Forbidden
Not Found