---
title: "Generate Test Card"
method: GET
path: "/cards/simulator/generate"
---

# Generate Test Card

`GET /cards/simulator/generate`

Generates a test card which can be mapped to a customer or used to simulate authorisations or balance enquiry.

## Response `200`

Card 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.
    - `number` string — Identity / card number value.
    - `expiryMonth` string — Card expiry month (MM).
    - `expiryYear` integer — Card expiry year (YYYY).
    - `cvv2` string — Card verification value (sandbox/test only).

## 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)
