GET/////
Retrieve a credit card for a credit account.
URL path parameters
| Fields | Description |
|---|---|
| account_token string Required | Unique identifier of the credit account for which to retrieve a credit card. Send a GET request to /credit/accounts to retrieve existing credit account tokens.Allowable Values: Existing account token |
| card_token string Required | Unique identifier of the credit card to retrieve. Send a GET request to /credit/accounts/{account_token}/cards to retrieve existing credit card tokens.Allowable Values: Existing card token |
Response body
| Fields | Description |
|---|---|
| token string Returned | Unique identifier of the credit card. Allowable Values: 36 char max |
| account_token string Returned | Unique identifier of the associated credit account. Allowable Values: 36 char max Existing account token |
| user_token string Returned | Unique identifier of the credit cardholder. Allowable Values: Existing user token |
| created_time datetime Returned | Date and time when the card was created on Marqeta’s credit platform, in UTC. Allowable Values: Format: yyyy-MM-ddThh:mm:ssZ |
| updated_time datetime Returned | Date and time when the card was last modified on Marqeta’s credit platform, in UTC. Allowable Values: Format: yyyy-MM-ddThh:mm:ssZ |
Sample response body
JSON
{
"token": "my_credit_card_token1234",
"account_token": "my_account_token_12",
"user_token": "user1234",
"created_time": "2024-09-03T19:39:53.719Z",
"updated_time": "2024-09-03T19:39:53.719Z"
}