Utility

Create originKey values for domains

This operation takes the origin domains and returns a JSON object containing the corresponding origin keys for the domains.

If you're still using origin key for your Web Drop-in or Components integration, we recommend switching to client key. This allows you to use a single key for all origins, add or remove origins without generating a new key, and detect the card type from the number entered in your payment form.

post/originKeys

Headers

Idempotency-Keystring

A unique identifier for the message with a maximum of 64 characters (we recommend a UUID).

Request body

originDomainsstring[] required

The list of origin domains, for which origin keys are requested.

Response

OK - the request has succeeded.

originKeysobject

The list of origin keys for all requested domains. For each list item, the key is the domain and the value is the origin key.

Changes