Skip to content

The event feed

GET /events

Every event, the same envelopes the webhooks carry, oldest first from the cursor.

Scope: events:read. The key’s connection must hold it; see the reference’s introduction.

Replace the CAPITALS, and set PASSKAAR_KEY to a key from the portal.

Terminal window
curl -X GET "https://api.passkaar.com/integrations/v1/events?limit=25" \
-H "Authorization: Bearer $PASSKAAR_KEY"
Name In Type Required What it is
cursor query string next_cursor from the previous page. Opaque.
limit query integer At most 100.
type query card.created, card.claimed, card.removed_from_wallet, award.created, award.reversed, reward.unlocked, redemption.created, balance.expired, refund.unresolved, customer.erased, connection.revoked, webhook.test, hold.created, hold.confirmed, hold.released, hold.expired

Events.

Field Type Required What it is
data array of object (CardCreatedEvent) or object (CardClaimedEvent) or object (CardRemovedFromWalletEvent) or object (AwardCreatedEvent) or object (AwardReversedEvent) or object (RewardUnlockedEvent) or object (RedemptionCreatedEvent) or object (BalanceExpiredEvent) or object (RefundUnresolvedEvent) or object (CustomerErasedEvent) or object (ConnectionRevokedEvent) or object (WebhookTestEvent) or object (HoldCreatedEvent) or object (HoldConfirmedEvent) or object (HoldReleasedEvent) or object (HoldExpiredEvent) yes
next_cursor string or null yes Where to read on from. Null only before there is any event. A page shorter than limit means you have caught up: keep this cursor and ask again later. An event joins the feed about ten seconds after it is recorded.

Every error is a Problem Details answer with a stable code.

Status Code
400 invalid_request
401 unauthorized
429 rate_limited
500 internal_error
503 unavailable