List the statement of a currency
GET
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.
apiKeyheader
AuthorizationBearer <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.
currency*stringlimit?integerMaximum number of items to return.
Rango
1 <= value <= 100after?stringThe id of the last entry received (the next_cursor of the previous page).
OK
application/json- response
data*array<>has_more*booleannext_cursor?stringEjemplo 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"}