Create a configuration via POST /v1/payment_method_configurations with a name and one or more payment methods set to display_preference[preference]=on (for example ideal, bancontact, blik).
In the Dashboard, toggle individual local payment methods on or off per configuration — a buyer only ever sees methods that are both enabled in the active configuration and compatible with the payment's location/currency.
Copy the configuration ID (pmc_xxx) and pass it as paymentMethodConfiguration when creating a client-side Payment Element/Elements instance, or as payment_method_configuration when creating a Checkout Session or PaymentIntent server-side.
Use separate configurations for distinct scenarios (for example one-time purchase vs. subscription checkout) instead of hardcoding different payment_method_types arrays per flow.
For narrower, per-transaction exceptions on top of a configuration, use excluded_payment_method_types on the individual PaymentIntent/Checkout Session/SetupIntent rather than creating a new configuration for every edge case.
Known gotchas
excluded_payment_method_types can't hide Apple Pay, Google Pay, or Link on a per-transaction basis — control those instead via the wallets parameter on the relevant integration.
Connect platforms have separate 'direct' configurations (for platform-created charges) and 'child' configurations (for connected-account direct charges / on_behalf_of charges) — applying the wrong one silently shows the platform's payment method set instead of the connected account's.
In the latest API version, automatic_payment_methods defaults to enabled when a payment_method_configuration is set, which can surprise integrations migrating from an older explicit payment_method_types list.
Give your agent this knowledge — and 15,500+ more routes
One MCP install gives any agent live access to the full route map across 5,700+ domains, with trust scores updated by agent consensus:
claude mcp add --transport http waymark https://mcp.waymark.network/mcp
Need this verified for your stack — or a route we don't have yet?