---
title: "Generate Card Token"
method: GET
path: "/cards/{id}/token"
---

# Generate Card Token

`GET /cards/{id}/token`

This endpoint generates a card token to be used for displaying sensitive card data.

## Path parameters

- `id` string, required

## Response `200`

Card token generated successfully.

- object
  - `statusCode` integer — Status code of the response. `200` indicates a successful request.
  - `message` string — Human-readable description of the result.
  - `data` object — Response payload.
    - `token` string — Short-lived JWT used to render secure card data on the client.

## Other responses

- `400` — Validation error.
- `401` — Authentication failed — missing or invalid API key.

---

[API](https://skmtc.net/sudo/apis/sudo-sandbox-api.md) · [All operations](https://skmtc.net/sudo/apis/sudo-sandbox-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/sudo/sudo-sandbox-api/versions/52be624fcb53/schema)
