Deriv API
Documentación
Agente de Pago

Transfer (Deposit)

PostRequiere autenticación

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.

Endpoint

Post/payment-agents/v1/transfer

URL Base: https://api.derivws.com

Códigos de Estado

200OK - Transfer completed, or validated in dry-run mode. Returns a TransferResult.
400Bad request - One of: AgentIDNotFound, AgentInactive, AgentSelfTransfer, TransferToAgentNotAllowed, TransferAgentCurrencyUnsupported, AgentCurrencyUnsupported, NicknameNotFound, NoClientWallet, WalletDisabled, DepositDisabled, ClientCountryUnsupported, WithdrawalAmountMinimum, WithdrawalAmountMaximum, WalletFundsInsufficient, DailyTransferCountLimit, DailyTransferAmountLimit, InvalidCurrency, InvalidAmount, InvalidRequestIDFormat, RequestIDUsed, InputError, ClientDepositDisabled, AgentWithdrawDisabled.
401Unauthorized - Invalid or missing authentication.
403Forbidden - Valid token but insufficient scope (payment scope required).
500Internal server error - One of: NicknameLookupFailed, WalletLookupFailed, TransferFailed, InternalError.
504Gateway timeout - Upstream service unavailable.

Respuestas de Error

400Bad request - insufficient funds
{
  "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
  }
}
400Bad request - duplicate request_id
{
  "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
  }
}

Acerca de Transfer (Deposit)

El endpoint 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.

Click to open live chat support. Get instant help from our support team.