What is payment reconciliation?

Payment reconciliation is the process of matching every payment in your own records, such as orders and ledger entries, against external records from payment gateways and banks, and investigating anything that doesn't match.

Also called payment gateway reconciliation, settlement reconciliation, three-way reconciliation, reconUpdated

Your system says an order was paid. The payment gateway says it captured the money. The bank says a lump sum arrived two days later, minus fees and tax. Payment reconciliation is the work of proving those three views agree, line by line, and finding the cases where they don't: a payment captured but the order marked failed, a refund the gateway processed twice, a settlement short by one transaction. At low volume someone does this in a spreadsheet. Past a few hundred payments a day it needs to be automated, because mismatches are normal and the costly ones are those found weeks later.

The three-way match

Most online businesses reconcile three sources:

  1. Internal records: orders, invoices and double-entry ledger transactions.
  2. Gateway or aggregator reports: every captured payment, refund, fee, tax and chargeback, and the settlement batch each belongs to.
  3. Bank statements: the actual credits to your account, each with a UTR (unique transaction reference) for NEFT, RTGS or IMPS transfers. The order is matched to the gateway transaction by payment ID. The gateway's settlement batch is matched to the bank credit by settlement ID, UTR and amount.

The reconciliation process

  1. Import gateway settlement files and bank statements automatically every day, by API or SFTP.
  2. Normalise formats: amounts to paise, dates to one time zone, and IDs to one field each.
  3. Match on reference IDs first, then on amount and date for anything left.
  4. Classify what's left as exceptions: missing internally, missing at the gateway, amount mismatch, unexpected fee or duplicate.
  5. Resolve each exception in a work queue with an owner, and record the reason and any adjusting ledger entry.
  6. Report match rates and the age of open exceptions.

Example: a day's settlement from a payment gateway

An online store's records show 412 successful payments on 18 November totalling ₹6,18,400 and two refunds of ₹3,200 in total. On 19 November the bank shows one credit of ₹6,01,248. The gateway's settlement report for the batch:

Line Amount (₹)
Captured payments (411) 6,16,900
Refunds −3,200
Gateway fees −10,720
GST at 18% on fees −1,929.60
Net settlement 6,01,050.40
Two breaks appear. First, the store has 412 payments and the gateway 411. The missing payment (₹1,500) was captured after the gateway's cut-off and appears in the next day's batch, so it goes into a "settles tomorrow" state. Second, the bank credit is ₹197.60 more than the report says. The finance team finds a fee reversal on a refund that the gateway credited but left out of this file. They post an adjusting entry and log the reason. Both items close within a day.

Common causes of mismatches

  • Timeouts where the gateway captured the payment but the app marked it failed. Query the gateway for final status, and handle duplicate webhooks idempotently.
  • Settlement cut-offs and T+1 or T+2 cycles that split one day's sales across batches.
  • Partial refunds, chargebacks and reversals arriving days later.
  • UPI transactions in a pending or deemed state that resolve later.
  • Fees, GST and TDS netted from settlements instead of invoiced separately.

Payment reconciliation in medical billing

In US healthcare, the same term means matching insurer payments to claims, usually using the electronic remittance advice (the X12 835 transaction) against expected amounts per claim and patient. We build reconciliation pipelines and exception queues for payment products. See how to design a payments ledger that reconciles.

Any idea in mind? Let's make it real.

Tell us what you're building. You'll hear back from an engineer, not a sales team, usually within one working day.

Book a 30-min call