Skip to main content
PUT
Set PIN

Authorizations

Authorization
string
header
required

Secret API key, e.g. sk_live_... or sk_test_....

Path Parameters

card_id
string
required

Body

application/json
encrypted_pin_block
string
required

ISO 9564 format 4 PIN block, encrypted with the PIN key issued to your account. Plain-text PINs are not accepted.

Response

OK.

object
enum<string>
required
read-only

Object type.

Available options:
pin_status
card_id
string
required
Example:

"card_01JZ8N2K4M"

status
enum<string>
required
Available options:
set,
not_set,
blocked
remaining_attempts
integer
Required range: x >= 0
Example:

3