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/

Request

  • Base URL: https://api.helloaxel.com (the document declares no server; this is the origin it was published from)
  • URL: https://api.helloaxel.com/payment-methods/
  • Auth: HTTP bearer

Response

Successful Response

setup_intent_idstring required
client_secretstring required
stripe_customer_idstring required

Changes

No operation changes recorded.