UPI Gateway
Self-hosted · Multi-merchant · Open API

UPI payments that never hit a limit.

Collect UPI payments across every merchant you serve. Rotate orders across multiple UPI accounts with configurable strategies, verify payments automatically, and notify merchants with signed webhooks. All on infrastructure you control.

5
rotation strategies
<1s
order creation
0%
funds held by platform
dashboard · live

Today

₹4,82,350

+18.2%

Success rate

97.4%

+1.1%

Pending

23

live

Account rotationRound robin · on
Primary · HDFC72% of daily limit
Ops · ICICI48% of daily limit
Reserve · SBI15% of daily limit
POST /api/v1/orders 201 Created { "id": "ORD7K2M9…", "status": "pending", "payment_account": { "label": "Ops · ICICI" } }

order.paid

webhook delivered · 212 ms

Works with Google PayPhonePePaytmBHIMAmazon PayAny UPI app

Everything a gateway needs

Built for operators who serve many merchants.

Each merchant gets isolated accounts, keys, webhooks and a dashboard. You get one admin console, platform-wide controls and an audit trail of everything.

Multi-merchant by design

Separate merchants, owners and staff. Per-merchant limits, keys, webhooks and allowed redirect domains, with admin oversight across all of them.

Configurable account rotation

Round robin, weighted, least-used, random or priority failover. Platform switch, per-merchant entitlement and merchant toggle: on or off at any time.

Automatic verification

PhonePe PG and Paytm PG hosted checkout with signed status checks, Paytm for Business polling, and a manual UTR review flow for plain UPI IDs.

Signed webhooks that retry

Timestamped HMAC-SHA256 signatures, per-endpoint secrets, event subscriptions, SSRF protection and exponential-backoff retries with a full delivery log.

Developer-grade API

Hashed API secrets, scopes, IP allowlists, Idempotency-Key, cursor pagination, rate-limit headers and a live sandbox with simulated outcomes.

Hosted checkout

Beautiful mobile-first payment page with dynamic QR, one-tap UPI intents for GPay / PhonePe / Paytm, live status polling and merchant redirects.

Account rotation, your way

Spread volume across accounts. Switch it off whenever you like.

Rotation is a three-level switch, so you can sell it as a feature: a platform master flag, a per-merchant entitlement you grant, and a toggle the merchant controls. Every routing decision is logged with the candidates considered and why each was skipped.

  • ✓

    Round robin

    Even spread of order count across eligible accounts.

  • ✓

    Weighted

    Proportional distribution; give bigger accounts more weight.

  • ✓

    Least used today

    Always route to the account with the most daily headroom.

  • ✓

    Priority failover

    Fill the primary account first, fail over only on limits or outages.

  • ✓

    Random

    Uniform random pick across eligible accounts.

Rotation is intended for legitimate load distribution and redundancy across a merchant's own registered business accounts. It must not be used to evade bank or regulatory limits.

Guard rails per account

Daily & monthly limits

Reserved the moment an order is created, released on expiry.

Per-transaction min / max

Route small and large tickets to different accounts.

Max open orders

Cap concurrent pending orders per account.

Health & cooldown

Repeated provider failures pause an account automatically.

Sticky customers

Keep a returning customer on the same account.

Explicit override

Pass payment_account_id to pin an order; validated strictly.

// rotation decision, stored for every order { "strategy": "least_used", "reason": "selected", "candidates": [ { "label": "HDFC", "remaining_today": 12000, "skipped": null }, { "label": "SBI", "remaining_today": 0, "skipped": "daily_limit" } ] }

Developers first

Three calls to go live.

  1. 1

    Create an order

    POST /api/v1/orders with the amount and your own order id. You get a hosted payment URL and a UPI intent.

  2. 2

    Send the customer to pay

    Redirect to payment_url or render the upi_intent in your own UI. Status is verified server-side.

  3. 3

    Receive the webhook

    order.paid arrives signed with your endpoint secret. Verify the signature, fulfil the order, return 2xx.

Explore the full reference
curl -X POST https://www.repohsc.com/api/v1/orders \
  -H "X-Api-Key: pk_live_…" -H "X-Api-Secret: sk_live_…" \
  -H "Idempotency-Key: inv-1001" -H "Content-Type: application/json" \
  -d '{
    "amount": 499.00,
    "client_order_id": "INV-1001",
    "customer_ref": "cust_42",
    "redirect_url": "https://shop.example.com/thanks"
  }'

Hashed API secrets

Secrets are shown once and stored hashed. Rotate or revoke in one click.

Replay-safe webhooks

Timestamped signatures with a 5-minute tolerance and unique event IDs.

SSRF-guarded URLs

Webhook and redirect targets are validated and pinned at send time.

Full audit trail

Every admin and merchant action is recorded with actor, IP and diff.

Ready to take UPI payments at scale?

Create a merchant account, grab sandbox keys and send your first test payment in minutes.