Blog
Guides, tutorials, and payment engineering deep-dives.
190 Charges/s on 2-vCPU Nodes: Benchmarking a Payment Core Honestly
How we load-tested the MasonXPay payment core with open-model k6, a log-normal PSP latency simulator, and injected faults — and why the bottleneck analysis matters more than the headline number.
Route Policies: Change Payment Paths Without Shipping Code
A practical look at MasonXPay route policies: account-level steps, conditions, capability checks, dry-run simulation, and audited publishing.
Why MasonXPay Uses Postgres Read Models for Dashboard Search
MasonXPay keeps payment state authoritative in Postgres shards while using payment_read_models for fast merchant dashboard search and filters.
Subscriptions, Invoices, and Off-Session Payments in MasonXPay
How MasonXPay models recurring billing with merchant-owned customers, payment-method references, invoices, retry windows, and safe off-session payment attempts.
Scheduled Recovery: Retrying the Right Payment Work Later
MasonXPay separates immediate provider retry, route fallback, scheduled capture recovery, refund review, and invoice dunning so money movement stays controlled.
Testing Payment Operations Locally with Mason Simulator
Use Mason Simulator, the preview profile, Kafka workers, Redis hot path, Prometheus, Grafana, and k6 to test payment operations without external PSP sandboxes.
How to Manage Multiple Stripe Accounts with MasonXPay
Running multiple businesses or serving multiple merchants? Learn how to connect and manage multiple Stripe accounts through a single gateway, with intelligent routing and instant switching.