Skip to main content
GET
/
customers
/
{customerId}
/
payment-methods
/
secret
Get Payment Method Setup Secret
curl --request GET \
  --url https://api.example.com/customers/{customerId}/payment-methods/secret
{
  "clientSecret": "<string>"
}

Path Parameters

customerId
string
required

The customer id

Query Parameters

whenAt
string

Optional: the whenAt datetime

Response

clientSecret
string
required

Client secret to setup a payment method