Lista de Wallets
GetRequiere autenticación
Devuelve los wallets pertenecientes al cliente autenticado, con cada saldo mostrado en la moneda nativa del wallet. Proporcione un conversion_currency para recibir también cada saldo convertido a esa moneda, y utilice start_date_time y end_date_time para delimitar el saldo en la ventana de tiempo.
Endpoint
Get
/wallet/v1/walletsURL Base: https://api.derivws.com
Códigos de Estado
200OK - Wallets for the authenticated client, with balances in native currencies and optional conversion.
400Bad request - errors[0].code will be BadRequest.
401Unauthorized - Missing or invalid Bearer token.
403Forbidden - Valid token but insufficient scope (payment scope required).
404Not found - errors[0].code will be NotFound.
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
400Bad request
{
"errors": [
{
"status": 400,
"code": "BadRequest",
"message": "conversion_currency must be a 3-letter ISO currency code"
}
]
}403Forbidden - insufficient scope
{
"errors": [
{
"status": 403,
"code": "Unauthorized",
"message": "The payment scope is required for this endpoint"
}
]
}Requiere autenticación
Este endpoint requiere un token Bearer. Al autenticarse con un Token de Acceso Personal (PAT), el encabezado
Deriv-App-ID es obligatorio para identificar su aplicación (Authentication). Alcance OAuth2: paymentAcerca de Lista de Wallets
El endpoint GET /wallet/v1/wallets: Devuelve los wallets pertenecientes al cliente autenticado, con cada saldo mostrado en la moneda nativa del wallet. Proporcione un conversion_currency para recibir también cada saldo convertido a esa moneda, y utilice start_date_time y end_date_time para delimitar el saldo en la ventana de tiempo.
¿Alguna otra pregunta? Póngase en contacto