---
title: "Set Card PIN"
method: PATCH
path: "/card/set-pin"
---

# Set Card PIN

`PATCH /card/set-pin`

Set a 4 digit PIN for a DISPATCHED or ACTIVE Physical Card. A strong PIN not consisting of repeating digits or sequential digits is to be used, as per the regex below. Only physical cards may have a PIN which can be set after the status of the card is DISPATCHED.

## Headers

- `api-key` string, required
- `Authorization` string, required

## Request body

- object
  - `cardId` string, required — The ID of an ACTIVE physical card for which you would like to set a PIN
  - `pin` string, required — Strong 4 digit PIN validated against the regex /^(?!.*(\d)\1)(?!.*(?:0123|1234|2345|3456|4567|5678|6789|7890|0987|9876|8765|7654|6543|5432|4321|3210))\d{4}$/

## Response `200`

200

## Other responses

- `400` — 400
- `409` — 409

---

[API](https://skmtc.net/striga/apis/striga-v1.md) · [All operations](https://skmtc.net/striga/apis/striga-v1/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/striga/striga-v1/versions/63e57aa7df45/schema)
