Poll the credit event feed

GET/api/v1/credit/events

Every credit event in order, from a cursor. Pass the returned next_cursor as after on the following call. This is the polling half of event delivery — the same events are pushed to any registered webhook endpoint, so a partner may use either or both, and replay through this feed after an outage.

Operation ID: list_credit_events_api_v1_credit_events_get·View as markdown·OpenAPI slice

Authentication

Bearer token authentication. Pass your DayZero API token in the Authorization header and the target business UUID in x-business-id.

Parameters

Query

afterinteger

Return events after this sequence number.

event_typesstring

Comma-separated event types to include.

credit_line_idstring
limitintegerdefault: 100

Responses

200Successful Response

successboolean
messagestring
codestring
dataCreditEventFeedResponse

401Unauthorized - Authentication required

403Forbidden - Insufficient permissions

422Validation Error

detailarray · ValidationErrorValidationError
5 fields
locarray · string | integerrequired
msgstringrequired
typestringrequired
inputobject
ctxobject