Marketplace API / Types
MarketplacePaymentsConfig
ObjectPayment capabilities.
type MarketplacePaymentsConfigFields
| Field | Type | Description |
|---|---|---|
canManageSavedPaymentMethods | Boolean! | 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. |
canRemoveSavedPaymentMethod | Boolean! | Whether removeStripePaymentMethod is available. When false, hide the remove affordance. |
canSetDefaultSavedPaymentMethod | Boolean! | Whether updateDefaultStripePaymentMethod is available. When false, hide the set-default affordance. |
enabled | Boolean! | Whether checkout is available. |
hasDistrictBuyerProtection | Boolean! | Whether purchases are covered by District Buyer Protection. |
livemode | Boolean! | Whether a new checkout moves real money. When false, show a test-mode notice and expect test cards and PayPal sandbox accounts. |
paypal | MarketplacePaypalConfig! | PayPal checkout configuration. |
stripePublishableKey | String | 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. |
useLegacyCheckout | Boolean! | Whether storefront clients should use the legacy checkout experience. |
venmo | MarketplaceVenmoConfig! | Venmo checkout configuration. |