List pay-ins

GET
/v1/payins

Newest first. refunded and refundable are not in a list; retrieve a pay-in for them.

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.

limit?integer

Maximum number of items to return.

Rango1 <= value <= 100
starting_after?string

Return items after this id (the next_cursor of the previous page).

status?string

Only items with this status.

Valor en"processing""completed""failed"
funding_account_id?string

Only the pay-ins into this funding account.

Match^fa_[0-9a-z]+$
created_after?string

Only items created at or after this RFC 3339 timestamp.

Formatodate-time
created_before?string

Only items created before this RFC 3339 timestamp.

Formatodate-time

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/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"}