Deriv API
Documentation
Wallet

Validate Transfer

PostAuthentification requiseBêta

Checks a transfer against the transfer rules before you execute it, and returns the fee, the net amount leaving the source account, and the estimated amount the destination receives. Validation moves no money. An invalid transfer returns an error describing what failed, so is_valid is always true on success.

Point de terminaison

Post/wallet/v1/transfers/validate

URL de base : https://api.derivws.com

Codes de statut

200OK - The transfer passes validation, with the fee and amount breakdown.
400Bad request - The transfer breaks a transfer rule, or the body failed validation.
401Unauthorized - Missing or invalid Bearer token.
403Forbidden - Valid token but insufficient scope (payment scope required).
429Too many requests - Rate limit exceeded.
500Internal server error - errors[0].code will be InternalServerError.
503Service unavailable - Request rejected by the gateway circuit breaker.
504Gateway timeout - The service did not respond in time.

Réponses d'erreur

400Validation error
{
  "errors": [
    {
      "status": 400,
      "code": "ValidationError",
      "message": "rate is required for a cross-currency transfer",
      "field": "rate"
    }
  ]
}
400Currency not allowed
{
  "errors": [
    {
      "status": 400,
      "code": "CurrencyNotAllowed",
      "message": "The destination payment agent does not accept this currency"
    }
  ]
}

À propos de Validate Transfer

Le point de terminaison POST /wallet/v1/transfers/validate : Checks a transfer against the transfer rules before you execute it, and returns the fee, the net amount leaving the source account, and the estimated amount the destination receives. Validation moves no money. An invalid transfer returns an error describing what failed, so is_valid is always true on success.

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