Skip to main content
GET
Retrieves a card from the exception file

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Scopes

exception-file-mgmt-service:read

Read exception file records

Headers

X-Marqeta-Program-Short-Code
string
required

Program short code of the program managing the card.

Path Parameters

cardToken
string
required

Card token for which details need to be retrieved from the exception file.

Response

Exception file record for the specified card token

as_of
string<date-time>

Time this record is current as of, in ISO 8601: the time of the request for a change made through this API, or the report time of the most recent Visa report that set or confirmed it. Visa's reports can lag the network by up to 7 days (weekly) or a month (monthly).

Example:

"2026-10-17T14:32:08.123Z"

network
string

Card network associated with the card.

Example:

"VISA"

card_token
string

Unique identifier of the card on the exception file.

Example:

"6a2b8c4e-1f3d-4a5b-9c7e-2d4f6a8b0c1e"

created_at
string<date-time>

Date and time when the record was created, in UTC, in ISO 8601 format.

Example:

"2026-10-17T14:32:08.123Z"

action_code
string

Code representing the action that was taken on the card.

  • CLOS - Card terminated / closed account
  • LCPU - Lost card
  • SCPU - Stolen card
  • INVA - Invalid / not found account
  • PUWF - Fraud pickup (non-specific)
  • PUNF - Pickup (no fraud)
  • EXPC - Expired card (authorization only; declines with response code 54)
  • DNTH - General block (authorization only; declines with response code 05)

For a record set by a Visa report, this can instead be Visa's own report code, when it has no equivalent above.

Example:

"CLOS"

action_date
string<date>

Purge date of the record in the exception file, in YYYY-MM-DD format.

Pattern: ^\d{4}-\d{2}-\d{2}$
Example:

"2027-01-15"

action_type
string

Type of the most recent action that set this record, either ADD or UPDATE.

Example:

"ADD"

last_modified_at
string<date-time>

Time the content of this record last changed in Marqeta's system. A Visa report that confirms the record unchanged moves as_of, not this.

Example:

"2026-10-17T14:32:08.123Z"

program_short_code
string

Program short code of the program managing the card.

Example:

"sqc9"