Skip to main content
POST
Update card PIN

Authorizations

Authorization
string
header
required

User bearer credential: either a Cognito JWT or an ak_ user API key. Backend integrators using HMAC must include the user API key alongside the three HMAC headers on user-scoped endpoints.

Path Parameters

cardId
string
required

The id of the card whose pin is being updated

Minimum string length: 1

Body

encryptedKey
string
required

Base64-encoded RSA-encrypted AES-128 key used for PIN encryption

Minimum string length: 1
encryptedPin
object
required

AES-128-GCM encrypted PIN block. The plaintext must be an ISO 9564-1 Format 2 PIN block.

Response

Response for status 200

success
boolean
required