Instant Settlement APIs🔗
With Instant Settlements (earlier known as On-demand Settlement APIs), you get access to your funds as and when you want. Normally, you would receive settlements according to your settlement cycle. Razorpay Instant Settlements helps you reduce your settlement period from T+2 days (default settlement cycle) to a few minutes (from the time of the transaction), thus enabling your business to avoid cash-flow challenges and prepare better for working capital requirements.
Benefits of Instant Settlements
- Easy and early access to your money.
- Reduction in daily cash crunch and increased cash flows.
- Better management of inventory and stock.
- Payments to creditors and vendors without any delays.
Feature Request
This is an on-demand feature. Please raise a request with our Support team to get this feature activated on your Razorpay account.
You can try out our APIs on the Razorpay Postman Public Workspace.
Create an Instant Settlement🔗
Use the below endpoint to create an Instant Settlement:
Request Parameters🔗
amountmandatoryintegerThe amount, in paise, you want settled to your account.settle_full_balanceoptionalbooleanPossible values:true- Razorpay will settle the maximum amount possible. Values passed in theamountparameter will be ignored.false(default) - Razorpay will settle the amount requested in theamountparameter.
descriptionoptionalstringMaximum length 30 characters. Allowed characters: a-z, A-Z, 0-9 and space. This is a custom note you can pass for the instant settlement for your reference. For example,Need this to make vendor payments.notesoptionalobjectKey-value pair that can be used to store additional information about the entity. Maximum 15 key-value pairs, 256 characters (maximum) each. For example,"note_key": "Beam me up Scotty”.
Response Parameters🔗
id-
stringUnique identifier for the instant settlement. For example,setlod_FNj7g2YS5J67Rz. entity-
stringHere it issettlement.ondemand. amount_requested-
integerThe settlement amount, in paise, requested by you. For example,200000. amount_settled-
integerTotal amount (minus fees and tax), in paise, settled to the bank account. For example,199410. amount_pending-
integerPortion of the requested amount, in paise, yet to be settled to you. amount_reversed-
integerPortion of the requested amount, in paise, that was not settled to you. This amount is reversed to your PG current balance. fees-
integerTotal amount (fees+tax), in paise, deducted for the instant settlement. For example,590. tax-
integerTotal tax, in paise, charged for the fee component. For example,90. currency-
stringThe 3-letter ISO currency code for the settlement. Here it isINR. settle_full_balance-
booleanPossible values:true- Razorpay will settle the maximum amount possible. Values passed in theamountparameter will be ignored.false(default) - Razorpay will settle the amount requested in theamountparameter.
status-
stringStatus of the instant settlement. Possible values:created- The instant settlement request has been created.initiated- The instant settlement process has been initiated.partially_processed- The instant settlement is being processed.processed- The instant settlement has been processed and the amount has been transferred to your bank account.reversed- The instant settlement could not be processed for some reason and the amount has been transferred back to your PG balance.
description-
stringThis is a custom note you can pass for the instant settlement for your reference. For example,Need this to make vendor payments. notes-
objectKey-value pair that can be used to store additional information about the entity. Maximum 15 key-value pairs, 256 characters (maximum) each. For example,"note_key": "Beam me up Scotty”. created_at-
integerThe Unix timestamp at which the instant settlement was created. For example,1596771429. ondemand_payouts-
objectList of payouts created for the instant settlement.entity-
stringHere it iscollection. count-
integerThe number of items in the array. For example,1. items-
arrayList of payouts created for the instant settlement.idstringUnique identifier for the payout. For example,setlodp_FNj7g2cbvw8ueO.entitystringHere it issettlement.ondemand_payout.initiated_atintegerThe Unix timestamp at which the payout was initiated. For example,1596771430.processed_atintegerThe Unix timestamp at which the payout was processed. For example,1596778752.reversed_atintegerThe Unix timestamp at which the payout was reversed. For example,1596778752.amountintegerThe amount, in paise, settled through this payout. For example,200000.amount_settledintegerAmount (minus fees and tax), in paise, settled through this payout. For example,199410.feesintegerAmount (fees+tax), in paise, deducted for this payout. For example,590.taxintegerTax charged, in paise, for the fee component. For example,90.utrstringThe unique transaction number linked to a payout.statusstringStatus of the payout. Possible values:created- The payout has been created.initiated- The payout is initiated.processed- The payout has been processed. The amount has been transferred to your bank account.reversed- The payout has been reversed. The amount has been transferred back to your PG balance.
created_atintegerThe Unix timestamp at which the payout was created.
Fetch All Instant Settlements🔗
Use the below endpoint to fetch details of all Instant Settlements. Use the expand[]=ondemand_payouts query parameter to fetch payout details as part of the response.
Query Parameters🔗
expand[]=ondemand_payoutsoptionalstringPass this if you want to fetch payout details as part of the response.fromoptionalintegerUnix timestamp (in seconds) from when instant settlements are to be fetched.tooptionalintegerUnix timestamp (in seconds) till when instant settlements are to be fetched.countoptionalintegerNumber of instant settlement records to be fetched. Default value is 10. Maximum value is 100. This can be used for pagination, in combination withskip.skipoptionalintegerNumber of instant settlement records to be skipped. Default value is 0. This can be used for pagination, in combination withcount.
Fetch Instant Settlements by ID🔗
Use the below endpoint to fetch details of a particular Instant Settlement. Use the expand[]=ondemand_payouts query parameter to fetch payout details as part of the response.
Path Parameter🔗
setlod_idstringUnique identifier for the instant settlement. For example,setlod_FNj7g2YS5J67Rz.
Query Parameters🔗
expand[]=ondemand_payoutsoptionalstringPass this if you want to fetch payout details as part of the response.