payment-methods

Create Payment Method

Create a SetupIntent for adding a new payment method.

Returns client_secret for Stripe Elements to collect card details. This is a generic endpoint - no opportunity is attached.

If the user has no Stripe customer yet, one is created lazily using the email from the user's account.

post/payment-methods/

Response

Successful Response

setup_intent_idstring required
client_secretstring required
stripe_customer_idstring required

Changes