POST
/
customers
/
{customerID}
/
card_accounts
/
{cardAccountID}
/
ephemeral_keys
Generate an Ephemeral Key to Reveal Card Details
curl --request POST \
  --url https://api.bridge.xyz/v0/customers/{customerID}/card_accounts/{cardAccountID}/ephemeral_keys \
  --header 'Api-Key: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{
  "client_nonce": "<string>"
}'
{
"ephemeral_key": "<string>"
}

Authorizations

Api-Key
string
header
required

Headers

Idempotency-Key
string

Path Parameters

customerID
string
required

A UUID that uniquely identifies a resource

Required string length: 1 - 42
cardAccountID
string<uuid>
required

The ID of the card account

Body

application/json

The client-side nonce that will be associated with the ephemeral key

The request to create an ephemeral key to reveal card details

Response

200
application/json

Ephemeral key to reveal card details

A response containing the ephemeral key to reveal card details