Home / UPI Payment Gateway API for Websites
TRUST GATEWAY · UPI PAYMENTS

A UPI payment API built for a clear order flow.

Your server creates an order. Your customer pays at a hosted QR checkout. Your server checks the same order before it delivers a product or marks an invoice paid.

01CreateServer-side order
→
02CollectHosted UPI checkout
→
03ConfirmVerified business outcome
01 / WORKFLOW

Create one order

Use your private API key from the server with a price calculated from your product catalogue. Save the returned order ID, requested amount and exact payable amount against your own business order.

02 / WORKFLOW

Send customers to checkout

Use the returned hosted checkout URL. It shows the receiver, payment total, QR code and UPI app handoff. A QR scan or browser redirect does not mark an order paid.

03 / WORKFLOW

Confirm before fulfilment

Your backend reads the authenticated order status and checks the exact saved order ID and amount. Make the local fulfilment action idempotent so repeated status checks never issue a product twice.

BUILD WITH CONTEXT

Use the right reference for each step.

Trust Gateway is designed around saved orders and server-side verification. Start with the documentation, then use these practical guides while you implement your checkout.

COMMON QUESTIONS

Answers before you build.

Can a static website call the API directly?

Use a server or serverless function. A browser bundle must never contain a merchant API key.

Do I need a webhook?

No. An authenticated status check works as a recovery path; webhooks can notify your app sooner when configured.

How do I avoid duplicate delivery?

Store the gateway order ID with your own order and allow only one atomic transition from unpaid to fulfilled.

NEXT STEP

Test one complete order.

Create a controlled payment request, check the receiving identity, and confirm the same saved order before you use it with customers.

Open API docs ↗