200Successful Response
Schema: SuccessEnvelope_CreditEventFeedResponse_
successbooleanmessagestringcodestringdataCreditEventFeedResponse
/api/v1/credit/eventsEvery credit event in order, from a cursor. Pass the returned next_cursor as after on the following call. order=desc returns the newest events first and pages older with before (the console's view; after is refused with it). Program event_delivery_mode is polling (outbox only), webhook, or both. Replay through this feed after an outage either way.
Bearer token authentication. Pass your DayZero API token in the Authorization header and the target business UUID in x-business-id.
afterintegerReturn events after this sequence number.
event_typesstringComma-separated event types to include.
credit_line_idstringprogram_idstringorderstringdefault: ascasc (default) pages forward with after; desc returns the latest events newest first and pages older with before.
One of: asc, desc
beforeintegerWith order=desc: events below this sequence number.
limitintegerdefault: 100Schema: SuccessEnvelope_CreditEventFeedResponse_
successbooleanmessagestringcodestringdataCreditEventFeedResponseSchema: ErrorResponse
errorstringrequiredError category: validation_error, unauthorized, forbidden, not_found, conflict, rate_limited, server_error, or service_unavailable.
messagestringrequiredHuman-readable explanation, safe to show to end users.
codestringrequiredStable machine-readable code in CATEGORY_NNN form (e.g. NOT_FOUND_006, AUTH_010, GEN_002).
request_idstringCorrelation id for support requests. Echoes the x-request-id request header when one was supplied.
errorsobjectField-level validation messages keyed by field name. Present on 400/422 validation failures only.
Schema: ErrorResponse
errorstringrequiredError category: validation_error, unauthorized, forbidden, not_found, conflict, rate_limited, server_error, or service_unavailable.
messagestringrequiredHuman-readable explanation, safe to show to end users.
codestringrequiredStable machine-readable code in CATEGORY_NNN form (e.g. NOT_FOUND_006, AUTH_010, GEN_002).
request_idstringCorrelation id for support requests. Echoes the x-request-id request header when one was supplied.
errorsobjectField-level validation messages keyed by field name. Present on 400/422 validation failures only.
Schema: ErrorResponse
errorstringrequiredError category: validation_error, unauthorized, forbidden, not_found, conflict, rate_limited, server_error, or service_unavailable.
messagestringrequiredHuman-readable explanation, safe to show to end users.
codestringrequiredStable machine-readable code in CATEGORY_NNN form (e.g. NOT_FOUND_006, AUTH_010, GEN_002).
request_idstringCorrelation id for support requests. Echoes the x-request-id request header when one was supplied.
errorsobjectField-level validation messages keyed by field name. Present on 400/422 validation failures only.
Schema: ErrorResponse
errorstringrequiredError category: validation_error, unauthorized, forbidden, not_found, conflict, rate_limited, server_error, or service_unavailable.
messagestringrequiredHuman-readable explanation, safe to show to end users.
codestringrequiredStable machine-readable code in CATEGORY_NNN form (e.g. NOT_FOUND_006, AUTH_010, GEN_002).
request_idstringCorrelation id for support requests. Echoes the x-request-id request header when one was supplied.
errorsobjectField-level validation messages keyed by field name. Present on 400/422 validation failures only.