Skip to main content
POST
Update card PIN

Authorizations

Authorization
string
header
required

Cognito JWT token for regular user authentication

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