API Test Keys
Fetch All Instant Settlements
GET/v1/settlements/ondemandClick to copy
Use this endpoint to retrieve the details of all Instant Settlements.
Is this page helpful?
Success
Failure
1{2"entity": "collection",3"count": 2,4"items": [5{6"id": "setlod_FNj7g2YS5J67Rz",7"entity": "settlement.ondemand",8"amount_requested": 200000,9"amount_settled": 199410,10"amount_pending": 0,11"amount_reversed": 0,12"fees": 590,13"tax": 90,14"currency": "INR",15"settle_full_balance": false,16"status": "processed",17"description": "Need this to make vendor payments.",18"notes": {19"notes_key_1": "Tea, Earl Grey, Hot",20"notes_key_2": "Tea, Earl Grey, decaf."21},22"created_at": 159677142923},24{25"id": "setlod_FJOp0jOWlalIvt",26"entity": "settlement.ondemand",27"amount_requested": 300000,28"amount_settled": 299114,29"amount_pending": 0,30"amount_reversed": 0,31"fees": 886,32"tax": 136,33"currency": "INR",34"settle_full_balance": false,35"status": "processed",36"description": "Need this to buy stock.",37"notes": {38"notes_key_1": "Tea, Earl Grey, Hot",39"notes_key_2": "Tea, Earl Grey, decaf."40},41"created_at": 159582657642}43]44}
Response Parameters
idstring The unique identifier of the instant settlement transaction. For example, setlod_FNj7g2YS5J67Rz.
entitystring Indicates the type of entity. Here it is settlement.ondemand.
amount_requestedinteger The settlement amount, in paise, requested by you. For example, 200000.
amount_settledinteger Total amount (minus fees and tax), in paise, settled to the bank account. For example, 199410.
amount_pendingintegerPortion of the requested amount, in paise, yet to be settled to you.
amount_reversedintegerPortion of the requested amount, in paise, that was not settled to you. This amount is reversed to your PG current balance.
feesinteger Total amount (fees+tax), in paise, deducted for the instant settlement. For example, 590.
taxinteger Total tax, in paise, charged for the fee component. For example, 90.
currencystring The 3-letter ISO currency code for the settlement. Here it is INR.
settle_full_balancebooleanPossible 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.
statusstringIndicates 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.
descriptionstring This is a custom note you can pass for the instant settlement for your reference. For example, Need this to make vendor payments..
notesobject 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”.
created_atinteger Unix timestamp at which the instant settlement was created. For example, 1596771429.
ondemand_payoutsobjectList of payouts created for the instant settlement.
Show child parameters (3)
Errors
The API {key/secret} provided is invalid.
Error Status: 4xx
The API credentials passed in the API call differ from the ones generated on the Dashboard.
Solution
Fetch All Instant Settlements
GET/v1/settlements/ondemandClick to copy
Use this endpoint to retrieve the details of all Instant Settlements.
Is this page helpful?
Response Parameters
idstring The unique identifier of the instant settlement transaction. For example, setlod_FNj7g2YS5J67Rz.
entitystring Indicates the type of entity. Here it is settlement.ondemand.
amount_requestedinteger The settlement amount, in paise, requested by you. For example, 200000.
amount_settledinteger Total amount (minus fees and tax), in paise, settled to the bank account. For example, 199410.
amount_pendingintegerPortion of the requested amount, in paise, yet to be settled to you.
amount_reversedintegerPortion of the requested amount, in paise, that was not settled to you. This amount is reversed to your PG current balance.
feesinteger Total amount (fees+tax), in paise, deducted for the instant settlement. For example, 590.
taxinteger Total tax, in paise, charged for the fee component. For example, 90.
currencystring The 3-letter ISO currency code for the settlement. Here it is INR.
settle_full_balancebooleanPossible 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.
statusstringIndicates 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.
descriptionstring This is a custom note you can pass for the instant settlement for your reference. For example, Need this to make vendor payments..
notesobject 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”.
created_atinteger Unix timestamp at which the instant settlement was created. For example, 1596771429.
ondemand_payoutsobjectList of payouts created for the instant settlement.
Show child parameters (3)
Errors
The API {key/secret} provided is invalid.
Error Status: 4xx
The API credentials passed in the API call differ from the ones generated on the Dashboard.
Solution
Success
Failure
1{2"entity": "collection",3"count": 2,4"items": [5{6"id": "setlod_FNj7g2YS5J67Rz",7"entity": "settlement.ondemand",8"amount_requested": 200000,9"amount_settled": 199410,10"amount_pending": 0,11"amount_reversed": 0,12"fees": 590,13"tax": 90,14"currency": "INR",15"settle_full_balance": false,16"status": "processed",17"description": "Need this to make vendor payments.",18"notes": {19"notes_key_1": "Tea, Earl Grey, Hot",20"notes_key_2": "Tea, Earl Grey, decaf."21},22"created_at": 159677142923},24{25"id": "setlod_FJOp0jOWlalIvt",26"entity": "settlement.ondemand",27"amount_requested": 300000,28"amount_settled": 299114,29"amount_pending": 0,30"amount_reversed": 0,31"fees": 886,32"tax": 136,33"currency": "INR",34"settle_full_balance": false,35"status": "processed",36"description": "Need this to buy stock.",37"notes": {38"notes_key_1": "Tea, Earl Grey, Hot",39"notes_key_2": "Tea, Earl Grey, decaf."40},41"created_at": 159582657642}43]44}