> For the complete documentation index, see [llms.txt](https://docs.pandablue.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.pandablue.com/api-reference-1/deposits-api/saving-cards-card-on-file/retrieve-a-stored-card.md).

# Retrieve a stored card

## Retrieve Token Information

> Fetches basic information about a previously tokenized credit card using its unique identifier.

```json
{"openapi":"3.0.0","info":{"title":"Card Tokenization API","version":"3.0.0"},"servers":[{"url":"https://cc-api-stg.directa24.com","description":"Staging environment"}],"security":[{"apiKeyAuth":[]},{"authHeader":[]}],"components":{"securitySchemes":{"apiKeyAuth":{"type":"apiKey","in":"header","name":"X-Login"},"authHeader":{"type":"apiKey","in":"header","name":"Authorization"}},"schemas":{"CustomError":{"type":"object","properties":{"code":{"type":"integer","description":"Unique error code"},"description":{"type":"string","description":"Error description"}},"required":["code","description"]}}},"paths":{"/v3/tokenization/{card_identifier}":{"get":{"summary":"Retrieve Token Information","description":"Fetches basic information about a previously tokenized credit card using its unique identifier.","parameters":[{"in":"path","name":"card_identifier","required":true,"schema":{"type":"string"},"description":"The unique card token obtained during tokenization"},{"in":"header","name":"Content-Type","required":true,"schema":{"type":"string","default":"application/json"},"description":"Media type of the body sent to the API"},{"in":"header","name":"X-Date","required":true,"schema":{"type":"string","format":"date-time"},"description":"ISO8601 Datetime with Timezone (yyyy-MM-dd'T'HH:mm:ssZ)"},{"in":"header","name":"X-Login","required":true,"schema":{"type":"string"},"description":"Merchant X-Login API Key"},{"in":"header","name":"Authorization","required":true,"schema":{"type":"string"},"description":"Authorization control hash"},{"in":"header","name":"X-Idempotency-Key","required":false,"schema":{"type":"string"},"description":"Unique idempotency key for ensuring that the same request is not processed more than once"}],"responses":{"200":{"description":"Successfully retrieved card information","content":{"application/json":{"schema":{"type":"object","properties":{"holder_name":{"type":"string","description":"Cardholder name"},"expiration_month":{"type":"integer","description":"Expiration month","minimum":1,"maximum":12},"expiration_year":{"type":"integer","description":"Expiration year"},"last_four_digits":{"type":"string","pattern":"^\\d{4}$","description":"Last four digits of the card"},"brand":{"type":"string","description":"The card brand"},"first_six":{"type":"string","pattern":"^\\d{6}$","description":"The first six digits (BIN) of the card"}},"required":["holder_name","expiration_month","expiration_year","last_four_digits","brand","first_six"]}}}},"400":{"description":"Invalid request format","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CustomError"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CustomError"}}}},"404":{"description":"Token not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CustomError"}}}}}}}}}
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.pandablue.com/api-reference-1/deposits-api/saving-cards-card-on-file/retrieve-a-stored-card.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
