Create an encryption session
Returns the RSA public key used to encrypt card data, for the merchant (the
x-business-account-id account when sent, otherwise the API key’s). The
response is the same as GET /cryptography/key.
Only liteEncrypted is supported. Any other provider returns 400. The
request body is ignored; send {} or nothing.
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"
Path Parameters
Body
The body is of type object.
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.