Marketplace API / Types

MarketplacePaymentsConfig

Object

Payment capabilities.

type MarketplacePaymentsConfig

Fields

FieldTypeDescription
canManageSavedPaymentMethodsBoolean!
Whether saved payment methods can be removed through the legacy path. Prefer canRemoveSavedPaymentMethod, which covers removeStripePaymentMethod. This field stays for clients that have not moved yet.
canRemoveSavedPaymentMethodBoolean!
Whether removeStripePaymentMethod is available. When false, hide the remove affordance.
canSetDefaultSavedPaymentMethodBoolean!
Whether updateDefaultStripePaymentMethod is available. When false, hide the set-default affordance.
enabledBoolean!
Whether checkout is available.
hasDistrictBuyerProtectionBoolean!
Whether purchases are covered by District Buyer Protection.
livemodeBoolean!
Whether a new checkout moves real money. When false, show a test-mode notice and expect test cards and PayPal sandbox accounts.
paypalMarketplacePaypalConfig!
PayPal checkout configuration.
stripePublishableKeyString
Publishable key for initialising Stripe.js against this storefront's Stripe account. Null when Stripe payments are unavailable.
supportedSetupIntentPaymentMethodTypes[StripeSetupIntentPaymentMethodType!]!
The payment method families createStripeSetupIntent accepts. Empty when no method can be saved. Hide the add affordance for families not listed.
useLegacyCheckoutBoolean!
Whether storefront clients should use the legacy checkout experience.
venmoMarketplaceVenmoConfig!
Venmo checkout configuration.

Returned by