---
title: "Get Processor Token's Card Data [EXPERIMENTAL]"
method: GET
path: "/processorTokens/{processorTokenKey}/cardData"
tags: ["Processor Tokenization"]
---

# Get Processor Token's Card Data \[EXPERIMENTAL\]

`GET /processorTokens/{processorTokenKey}/cardData`

## Request

- Base URL: `https://eu-west-1.api.silverflow.com/v1`
- URL: `https://eu-west-1.api.silverflow.com/v1/processorTokens/{processorTokenKey}/cardData`
- Auth: one of:
  - HTTP basic
  - HTTP bearer
- TypeScript: <https://skmtc.dev/silverflow/apis/silverflow-api/docs/processorTokens/:processorTokenKey/cardData/get.ts> (a function with typed inputs; its response is checked against the schema)

Returns the card data associated with a Processor Token by its key.

The client must use their private key to decrypt the data key. Once done, the decrypted data key and the IV can be used to decrypt the card data using AES-256-CBC. See the **[Retrieve Card Data](https://docs.silverflow.com/guides/card-tokenization#tag/Retrieve-Card-Data)** guide for more information.

Requires the `processorTokens:GetCardData` permission.

## Path parameters

- `processorTokenKey` string, required: Uniquely identifies a processor token entity.

## Query parameters

- `processorTokenPublicKey` string, required: Uniquely identifies a processor token public key entity.

## Response `200`

The card data associated with the Processor Token

- GetCardDataResponse
  - `processorTokenPublicKey` string, required: Uniquely identifies a processor token public key entity.
  - `encryptedCardData` string, required: The card data encrypted with AES-256 algorithm. Base64 encoded.
  - `encryptedDataKey` string, required: The data key used to encrypt the card data. Encrypted with the agent's public key. Base64 encoded.
  - `iv` string, required: The initialization vector used to encrypt the card data. Base64 encoded.

## Other responses

- `400`: Bad Request
- `401`: Authentication information is missing or invalid
- `403`: The authenticated client is forbidden to make the request for the resource identified.
- `404`: The requested resource was not found
- `409`: Conflict
- `422`: The server was unable to process the request.
- `429`: The number of requests (per minute) has exceeded the configured maximum
- `500`: The server encountered an unexpected condition. This may or may not be a temporary situation.
- `503`: The server was unable to process the request. This is a temporary condition. Please retry the request.

---

[API](https://skmtc.dev/silverflow/apis/silverflow-api.md) - [All operations](https://skmtc.dev/silverflow/apis/silverflow-api/llms.txt) - [OpenAPI document](https://skmtc.dev/silverflow/apis/silverflow-api/revisions/43ecbe4fd6ea?raw)
