Skip to content
Create account
or
Sign in
The Stripe Docs logo
/
Ask AI
Create account
Sign in
Get started
Payments
Finance automation
Platforms and marketplaces
Money management
Developer tools
Get started
Payments
Finance automation
Get started
Payments
Finance automation
Platforms and marketplaces
Money management
Overview
About Stripe payments
Upgrade your integration
Payments analytics
Online payments
OverviewFind your use caseManaged Payments
Use Payment Links
Build a checkout page
Build an advanced integration
Build an in-app integration
Payment Methods
Add payment methods
Manage payment methods
    Payment method support
    Payment method support for platforms and marketplaces
    Register payment method domains
    Dynamic payment methods
    Dynamic payment methods
    A/B testing payment methods
    Payment method rules
    Payment method configurations
Faster checkout with Link
Payment interfaces
Payment Links
Checkout
Web Elements
In-app Elements
Payment scenarios
Custom payment flows
Flexible acquiring
Orchestration
In-person payments
Terminal
Other Stripe products
Financial Connections
Crypto
Climate
HomePaymentsManage payment methods

Payment method configurations

Create different sets of payment methods to display to customers based on specific checkout scenarios.

Copy page

Payment method configurations allows dynamic payment method users to display different sets of payment methods to customers for specific checkout scenarios.

You can create a configuration to:

  • Display a unique set of payment methods for certain products
  • Enable a set of payment methods for your one-off payment checkout flow and a different set of payment methods for your subscription checkout flow
  • Connect Offer connected accounts access to additional payment methods for a different subscription fee

After you create a payment method configuration, you can toggle each payment method on or off for a given scenario directly in Dashboard – no code required. Then at checkout, select which configuration you want to use. Stripe ranks the payment methods that are enabled within that configuration to optimise for conversion.

Before you begin

  • You must use either the Stripe Payment Element or Checkout.
  • You must use Dynamic payment methods to enable additional payment methods from the Stripe Dashboard, which won’t require any code changes.
    • To set up dynamic payment methods for direct users, see the payment method integration guide.
    • Connect To set up dynamic payment methods for Connect platforms, see Upgrading to dynamic payment methods.

Create a payment method configuration

By default, you have one payment method configuration called Default Config. You can create additional payment method configurations using both the Stripe Dashboard and the API.

  1. In your Dashboard, go to Payment methods settings.
  2. In the Configuration Management section, click the overflow menu (), then select Create a configuration.
  3. Give your new configuration a name.
  4. Click Save configuration.
Payment method configuration page

The page displays your new configuration. All payment methods are initially disabled by default.

To switch between configurations, use the Select configuration dropdown near the top of the page.

Enable payment methods

In the Dashboard, open the configuration and turn on the payment methods that you want to make available to buyers when using that configuration. A buyer sees only payment methods that are turned on and compatible with the payment location and currency.

Note

Some payment methods don’t show edit controls until you expand them.

Display available payment methods in checkout

Copy the configuration ID in the Dashboard from the configuration you want to use in your checkout flow.

If you’re using the deferred intent creation integration path, pass the payment_method_configuration ID when you create your Payment Element component. The Payment Element automatically pulls the payment methods associated with that configuration and ranks them to best convert buyers.

const options = { mode: 'payment', amount: 1099, currency: 'usd', payment_method_configuration: 'pmc_234' }

If you aren’t using a Payment Element, pass the payment_method_configuration ID when you create a Checkout session.

Command Line
cURL
curl https://api.stripe.com/v1/checkout/sessions \ -u "
sk_test_BQokikJOvBiI2HlWgH4olfQ2
:"
\ -d mode=payment \ -d "line_items[0][price]"=
{{PRICE_ID}}
\ -d "line_items[0][quantity]"=1 \ --data-urlencode success_url="https://example.com/success" \ --data-urlencode cancel_url="https://example.com/cancel" \ -d currency=usd \ -d payment_method_configuration=pmc_234

Payment methods

By default, Stripe enables cards and other common payment methods. You can turn individual payment methods on or off in the Stripe Dashboard. In Checkout, Stripe evaluates the currency and any restrictions, then dynamically presents the supported payment methods to the customer.

To see how your payment methods appear to customers, enter a transaction ID or set an order amount and currency in the Dashboard.

You can enable Apple Pay and Google Pay in your payment methods settings. By default, Apple Pay is enabled and Google Pay is disabled. However, in some cases Stripe filters them out even when they’re enabled. We filter Google Pay if you enable automatic tax without collecting a shipping address.

Checkout’s Stripe-hosted pages don’t need integration changes to enable Apple Pay or Google Pay. Stripe handles these payments the same way as other card payments.

Create a PaymentIntent with the configuration

Create a PaymentIntent on your server using the payment method configuration.

Command Line
cURL
curl https://api.stripe.com/v1/payment_intents \ -u "
sk_test_BQokikJOvBiI2HlWgH4olfQ2
:"
\ -d amount=1000 \ -d currency=usd \ -d "automatic_payment_methods[enabled]"=true \ -d payment_method_configuration=pmc_123

In the latest version of the API, the automatic_payment_methods parameter is optional because it’s enabled by default.

Was this page helpful?
YesNo
Need help? Contact Support.
Join our early access programme.
Check out our changelog.
Questions? Contact Sales.
LLM? Read llms.txt.
Powered by Markdoc