Intelligent routing
Weighted share, success-rate floor, TPS caps, and circuit breakers on every decide.
SwcPay is a production routing engine for merchants who already have Razorpay, PayU, Cashfree, PhonePe, Easebuzz, and more. We decide the gateway. You execute on your own keys. No KYC. No settlement in the middle.
Keep your gateway contracts, pricing, and settlement. SwcPay sits in front of them and chooses the live MID for each pay-in or payout.
Weighted share, success-rate floor, TPS caps, and circuit breakers on every decide.
Stop a MID at its calendar-day volume (Asia/Kolkata) before the PSP does it for you.
Same-user → same-MID repeats, same-amount cooldown, and anti-concentration when ops enable them.
If your PSP call never left, decide again with that gateway in excludedGateways.
Report SUCCESS / FAILED / TIMEOUT so the next decision sees real health, not guesses.
Routing-only accounts skip KYC. SwcPay still reviews and activates the merchant.
Your server posts amount, method, and payer identity. SwcPay returns gateway + MID.
Initiate with your own keys on selectedGateway and gatewayProvidedMid.
The PSP talks to you. SwcPay does not take payment webhooks on this plan.
POST the decision id with SUCCESS, FAILED, or TIMEOUT so circuits and SR stay honest.
# you charge RAZORPAY with acc_MZ9k… { "decision": "ROUTED", "selectedGateway": "RAZORPAY", "gatewayProvidedMid": "acc_MZ9k…", "internalMid": "GW-AB12CD3-01", "decisionId": "b3f1c2a0-…" }
HTTP 422 means do not collect. HTTP 503 means the engine failed closed — do not pick a random gateway.
Bind your DNS to these names. The marketing site is this page. The console issues keys. The API is server-to-server only.
| Routing-only | Full-platform | |
|---|---|---|
| Who charges the customer | You | SwcPay |
| KYC | Not required | Required before activation |
| API | /api/v1/routing/** |
Payments, UPI, refunds, webhooks + routing |
| Settlement | Your PSP | SwcPay ledger + recon |
Sign in to the merchant dashboard, create an API key, and call decide from your server. Secrets are shown once. Never put them in a browser app.