v1

latestOpenAPI 3.1.02026-07-26165182724.7 KB

Set Card 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.

patch/card/set-pin

Headers

api-keystring required
Authorizationstring required

Request body

cardIdstring required

The ID of an ACTIVE physical card for which you would like to set a PIN

pinstring 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