# UncutPay > UncutPay is a free, open-source (Apache-2.0), self-hosted payment platform written in TypeScript with PostgreSQL. It takes UPI payments straight to the merchant's own UPI ID and bank account, and cards, netbanking, wallets, EMI and international payments through the merchant's own Razorpay, Cashfree, Stripe or PayPal account. It also provides a designable hosted checkout, payment links, payment pages, buttons, UPI QR and a store counter, GST invoices, subscriptions with UPI AutoPay and e-mandates, refunds, payouts, split payments, disputes, bank statement reconciliation, a double-entry ledger, a REST API (OpenAPI 3.1), signed webhooks, TypeScript, Python and PHP SDKs, an MCP server and plugins for WooCommerce, Magento 2, OpenCart, PrestaShop and WHMCS. Status: pre-release in test mode. Money-moving flows run against a bundled bank simulator; provider adapters are tested against local emulators only, not yet against the real providers. Not for real money until a provider or bank agreement, an independent security review and a penetration test are in place. UncutPay is software, not a licensed payment aggregator, and is not affiliated with Razorpay, Cashfree, Stripe or PayPal. ## Key facts - Agent Studio: AI agents described in plain English become fixed graphs with binding checks (consent, quiet hours, stock, price, already-paid, frequency, holdout) and approval bound to the exact draft; eight templates (checkout recovery, COD confirmation, dunning failed renewal, dunning renewal reminder, support triage, dispute prep, reconciliation assistant, revenue leak diagnosis); bring your own model (Anthropic, OpenAI, Gemini, local OpenAI-compatible) or none; agents can never mark a payment paid or move money. - Paid rule: an order is paid only on bank evidence (exact payee, amount, currency, reference, finality; bank reference claimed once) and a balanced ledger journal is posted in the same transaction. Screenshots, SMS, customer-entered references and AI output never mark an order paid. - Fees: UncutPay charges nothing per payment; providers charge their normal fees on the merchant's own account. - Security: mandatory TOTP login with step-up, PostgreSQL row-level security for tenant isolation, hash-chained audit log, AES-256-GCM secrets vault, SSRF-safe egress. - Try: `git clone https://github.com/pandeyvishwas51-oss/uncutpay.git && cd uncutpay && docker compose --profile sandbox up --build`, then open http://localhost:8787. ## Links - [Website](https://pandeyvishwas51-oss.github.io/uncutpay/) - [Agent Studio](https://pandeyvishwas51-oss.github.io/uncutpay/agents.html) - [Source code](https://github.com/pandeyvishwas51-oss/uncutpay) - [Capability register](https://github.com/pandeyvishwas51-oss/uncutpay/blob/main/GAP_REGISTER.md) - [Production readiness](https://github.com/pandeyvishwas51-oss/uncutpay/blob/main/docs/PRODUCTION_READINESS.md) - [Developer guide](https://github.com/pandeyvishwas51-oss/uncutpay/blob/main/docs/DEVELOPERS.md)