Skip to main content
POST
Get 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 requested

Minimum string length: 1

Body

encryptedKey
string
required

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

Minimum string length: 1

Response

The encrypted PIN block for the card. When decrypted, the plaintext is an ISO 9564-1 Format 2 PIN block.

The encrypted PIN block for the card. When decrypted, the plaintext is an ISO 9564-1 Format 2 PIN block.

encryptedPin
object
required