Withdraw
Withdraws funds from the authenticated client's account through a payment agent. The withdrawal moves the requested amount out of the client's Wallet and into the agent's Wallet - the agent then settles the equivalent value with the client outside of Deriv. Requires a 6-digit verification_code obtained from POST /payment-agents/v1/withdraw/verification_code. Withdrawals start as pending and move to 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/withdrawURL Base: https://api.derivws.com
Códigos de Estado
Respostas de Erro
{
"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
}
}Autenticação Necessária
Deriv-App-ID para identificar a sua aplicação. Âmbito OAuth2: paymentAcerca de Withdraw
O endpoint POST /payment-agents/v1/withdraw: Withdraws funds from the authenticated client's account through a payment agent. The withdrawal moves the requested amount out of the client's Wallet and into the agent's Wallet - the agent then settles the equivalent value with the client outside of Deriv. Requires a 6-digit verification_code obtained from POST /payment-agents/v1/withdraw/verification_code. Withdrawals start as pending and move to complete, rejected, or failed. Supply an optional request_id to track status afterwards via GET /payment-agents/v1/withdraw/{request_id}.
Alguma outra questão? Entrar em contacto