Get the encryption public key
Returns the RSA public key used to encrypt card data before it is sent to
lite, for the merchant (the x-business-account-id account when sent,
otherwise the API key’s).
Encrypt the card details into a JWE with this key and send the result as
data when creating an instrument. The raw card number then never reaches
lite in plain text.
The key is created on the first call and returned unchanged on later calls,
so it can be cached. While lite is still creating it, the response is {}
without public_key_pem: call again after a few seconds. This is the same
key as POST /cryptography/liteEncrypted/session.
Authorizations
Headers
The business account to act on, for platform use cases. When sent, that account is the merchant for the request: resources are created under it, reads and 404 checks are scoped to it, and per-merchant uniqueness (such as merchant_reference_id) applies within it. The API key's own account is recorded as the account acting on its behalf. Omit it to act on the API key's own account.
"550e8400-e29b-41d4-a716-446655440000"
Response
Public key returned.
The account's public key. On the account's first call, lite creates the key; if it isn't ready within a few seconds, the response is an empty object {} with the same status. Call again after a few seconds until public_key_pem is present.