Skip to content

List the issuer's card transactions

GET/api/v1/credit/issuer/card-transactions

Card transactions on the Ramp account connected to this business, as DayZero last synced them, newest first. Each carries the card, the cardholder, Ramp's state, the account it is booked to in DayZero's books, and the credit line and loan when the card is registered to a line on this business. Reimbursements are left out unless include_reimbursements=true. Only what the Ramp sync has stored is listed: transactions on credit-line cards are loans, read them under the line. CREDIT_742 when start is after end.

Operation ID: list_issuer_card_transactions·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

startstring · date

First transaction date to include (inclusive, UTC).

endstring · date

Last transaction date to include (inclusive, UTC).

card_holderstring

Only this cardholder's transactions (whole name, any case).

card_last_fourstring

Only transactions on the card ending in these four digits.

statestring

Only transactions in this Ramp state, e.g. CLEARED.

include_reimbursementsbooleandefault: False

Also list reimbursements (transaction_type=reimbursement).

limitintegerdefault: 100

Page size (1 to 500).

cursorstring

next_cursor from the previous page, passed back unchanged.

include_total_countbooleandefault: False

Also return total, the number of matching rows (one more query).

Responses

200Successful Response

successboolean
messagestring
codestring
dataIssuerCardTransactionPage

400Bad Request - Invalid input

errorstringrequired

Error category: validation_error, unauthorized, forbidden, not_found, conflict, rate_limited, server_error, or service_unavailable.

messagestringrequired

Human-readable explanation, safe to show to end users.

codestringrequired

Stable machine-readable code in CATEGORY_NNN form (e.g. NOT_FOUND_006, AUTH_010, GEN_002).

request_idstring

Correlation id for support requests. Echoes the x-request-id request header when one was supplied.

errorsobject

Field-level validation messages keyed by field name. Present on 400/422 validation failures only.

401Unauthorized - Missing or expired token, an MCP OAuth token used against the REST API, or no access to this business

errorstringrequired

Error category: validation_error, unauthorized, forbidden, not_found, conflict, rate_limited, server_error, or service_unavailable.

messagestringrequired

Human-readable explanation, safe to show to end users.

codestringrequired

Stable machine-readable code in CATEGORY_NNN form (e.g. NOT_FOUND_006, AUTH_010, GEN_002).

request_idstring

Correlation id for support requests. Echoes the x-request-id request header when one was supplied.

errorsobject

Field-level validation messages keyed by field name. Present on 400/422 validation failures only.

403Forbidden - Insufficient permissions

errorstringrequired

Error category: validation_error, unauthorized, forbidden, not_found, conflict, rate_limited, server_error, or service_unavailable.

messagestringrequired

Human-readable explanation, safe to show to end users.

codestringrequired

Stable machine-readable code in CATEGORY_NNN form (e.g. NOT_FOUND_006, AUTH_010, GEN_002).

request_idstring

Correlation id for support requests. Echoes the x-request-id request header when one was supplied.

errorsobject

Field-level validation messages keyed by field name. Present on 400/422 validation failures only.

422Validation Error

errorstringrequired

Error category: validation_error, unauthorized, forbidden, not_found, conflict, rate_limited, server_error, or service_unavailable.

messagestringrequired

Human-readable explanation, safe to show to end users.

codestringrequired

Stable machine-readable code in CATEGORY_NNN form (e.g. NOT_FOUND_006, AUTH_010, GEN_002).

request_idstring

Correlation id for support requests. Echoes the x-request-id request header when one was supplied.

errorsobject

Field-level validation messages keyed by field name. Present on 400/422 validation failures only.