Skip to main content

PaymentMethodSetup

Stripe SetupIntent handle the browser uses to vault a card for auto-billing.

type PaymentMethodSetup {
externalCustomerId: String!
clientSecret: String
publishableKey: String
}

Fields​

PaymentMethodSetup.externalCustomerId ● String! non-null scalar​

Provider customer id (e.g. Stripe customer) the card is vaulted under.

PaymentMethodSetup.clientSecret ● String scalar​

SetupIntent client secret the browser confirms to vault the card.

PaymentMethodSetup.publishableKey ● String scalar​

Provider publishable key for the browser SDK.

Returned By​

setupSharedPaymentMethod mutation