Transfer (Deposit)
Lets an authenticated payment agent deposit funds directly into a client's Deriv wallet, identified by their account nickname (to_nickname). On success returns a TransferResult - status "complete" with a transaction_id for a real transfer, status "pending" with transaction_id null if the transfer is still being processed (poll GET /payment-agents/v1/transfer/{request_id} with the supplied request_id for the final status), or status "dry_run_ok" with transaction_id null when dry_run is true. client_real_name and client_is_agent describe the recipient.
Point de terminaison
/payment-agents/v1/transferURL de base : https://api.derivws.com
Codes de statut
Réponses d'erreur
{
"data": {},
"errors": [
{
"status": 400,
"code": "WalletFundsInsufficient",
"detail": { "message": "The agent's wallet does not hold enough funds for this transfer" }
}
],
"metadata": {
"endpoint": "/payment-agents/v1/transfer",
"method": "POST",
"timing": 38
}
}{
"data": {},
"errors": [
{
"status": 400,
"code": "RequestIDUsed",
"detail": { "message": "The request_id has already been used" }
}
],
"metadata": {
"endpoint": "/payment-agents/v1/transfer",
"method": "POST",
"timing": 14
}
}Authentification requise
Deriv-App-ID pour identifier votre application. Portée OAuth2 : paymentÀ propos de Transfer (Deposit)
Le point de terminaison POST /payment-agents/v1/transfer : Lets an authenticated payment agent deposit funds directly into a client's Deriv wallet, identified by their account nickname (to_nickname). On success returns a TransferResult - status "complete" with a transaction_id for a real transfer, status "pending" with transaction_id null if the transfer is still being processed (poll GET /payment-agents/v1/transfer/{request_id} with the supplied request_id for the final status), or status "dry_run_ok" with transaction_id null when dry_run is true. client_real_name and client_is_agent describe the recipient.
D'autres questions ? Nous contacter