Marketplace API / Mutations
createStripeSetupIntent
Creates a Stripe SetupIntent for saving a payment method for reuse at checkout. Confirm it client-side with Stripe.js initialised with the storefront's stripePublishableKey; the confirmed method then appears in Viewer.stripePaymentMethods.
Requires a client key with one of these scopes:
checkout:payments:manage checkout:paymentMethods:managecreateStripeSetupIntent(
input: CreateStripeSetupIntentInput!
): CreateStripeSetupIntentPayload!Arguments
| Argument | Type | Description |
|---|---|---|
input | CreateStripeSetupIntentInput! | The payment method families the SetupIntent may save. |