Events

Everything that happens in your account, as an ordered log. The same thing you receive by webhook.

GET/v1/events

Every important change generates an event. It arrives by webhook and stays in GET /v1/events, in the same shape:

{
  "id": "evt_01m3sgb02af7nb0jf73vwv2sd5",
  "type": "payin.completed",
  "schema_version": 1,
  "occurred_at": "2026-10-18T12:03:12.418Z",
  "livemode": false,
  "data": {
    "id": "pin_01m3sg9x0000000000000000",
    "status": "completed",
    "funding_account_id": "fa_01m3sg9w0000000000000000",
    "amount": "45.871200",
    "currency": "USDT",
    "created_at": "2026-10-18T12:03:10Z",
    "completed_at": "2026-10-18T12:03:12Z"
  }
}
FieldDescription
idThe event id. Use it to avoid processing the same event twice.
typeWhat happened.
schema_versionThe version of the data shape for that type. Currently 1.
occurred_atWhen it happened.
livemodetrue in live, false in sandbox.
dataThe resource, in the API's shape. It may gain new fields.

Events never include beneficiary account details or your customers' personal data.

Reading the log

curl "$CAIBO_API/v1/events?after=$CURSOR&limit=100" -H "Authorization: Bearer $CAIBO_API_KEY"
  • From oldest to newest. Store next_cursor (always present) and continue from there: you never skip an event.
  • type filters by an exact type (payout.completed) or by a family ending in a dot (payout.).
  • resource_id returns the history of one resource: ?resource_id=pout_….
  • A brand-new event may take a moment to appear in the list; the webhook doesn't wait.

Catalog

The list may grow. Ignore types you don't recognize; they shouldn't break your integration.

Sur cette page