v1

latestOpenAPI 3.0.22026-07-26128245430.3 KB
Cards

Generate an Ephemeral Key to Reveal Card Details

Generates a one-time ephemeral key that can be used to reveal card details. Please see the integration guide on safely revealing card details for more information.

post/customers/{customerID}/card_accounts/{cardAccountID}/ephemeral_keys

Path parameters

customerIDstring required

A UUID that uniquely identifies a resource

cardAccountIDstring uuid required

The ID of the card account

Headers

Idempotency-Keystring required

Request body

client_noncestring required

The client-side nonce that will be associated with the ephemeral key. This must be generated from the client secret and timestamp as per the integration guide in order to be usable for revealing card details.

Response

Ephemeral key to reveal card details

ephemeral_keystring required

The ephemeral key to reveal card details. This key is only valid for 5 minutes. Your backend should return this key to the frontend instead of directly using it, to avoid putting your backend in PCI compliance scope. Please see the integration guide on safely revealing card details for more information.