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:manage
createStripeSetupIntent(
  input: CreateStripeSetupIntentInput!
): CreateStripeSetupIntentPayload!

Arguments

ArgumentTypeDescription
inputCreateStripeSetupIntentInput!The payment method families the SetupIntent may save.

Return type

CreateStripeSetupIntentPayload!