Retrieve a card
/v1/cards/{id}Requires an API client bearer token.
Fetch a card by id (tenant-scoped). For a programme-scoped caller (a programme-pinned API client) another programme's card is answered 404, exactly as one that does not exist.
Parameters
Path parameters
| Name | Required | Description |
|---|---|---|
| id | required |
Example
curl https://api.rigid.fi/v1/cards/{id} \
-H "Authorization: Bearer $RIGID_API_TOKEN"Responses
200The card.
+ show properties− hide properties
One of
mcc_allow
mcc_deny
country_allow
country_deny
channel_allow
channel_deny
per_txn_cap
per_day_cap
per_day_amount_cap
The cardholder's email address, joined on read, or null when there is none on file.
A business card's business (its trading name, else its legal name), read when the response is built (a replay under an Idempotency-Key carries the name it was built with); null on a person card.
When a business card's grant ends: the earliest of its valid-until date, a scheduled revoke and, once the grant has ended, when it ended. Null on a person card and on an active grant with neither a valid-until date nor a scheduled revoke.
400Validation error
401Authentication required
403Forbidden
404Card not found
500Internal server error