Skip to main content
POST
Change PIN

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

x-idempotency-key
string

Idempotency key for the request

x-audit-user
string

Optional audit user header

Body

application/json
pinBlock
string
required

The encrypted PIN block is in ISO Format 1 and is represented in hexadecimal.

Example:

"6E07465A3D19DDD1"

cardId
string<uuid>
required

Unique identifier of a resource.

Example:

"20218aae-b15e-406c-9e9f-23735cd86a48"

sequenceNumber
integer

The sequence number of the card version, this value is also known as PSN (pan sequence number)

Required range: x >= 1
Example:

1

zpkIndex
integer

Pre-shared ZPK key index number. If it is not specified, the first key is used by default.

Example:

0

Response

The encrypted PIN has been successfully changed.