---
title: "Get the card credentials"
method: GET
path: "/issuing/cards/{cardId}/credentials"
tags: ["Cards"]
---

# Get the card credentials

`GET /issuing/cards/{cardId}/credentials`

## Request

- Base URL: `https://{prefix}.api.sandbox.checkout.com`
- URL: `https://{prefix}.api.sandbox.checkout.com/issuing/cards/{cardId}/credentials`
- Auth: OAuth 2
  - Client credentials
  - Token URL: `string` scopes: `issuing:card-management-read`
- TypeScript: <https://skmtc.dev/checkout/apis/checkout-com-api-reference/docs/issuing/cards/:cardId/credentials/get.ts> (a function with typed inputs; its response is checked against the schema)

Retrieves the credentials for a card you issued previously.

## Path parameters

- `cardId` string, required: The card's unique identifier.

## Query parameters

- `credentials` 'number' | 'cvc2' | 'number,cvc2': The credentials to retrieve. You can either specify `number` or `cvc2` to retrieve the specified credential, or both as a comma-separated list. For example, to retrieve both the CVC and PAN: ``` "credentials": "number, cvc2" ```

## Response `200`

Card credentials retrieved successfully

- Credentials
  - `number` string, pan: The unencrypted card number.
  - `cvc2` string: The card's verification code, also known as the CVV or CVC2.

## Other responses

- `401`: Unauthorized
- `404`: Card not found
- `422`: Invalid data was sent
- `500`: Internal Server Error
- `503`: Service Unavailable

---

[API](https://skmtc.dev/checkout/apis/checkout-com-api-reference.md) - [All operations](https://skmtc.dev/checkout/apis/checkout-com-api-reference/llms.txt) - [OpenAPI document](https://skmtc.dev/checkout/apis/checkout-com-api-reference/revisions/0f1abdb1c3e9?raw)
