Withdrawal Verification Code
Requests a one-time verification code be sent to the client's registered contact (email or phone). Call this before submitting a withdrawal via POST /payment-agents/v1/withdraw - the code must be included as verification_code in that request. The code is valid until expires_at (epoch seconds). A new code cannot be requested before next_request_at (epoch seconds).
Endpoint
/payment-agents/v1/withdraw/verification_codeBase URL: https://api.derivws.com
Status Codes
Error Responses
{
"data": {},
"errors": [
{
"status": 400,
"code": "OtpRateLimitExceeded",
"detail": {
"message": "Too many verification code requests in a short period",
"next_request_at": 1781547816
}
}
],
"metadata": {
"endpoint": "/payment-agents/v1/withdraw/verification_code",
"method": "POST",
"timing": 11
}
}Authentication Required
Deriv-App-ID header to identify your application. OAuth2 Scope: paymentAbout Withdrawal Verification Code
The POST /payment-agents/v1/withdraw/verification_code endpoint: Requests a one-time verification code be sent to the client's registered contact (email or phone). Call this before submitting a withdrawal via POST /payment-agents/v1/withdraw - the code must be included as verification_code in that request. The code is valid until expires_at (epoch seconds). A new code cannot be requested before next_request_at (epoch seconds).
Any other questions? Get in touch