Documentación
Wallet

Transferencia de plataforma

PostRequiere autenticación

Mueve fondos entre un wallet y una cuenta de plataforma de trading que pertenece al cliente autenticado. direction establece qué lado se debita: from_wallet financia la cuenta de la plataforma, to_wallet financia el wallet. Cuando el wallet y la cuenta de la plataforma tienen divisas diferentes, también envíe wallet_currency con un exchange_rate cotizado y un 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.

Respuestas de Error

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 Transferencia de plataforma

El endpoint POST /wallet/v1/transfers/platforms: Mueve fondos entre un wallet y una cuenta de plataforma de trading que pertenece al cliente autenticado. direction establece qué lado se debita: from_wallet financia la cuenta de la plataforma, to_wallet financia el wallet. Cuando el wallet y la cuenta de la plataforma tienen divisas diferentes, también envíe wallet_currency con un exchange_rate cotizado y un rate_token.

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