List pay-ins
GET
Newest first. refunded and refundable are not in a list; retrieve a pay-in for them.
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.
limit?integerMaximum number of items to return.
Rango
1 <= value <= 100starting_after?stringReturn items after this id (the next_cursor of the previous page).
status?stringOnly items with this status.
Valor en
"processing""completed""failed"funding_account_id?stringOnly the pay-ins into this funding account.
Match
^fa_[0-9a-z]+$created_after?stringOnly items created at or after this RFC 3339 timestamp.
Formato
date-timecreated_before?stringOnly items created before this RFC 3339 timestamp.
Formato
date-timeOK
application/json- response
data*array<>has_more*booleannext_cursor?stringEjemplo de solicitud
curl -X GET 'https://api-sandbox.caibopay.app/v1/payins'Ejemplo de respuesta
{ "data": [ { "amount": "string", "completed_at": "2019-08-24T14:15:22Z", "created_at": "2019-08-24T14:15:22Z", "currency": "string", "failure_code": "string", "funding_account_id": "string", "id": "string", "paid": { "amount": "string", "currency": "string" }, "refundable": "string", "refunded": "string", "status": "processing" } ], "has_more": true, "next_cursor": "string"}