2026-09-12
India Payment Gateway Integration: APIs, Callbacks, and Reconciliation
Practical integration steps for India payments—create order, verify callbacks, query status, and close the daily reconciliation loop.
Gateway integrationTurning “we can collect money” into “we collect reliably” comes down to integration quality. This guide covers the minimum closed loop for India: API order creation, callbacks, status query, and reconciliation—aimed at teams building an India payment system.
Before you integrate
- Channel merchant ID, keys, sandbox vs production
- Public HTTPS callback URL on your servers
- Order ID rules and idempotency keys
- Definitions for success, failure, and processing states
Recommended integration sequence
- Create payment via API and receive launch parameters or redirect URL
- User completes payment (UPI, wallet, etc.)
- Async callback: verify signature → update order state
- Active query: compensate when callbacks are lost
- Reconciliation file/report: end-of-day matching
UPI-specific behavior is covered in UPI explained.
Five engineering must-haves
- Reject callbacks that fail signature verification
- Audit every state transition
- Duplicate callbacks must not double-settle or double-ship
- Timeout orders need a scheduled query/repair job
- Map granular failure codes so product can improve conversion
How this fits the wider stack
Gateway integration is only one layer. Multi-merchant and multi-channel setups need platform capabilities—see four-party payment platforms or Products.
For integration support and architecture review, contact @Yeavan on Telegram.
