Skip to main content

Finalizes a Stripe SetupIntent and sets the customer's default payment method.

POST 

/stripe/finalize-card-setup

Called by the marketplace immediately after stripe.confirmSetup succeeds. Looks up the SetupIntent server-side, verifies it belongs to the authenticated user's customer, and promotes its PaymentMethod to the customer's default. This guarantees the default is set even if the setup_intent.succeeded webhook is delayed or never reaches a local dev machine (no Stripe CLI forwarder running).

Request

Responses

OK