---
title: "Change Card PIN"
method: PUT
path: "/cards/{id}/pin"
---

# Change Card PIN

`PUT /cards/{id}/pin`

Change PIN for a specific card. Available for both Verve and AfriGo (physical and virtual) cards.

## Path parameters

- `id` string, required

## Request body

- object
  - `oldPin` string, required — 4 digits old card PIN.
  - `newPin` string, required — 4 digits new card PIN.

## Response `200`

Card PIN changed 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.
    - `_id` string — Unique identifier of the object.
    - `isDefaultPINChanged` boolean — Whether the default PIN has been changed.

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