Customer

Create Customer Client Secret

POST
/v1/auth/customer/secret

Create customer client secret for web component payment method operations.

Authorization

basic auth
AuthorizationBasic <token>

Authorization header with value of Basic <auth string> where the auth string value is a base64 encoded string of <client id>:<client secret>

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

curl -X POST "https://example.com/v1/auth/customer/secret" \  -H "Content-Type: application/json" \  -d '{    "email_address": "user@example.com"  }'
{  "secret": "string",  "customerId": "87d8e330-2878-4742-a86f-dbbb3bf522ac",  "customerEmail": "string"}