Withdraw
Withdraws funds from the authenticated client's account through a payment agent. Requires a 6-digit verification_code obtained from POST /payment-agents/v1/withdraw/verification_code. A withdrawal is initially requested (transaction_id is null at this stage), then pending, and finally complete, rejected, or failed. Supply an optional request_id to track status afterwards via GET /payment-agents/v1/withdraw/{request_id}.
Endpoint
/payment-agents/v1/withdrawBase URL: https://api.derivws.com
Status Codes
Error Responses
{
"data": {},
"errors": [
{
"status": 400,
"code": "InvalidOTP",
"detail": { "message": "Invalid OTP" }
}
],
"metadata": {
"endpoint": "/payment-agents/v1/withdraw",
"method": "POST",
"timing": 19
}
}{
"data": {},
"errors": [
{
"status": 400,
"code": "WithdrawalAmountMinimum",
"detail": { "message": "Amount is below the agent's minimum withdrawal limit" }
}
],
"metadata": {
"endpoint": "/payment-agents/v1/withdraw",
"method": "POST",
"timing": 16
}
}Authentication Required
Deriv-App-ID header to identify your application. OAuth2 Scope: paymentAbout Withdraw
The POST /payment-agents/v1/withdraw endpoint: Withdraws funds from the authenticated client's account through a payment agent. Requires a 6-digit verification_code obtained from POST /payment-agents/v1/withdraw/verification_code. A withdrawal is initially requested (transaction_id is null at this stage), then pending, and finally complete, rejected, or failed. Supply an optional request_id to track status afterwards via GET /payment-agents/v1/withdraw/{request_id}.
Any other questions? Get in touch