List the statement of a currency

GET
/v1/balances/{currency}/entries

Every movement on the account's balances in a currency, newest first: one entry per ledger posting on one of the account's own balances, with the operation it belongs to. Pass next_cursor as after to continue; the statement is walked without gaps or repeats.

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.

Parámetros de ruta

currency*string
limit?integer

Maximum number of items to return.

Rango1 <= value <= 100
after?string

The id of the last entry received (the next_cursor of the previous page).

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/string/entries'
Ejemplo de respuesta
{  "data": [    {      "account": "available",      "amount": "string",      "currency": "string",      "direction": "credit",      "id": "string",      "journal_id": "string",      "occurred_at": "2019-08-24T14:15:22Z",      "origin": {        "id": "string",        "type": "string"      },      "purpose": "string"    }  ],  "has_more": true,  "next_cursor": "string"}