pin/set instead to set or reset a PIN without the old value.| Field | Type | Description | Constraints |
|---|---|---|---|
oldPin | string | The customer's current PIN | Min: 4 · Max: 6 |
newPin | string | The new PIN — must differ from the current PIN | Min: 4 · Max: 6 |
| Field | Type | Description |
|---|---|---|
id | string (uuid) | Card identifier |
pinChanged | boolean | Whether the PIN was changed successfully |
updatedAt | string (date-time) | Timestamp the PIN was updated |
curl --location '/api/v1/cardoperations/6f1c9a2e-4b3d-4e7a-9c5f-1a2b3c4d5e6f/pin/change' \
--header 'X-API-Key;' \
--header 'X-Signature;' \
--header 'X-Timestamp;' \
--header 'X-Nonce;' \
--header 'X-Body-Hash;' \
--header 'Content-Type: application/json' \
--data '{
"oldPin": "4821",
"newPin": "7734"
}'{
"id": "6f1c9a2e-4b3d-4e7a-9c5f-1a2b3c4d5e6f",
"pinChanged": true,
"updatedAt": "2026-01-15T11:25:00Z"
}