Instant Settlements
Fetch All Instant Settlements
Fetch All Instant Settlements using Razorpay Payments API.
GET
Use this endpoint to retrieve the details of all Instant Settlements.
Response Parameters
string
The unique identifier of the instant settlement transaction. For example,
setlod_FNj7g2YS5J67Rz.string
Indicates the type of entity. Here it is
settlement.ondemand.integer
The settlement amount, in paise, requested by you. For example,
200000.integer
Total amount (minus fees and tax), in paise, settled to the bank account. For example,
199410.integer
Portion of the requested amount, in paise, yet to be settled to you.
integer
Portion of the requested amount, in paise, that was not settled to you. This amount is reversed to your PG current balance.
integer
Total amount (fees+tax), in paise, deducted for the instant settlement. For example,
590.integer
Total tax, in paise, charged for the fee component. For example,
90.string
The 3-letter ISO currency code for the settlement. Here it is
INR.boolean
Possible values:
true: Razorpay will settle the maximum amount possible. Values passed in theamountparameter are ignored.false(default): Razorpay will settle the amount requested in theamountparameter.
string
Indicates the state 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.
string
This is a custom note you can pass for the instant settlement for your reference. For example,
Need this to make vendor payments..object
Key-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”.integer
Unix timestamp at which the instant settlement was created. For example,
1596771429.object
List of payouts created for the instant settlement.
string
Indicates the type of
ondemand_payouts entity. Here it is collection.integer
The number of items in the array. For example,
1.array
List of payouts created for the instant settlement.
string
The unique identifier for the payout. For example,
setlodp_FNj7g2cbvw8ueO.string
Indicates the type of
items entity. Here it is settlement.ondemand_payout.integer
Unix timestamp at which the payout was initiated. For example,
1596771430.integer
Unix timestamp at which the payout was processed. For example,
1596778752.integer
Unix timestamp at which the payout was reversed. For example,
1596778752.integer
The amount, in paise, settled through this payout. For example,
200000.integer
Amount (minus fees and tax), in paise, settled through this payout. For example,
199410.integer
Amount (fees+tax), in paise, deducted for this payout. For example,
590.integer
Tax charged, in paise, for the fee component. For example,
90.string
The unique transaction number linked to a payout.
string
Status of the payout. Possible values:
created: The payout has been created.initiated: The payout has been 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.
integer
Unix timestamp at which the payout was created.
Errors
The API {key/secret} provided is invalid.
The API {key/secret} provided is invalid.
Code:
4xxThe API credentials passed in the API call differ from the ones generated on the Dashboard.Solution: The API keys must be active and entered correctly with no whitespace before or after.The requested URL was not found on the server.
The requested URL was not found on the server.
Code:
400Instant Settlement is not enabled on the merchant account, so the endpoint is not routable.Solution: Enable Instant Settlements from the Razorpay Dashboard before calling this API.The expand array must contain 'ondemand_payouts'.
The expand array must contain 'ondemand_payouts'.
Code:
400The expand[] parameter contains an invalid value.Solution: Pass expand[]=ondemand_payouts as the only supported expand option for this endpoint.