Reconciliation for Developers: Matching Orders, Payments and Settlements in India
Finance teams notice payment bugs long before developers do, usually at month end. Building reconciliation into your system early saves painful clean-ups. This post explains how to match orders, transactions and settleme
Finance teams notice payment bugs long before developers do, usually at month end. Building reconciliation into your system early saves painful clean-ups. This post explains how to match orders, transactions and settlements when you work with payment gateway solutions in India.
Key takeaways
- Reconciliation means matching three records: your order, the gateway transaction and the bank settlement.
- Store the gateway's transaction reference against every order.
- Expect timing gaps, refunds and adjustments; design for them.
- Use the provider's settlement reports rather than rebuilding them.
The Three-Way Match
- Order: what your system says the customer bought and should pay.
- Transaction: what the gateway says was paid, with a unique reference.
- Settlement: what actually reached your bank account, net of any deductions.
Every order should eventually match one or more transactions, and every transaction should appear in a settlement. Anything that doesn't match goes to an exceptions list.
Why things don't match
- A payment succeeded but your order status never updated.
- A refund was processed after the original settlement.
- Settlement happened in a later cycle than the order date.
- A customer paid twice for the same order.
Design choices that help
Save the transaction reference with each order, process status updates in a repeat-safe way, and import settlement reports on a schedule. Settlement frequency matters too: NTT DATA Payment Services India states that its e-commerce gateway offers hourly settlement cycles, and its merchant console lets merchants view and download settlement reports and transaction history. Its enterprise solutions also describe API integrations with ERP, CRM and billing systems.
Quick comparison
| Mismatch | Likely cause | Fix |
|---|---|---|
| Paid but order pending | Status update missed | Server-side status check |
| Settlement lower than sales | Refunds or deductions | Match against settlement report lines |
| Duplicate payment | Customer retried | Refund and add duplicate checks |
| Missing settlement | Later settlement cycle | Wait for the next cycle before escalating |
Frequently asked questions
What is payment reconciliation?
Matching your orders with gateway transactions and bank settlements so every rupee is accounted for.
How often should I reconcile payments?
Daily for busy businesses; at least weekly for smaller ones.
Should I build my own settlement reports?
Use your provider's reports as the source and import them, rather than recalculating.
Need help with settlement reporting at scale? Speak to NTT DATA Payment Services India.
Sources
Originally published by Dev.to WebDev. Aggregated on AIWithGhost for educational purposes — full credit and traffic to the original publisher.