Create a withdrawal order
POST/api/v1/order/withdrawal
Create a withdrawal order to transfer funds from your balance to an external wallet. Specify the amount, asset type, and the destination wallet address. The integration ID must also be provided to link the withdrawal to a specific integration.
Withdrawal can only be processed if there are sufficient funds in the wallet balance, including fees.
Request
- application/json
Body
Details of the withdrawal order to create.
The amount to withdraw from the balance. It should be a positive decimal number, specified with up to 6 decimal places.
Possible values: [TRX
, USDT_TRC20
]
The asset type to be withdrawn.
The wallet address where the funds will be sent. This must be a valid address compatible with the selected asset.
Possible values: Value must match regular expression [0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}
The unique identifier of the integration through which the withdrawal is being processed. This ID helps link the withdrawal to a specific integration.
Responses
- 200
Withdrawal order created successfully.
- application/json
- Schema
- Example (from schema)
Schema
The unique identifier of the created refund or withdrawal order. Use this ID to track the order's status .
{
"orderId": "123e4567-e89b-12d3-a456-426614174000"
}