Withdraw API
The Initiate Withdraw API allows merchants to send USDT to a registered customer email.
Description
This API is used to initiate a USDT withdrawal to a registered user email.
Endpoint
HTTP
POST{{baseURL}}/api/merchant/v2/withdraw/initiate
Request Body
JSON
{
"amount": 100,
"email": "bansi@techysquad.com",
"order_id": "ord56",
"remark": "test withdrawal"
}
Success Response
JSON
{
"status": 200,
"success": true,
"data": {
"transaction_id": "MTX_a8f3b91c",
"status": "pending"
}
}
Response Codes
| Status | Description |
|---|---|
| 400 | Invalid amount / Email required / Order ID required / Remark required |
| 404 | User not found with this email |
| 409 | Duplicate order_id |
| 500 | Internal server error |