Open source · Apache-2.0 · pre-release, test mode

The open-source Razorpay and PayPal you host yourself

Take UPI straight into your own bank account, cards and wallets through your own payment provider, and run checkout, links, invoices, subscriptions, refunds, payouts and your books in one place. No per-payment fee from us, ever.

UncutPay admin home: collected amount verified by the bank, success rate, payments waiting for the bank, refunds and payouts

Paid means the bank said so

Most payment bugs start with trusting the wrong signal. UncutPay marks an order paid only on bank evidence, and books it in the same database transaction.

  1. The buyer pays your UPI ID (or your provider's checkout) with the exact amount and an order reference.
  2. UncutPay checks the bank's answer: payee, exact amount, currency, reference and finality, and claims that bank reference once.
  3. Only then is the order paid, with a balanced double-entry journal posted in the same transaction.

Never enough on its own

  • A QR code being shown
  • An SMS or a screenshot
  • A reference number the customer typed
  • A webhook without a status check
  • Anything an AI model says

Everything around the money, in one place

The parts you usually rent from a gateway's dashboard, as software on your own server.

UPI to your own bank

A QR and app link that pay your UPI ID, matched against your bank statement. No platform cut.

Your own provider

Cards, netbanking, wallets, EMI and international payments through your Razorpay, Cashfree, Stripe or PayPal account.

Checkout studio

Design your hosted checkout for phone, tablet and desktop with contrast checks, then publish.

Links, pages, QR, counter

Payment links and pages, buttons for any site, UPI QR and a store counter mode.

Invoices and subscriptions

GST invoices, subscriptions and dunning, UPI AutoPay and e-mandates through your provider.

Refunds, payouts, disputes

Maker-checker approvals, split payments, chargebacks synced from your provider.

Reconciliation and ledger

Import or pull bank statements, match every line, and keep a balanced double-entry ledger.

Developer platform

REST API with OpenAPI 3.1, signed webhooks with every attempt kept and one-click resend, TypeScript, Python and PHP SDKs, MCP server.

Store plugins

WooCommerce (tested in a real WordPress in CI), plus Magento 2, OpenCart, PrestaShop and WHMCS.

Agent Studio: describe an agent in plain English and see what it understood, with the rules it always enforces

Agent Studio: AI agents you can read and approve

Describe an agent in plain English: "recover failed checkouts after 30 minutes if they opted in, no coupon, stop when paid". It becomes a fixed graph with checks that always run, and every message waits for your approval.

Eight templates ship today: checkout recovery, COD confirmation, two dunning agents, support triage, dispute prep, a reconciliation assistant and revenue leak diagnosis. An agent can never mark a payment paid or move money. Explore Agent Studio.

Built like a bank would want

Mandatory authenticator-app login for every admin, step-up for sensitive actions, tenant isolation enforced by PostgreSQL row-level security, an append-only audit log you can verify, and secrets sealed with AES-256-GCM.

Outbound calls go through an SSRF-safe client; every API request is logged with secrets redacted; idempotency keys detect mismatched retries.

UncutPay transactions: verified paid, waiting for bank, needs review and failed payments with bank verification times
UncutPay checkout studio: layers, a phone preview of the hosted checkout and brand colours with contrast ratios

A checkout that looks like your brand

Pick colours, type, motion and copy; the studio checks contrast as you go and compiles a fast, escaped static page with a strict content security policy.

Prefer your own page? Use the Checkout.js modal, a payment button, or the API.

Exactly what works today

Every capability has a status in the repository's register, generated from code. Nothing has touched real money yet.

88tested by automated tests 22working against simulators and emulators 6specified 10not started

Before any real money

  • Everything that moves money runs against a bundled bank simulator (test mode).
  • The Razorpay, Cashfree, Stripe and PayPal adapters are tested against local emulators of their APIs, not yet against the providers.
  • Live payments need a provider or bank agreement, an independent security review and a penetration test. See the production readiness guide.

Full register: GAP_REGISTER.md · test evidence: EVIDENCE_REPORT.md

Try it in two minutes

Test mode on your machine: a sandbox bank, no real money, no API keys.

git clone https://github.com/pandeyvishwas51-oss/uncutpay.git && cd uncutpay
docker compose --profile sandbox up --build

Open http://localhost:8787, create the owner account, scan the QR with an authenticator app and follow the setup guide. For a server with HTTPS, run ./install.sh: it sets up Caddy, PostgreSQL and nightly backups. Self-hosting guide.

Questions

Is UncutPay free?

Yes. It is open source under Apache-2.0, with no paid edition and no per-payment fee from UncutPay. If you use Razorpay, Cashfree, Stripe or PayPal, that provider charges its normal fees on your own account.

Is it a payment gateway or payment aggregator?

No. It is software, not a licensed payment aggregator, and it never holds money. Payments go straight to your bank or through a licensed provider on your own account.

How does UPI direct to my bank work?

The buyer pays your own UPI ID with the exact amount and an order reference. The order turns paid only on bank evidence: a matching statement line confirmed by a person with a fresh authenticator code, or a bank-signed status from an integrated bank (live bank integrations are not built yet). Any charges your bank sets for your account still apply.

Can I use it with real money today?

Not yet. It runs in test mode against a bundled bank simulator, and the provider adapters are tested against local emulators only. Live use also needs a provider or bank agreement, a security review and a penetration test.

Is it a Razorpay or PayPal clone?

It covers the same kind of work as software you host, and can use those providers underneath for cards and wallets. It is independent code and not affiliated with Razorpay or PayPal.

Can my AI agents use it?

Yes: it ships an MCP server and SDKs. Optional agents for customer messages, cart recovery and dispute preparation use your own model key, and every outgoing message waits for your approval. An AI answer can never mark a payment paid.