Validate Transfer
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
/wallet/v1/transfers/validateURL de base : https://api.derivws.com
Codes de statut
Réponses d'erreur
{
"errors": [
{
"status": 400,
"code": "ValidationError",
"message": "rate is required for a cross-currency transfer",
"field": "rate"
}
]
}{
"errors": [
{
"status": 400,
"code": "CurrencyNotAllowed",
"message": "The destination payment agent does not accept this currency"
}
]
}Authentification requise
Deriv-App-ID pour identifier votre application. Portée OAuth2 : paymentÀ 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.
D'autres questions ? Nous contacter