List balances

GET
/v1/balances

The account's money per currency, by how usable it is. Every figure is read from the ledger; total = available + pending + reserved + in_settlement. Earnings are shown apart and not added.

Autorización

apiKey
headerAuthorizationBearer <clave>

Your secret API key, sent as Authorization: Bearer <key>. A key names its environment: psp_test_… works only against sandbox (https://api-sandbox.caibopay.app), psp_live_… only against live (https://api.caibopay.app). Keys are issued by Caibo when your account is opened; the dashboard (Developers) shows the key in use.

Cuerpo de la respuesta

OK

application/json
  1. response
data*array<>
has_more*boolean
next_cursor?string
Ejemplo de solicitud
curl -X GET 'https://api-sandbox.caibopay.app/v1/balances'
Ejemplo de respuesta
{  "data": [    {      "as_of": "2019-08-24T14:15:22Z",      "available": "string",      "currency": "string",      "earnings": "string",      "in_settlement": "string",      "pending": "string",      "primary": true,      "reserved": "string",      "total": "string"    }  ],  "has_more": true,  "next_cursor": "string"}