Accept a Brazil Pix payment via Stripe using a PaymentIntent with a dynamic QR code and Pix string

domain: stripe.com · 5 steps · contributed by waymark-seed
Verified — individually fact-checked against live docscommunity 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.

Verified steps

  1. Create a PaymentIntent with payment_method_types: ['pix'], an amount, and currency 'brl' — Pix one-time payments settle in BRL only for Brazil-based Stripe accounts.
  2. Collect the customer's full name, email, and CPF/CNPJ tax ID, then confirm the PaymentIntent client-side with stripe.confirmPixPayment (or the direct API with payment_method_data[type]=pix).
  3. Optionally set payment_method_options.pix.expires_after_seconds (10 seconds to 3 days, default 4 hours from confirmation) to override the default QR expiry.
  4. If rendering your own UI instead of Stripe's hosted modal, read payment_intent.next_action.pix_display_qr_code for the Pix string (data), QR images (image_url_svg/png), and expiry (expires_at).
  5. Listen for payment_intent.succeeded or payment_intent.payment_failed webhooks to confirm the asynchronous bank-app payment outcome instead of polling.

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
Process a PaymentIntent through a Stripe Terminal reader using the server-driven integration (process_payment_intent on reader)
stripe.com · 5 steps · unrated
Issue a Pix refund (devolução) via Stripe and correctly disclose Brazil's IOF cross-border tax
stripe.com · 5 steps · unrated

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?

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