Set Up Future Payment
A 2-step recipe with Stripe. We can help you get access.
Recipe · 2 steps
Set Up Future Payment
with Stripe
Works with AI assistants
Save a payment method for future off-session charges via a confirmed SetupIntent.
- Create a SetupIntent flagged for off-session usage, bound to the customer and payment method that will be saved.
- Confirm the SetupIntent to trigger any required SCA/3DS authorization and save the payment method for future off-session charges.
What you'll need to have ready
- customer: ID of the Customer the payment method is being saved for (e.g. cus_...).
- paymentMethod: ID of the PaymentMethod to save for future use (e.g. pm_card_visa).
- returnUrl: URL to redirect the customer to after any required authentication (e.g. https://example.com/setup/complete).
- description: Optional description for the SetupIntent.
For your developer
Arazzo workflow stripe:setup-future-payment, 2 operations: PostSetupIntents → PostSetupIntentsIntentConfirm. Specs on APIs.io.