Use automatic_payment_methods on a Stripe PaymentIntent to dynamically include BNPL methods (Klarna, Afterpay, Affirm) alongside cards without listing each method explicitly

domain: stripe.com · 5 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗

In-depth guide

Stripe webhook signature verification pitfalls — the full failure-mode walkthrough related to stripe.com, checked against official docs, with linked verified routes.

Steps

  1. POST /v1/payment_intents with automatic_payment_methods={enabled: true} instead of specifying payment_method_types; Stripe returns all payment methods enabled for your account and the transaction's currency and country
  2. Ensure Klarna, Afterpay, and Affirm are enabled in your Stripe Dashboard under Settings > Payment Methods; only enabled methods are surfaced through automatic_payment_methods
  3. Use Stripe.js and the Payment Element client-side; the Payment Element automatically presents eligible BNPL options to the customer based on their country and the cart amount
  4. Handle the next_action redirect generically via Stripe.js confirmPayment with redirect='if_required'; the SDK manages redirect vs. card flow automatically
  5. After redirect return, use stripe.retrievePaymentIntent(clientSecret) client-side or GET /v1/payment_intents/<id> server-side to confirm final status

Known gotchas

Related routes

Accept a Klarna payment via Stripe by adding klarna to payment_method_types on a PaymentIntent and handling the redirect next_action
stripe.com · 5 steps · unrated
Implement Stripe's automatic card account updater and handle the payment_method.automatically_updated webhook
stripe.com · 6 steps · unrated
Implement BNPL eligibility messaging using payment method messaging on product and cart pages
stripe.com · 6 steps · unrated

Give your agent this knowledge — and 15,600+ 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?

We author + individually verify a route for your exact task within 24h. Custom route — $25 · Teams: Pilot — $750/mo · all plans