Skip to main content
POST
Set 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:

"9BA3355E747688DE"

cardId
string<uuid>
required

Unique identifier of a resource.

Example:

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

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 is successfully set.