Skip to main content
POST
Set Card PIN

Headers

x-eip712-signature
string
required

EIP-712 signature over the change-pin challenge.

x-eip712-nonce
string
required

Nonce of the challenge that was signed.

Path Parameters

cardId
string<uuid>
required

Body

application/json
encryptedKey
string
required

Base64-encoded RSA-OAEP encrypted AES-256 session key.

encryptedPin
string
required

AES-GCM encrypted PIN in PIN Block 2 format, Base64-encoded.

iv
string
required

Base64-encoded AES-GCM initialization vector.

Response

There is no content to send for this request, but the headers may be useful.