Retiros

Consultar saldo disponible

Devuelve el saldo disponible para dispersar retiros. Solo `GET`. La forma de la respuesta depende de la configuración de tu comercio: puede traer solo `current_balance` o también `available` — léela de forma defensiva. El saldo no se valida al crear un retiro ni se reserva mientras está pendiente.

GET
/withdrawals/balance

Autorización

Authorization
Authorization<token>

Your public API key, with the word Token and a space in front of it. Example: Token 6534bc0a7e1f4d2b9c8e3a5f7b1d2c4e6f8a9b0c — that whole value is the header. Sending the key alone returns 401 'Authentication credentials were not provided'. In this playground you may paste just the key; the prefix is added for you.

In: header

Cuerpo de la respuesta

application/json

application/json

application/json

curl -X GET "https://example.com/withdrawals/balance"
{
  "available": "32894.55",
  "current_balance": "32894.55"
}
{
  "detail": "Invalid token."
}
{
  "detail": "Method \"POST\" not allowed."
}
¿Te resultó útil esta página?