Available in🇮🇳 India
Reconciliation is matching each order, payment and refund in your records to the settlement that Razorpay credits to your bank account. This page is for developers and finance teams who need to trace a transaction from the order to the bank credit. It shows which ID links which record, how the settled amount is calculated, and how to reconcile with the Settlement Recon API or with Dashboard reports.
How the IDs link together
Every record carries the ID of the record before it. Store these IDs against your own order records so that you can match each row in a settlement.
Recon rows can also be of type
transfer or adjustment, and each row has a dispute_id field for the dispute, if any, on that transaction.
From order to settlement
- Order: You create an order. The
receiptyou pass is the receipt number that corresponds to the order in your system. Know more about order states. - Payment: The customer pays against the order, and the payment carries the
order_id. After the payment is captured successfully, the order moves to thepaidstate. Acapturedpayment is settled to your account as per the settlement schedule. Know more about the payment life cycle. - Refund: If you refund a payment, the refund carries the
payment_idof the payment for which it was initiated. Refunds you issue to your customers are deducted from the settlement. The order continues to be in thepaidstate even if the payment is refunded. - Settlement: Razorpay automatically settles your captured payments on your settlement cycle. There is no “create settlement” call. Each settlement generated has a unique settlement id and the amount settled, and its status is
created,processedorfailed. - Bank credit: The settlement has a Unique Transaction Reference (UTR) number, which you can use to track that settlement in your bank account.
How the settled amount is calculated
A settlement is the net amount credited to your bank account, not the gross payment you collected. Amount settled = Payment ± Adjustment - Refunds - Fee - Tax - Transfer- Payment: the gross payment amount being settled, before deductions.
- Adjustment: adjustments to transactions, which can be a credit or a debit.
- Refunds: refunds you have issued to your customers, deducted from the settlement.
- Fee: Razorpay’s fee for the transactions, excluding GST.
- Tax: GST charged on the Razorpay fee.
- Transfer: transfers (payouts) made to your linked accounts, if any.
To see this break-up for a settlement, check the settlements break-up on the Dashboard.
Reconcile with the Settlement Recon API
The Settlement Recon API returns a list of all transactions, such as payments, refunds, transfers and adjustments, settled to your account on a particular day or month.-
Subscribe to the
settlement.processedwebhook and verify the webhook signature on every event before acting on it. Know how to validate webhooks. -
Fetch your settlements periodically with Fetch All Settlements. Only successful settlements fire a webhook. A
failedsettlement sends no event, so this is how you detect settlements that did not reachprocessed. -
Call the recon API for the date you want to reconcile.
yearandmonthare required.dayis optional; omit it to reconcile the whole month.The following sample from the API reference fetches the recon details for a particular day:Curl -
Page through the response with
countandskipto avoid missing rows when there are many transactions.countaccepts values from1to1000. -
Match each row to your records. The response returns one row per transaction, each carrying the
settlement_idand the settlement UTR. Reconcile bysettlement_idand date against your records. -
Fetch the settlement with Fetch Settlement With ID to get its
amount,status,fees,taxandutr.
Recon rows appear as soon as the settlement is
created, so the UTR can be empty until the settlement is processed. Amounts are in the smallest currency unit (paise).
For the full response and the error list, see the Settlement Recon API reference.
Reconcile with Dashboard reports
If you do not use the API, download reports from the Dashboard. These reports can be used for accounting and reconciliation purposes.
To download a report:
- Log in to the Dashboard and click Reports.
- Click Download Report.
- Click What report is this? to select the report type and format.
- To select the time frame of the report, click What will you receive in this report?.
- Click Yes on the Do you want this report in an email? section to add the email recipients with whom you want to share the report and click Start Download.
- Track the status and download the report in the Downloads section.