Accept an OXXO cash voucher payment via Stripe and handle voucher expiration

domain: docs.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 docs.stripe.com, checked against official docs, with linked verified routes.

Steps

  1. Create and confirm a PaymentIntent (or Checkout Session) with oxxo included in payment_method_types; Stripe returns a next_action of type oxxo_display_details
  2. Set payment_method_options.oxxo.expires_after_days to control how many calendar days the voucher stays valid — accepted values are 1 to 7, defaulting to 3 if unset
  3. Read next_action.oxxo_display_details.hosted_voucher_url for the page where the customer can view/print their barcode, and .number for the OXXO reference number
  4. The voucher expires at 23:59 America/Mexico_City time on its expiration date — check next_action.oxxo_display_details.expires_after (a Unix timestamp) rather than computing a fixed day offset yourself
  5. Listen for the payment_intent.succeeded webhook to confirm payment, since OXXO is a delayed-notification method and the PaymentIntent can remain in a pending/requires_action state for however long the customer takes to visit a store

Known gotchas

Related routes

Accept a Konbini convenience-store payment via Stripe and manage the voucher expiration window
docs.stripe.com · 5 steps · unrated
Accept a Boleto Bancário voucher payment via the Adyen API and handle its due-date expiration
docs.adyen.com · 5 steps · unrated
Handle Agentic Commerce Protocol Shared Payment Token (SPT) expiration by detecting a near-expiry allowance window and re-invoking Create Checkout to mint a fresh token before an agent's session stalls
docs.stripe.com · 6 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