Documentação
Wallet

Transferência de Plataforma

PostAutenticação necessária

Move fundos entre uma wallet e uma conta de plataforma de negociação pertencente ao cliente autenticado. O parâmetro direction define qual o lado debitado: from_wallet financia a conta da plataforma, to_wallet financia a wallet. Quando a wallet e a conta da plataforma têm moedas diferentes, envie também wallet_currency com um exchange_rate cotado e o respetivo rate_token.

Endpoint

Post/wallet/v1/transfers/platforms

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

Códigos de Estado

200OK - The transfer was executed, with the request_id echoed back.
400Bad request - The transfer breaks a transfer rule, the request_id was already used, 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.

Respostas de Erro

400Duplicate request ID
{
  "errors": [
    {
      "status": 400,
      "code": "DuplicateRequestID",
      "message": "This request_id has already been used"
    }
  ]
}
400Validation error
{
  "errors": [
    {
      "status": 400,
      "code": "ValidationError",
      "message": "exchange_rate and rate_token are required when wallet_currency differs from currency",
      "field": "exchange_rate"
    }
  ]
}

Acerca de Transferência de Plataforma

O endpoint POST /wallet/v1/transfers/platforms: Move fundos entre uma wallet e uma conta de plataforma de negociação pertencente ao cliente autenticado. O parâmetro direction define qual o lado debitado: from_wallet financia a conta da plataforma, to_wallet financia a wallet. Quando a wallet e a conta da plataforma têm moedas diferentes, envie também wallet_currency com um exchange_rate cotado e o respetivo rate_token.

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