Skip to main content

Get Payment Method Setup Secret

GET 

/customers/:customerId/payment-methods/secret

Quote the policy first: the payment-side customer is created by quoting, so asking earlier returns PAYMENT_CUSTOMER_NOT_FOUND. Needs DIRECT_DEBIT in the product's allowedPaymentModes, or it refuses with CONFLICTING_CONFIG. Initialise Stripe.js with the publishable key of Korint's Stripe account for your tenant and environment — ask your Korint contact; a key from another account fails in the browser as No such setupintent, which reads as a bad secret but is not.

Request

Responses