Instant Settlements

Check Razorpay Capital Instant Settlement APIs ( On-demand Settlement APIs).


Handy Tips
This section has information on APIs used as part of Razorpay Capital.

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 to 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.

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.

Run in Postman

Instant Settlement Entity🔗

The Instant Settlement entity has the following fields:

id

string The unique identifier of the instant settlement transaction. For example, setlod_FNj7g2YS5J67Rz.

entity

string Indicates the type of entity. Here it is settlement.ondemand.

amount_requested

integer The settlement amount, in paise, requested by you. For example, 200000.

amount_settled

integer Total amount (minus fees and tax), in paise, settled to the bank account. For example, 199410.

amount_pending

integer Portion of the requested amount, in paise, yet to be settled to you.

amount_reversed

integer Portion of the requested amount, in paise, that was not settled to you. This amount is reversed to your PG current balance.

fees

integer Total amount (fees+tax), in paise, deducted for the instant settlement. For example, 590.

tax

integer Total tax, in paise, charged for the fee component. For example, 90.

currency

string The 3-letter ISO currency code for the settlement. Here it is INR.

settle_full_balance

boolean Possible values:

  • true: Razorpay will settle the maximum amount possible. Values passed in the amount parameter are ignored.
  • false (default): Razorpay will settle the amount requested in the amount parameter.
status

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.
description

string This is a custom note you can pass for the instant settlement for your reference. For example, Need this to make vendor payments..

notes

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”.

created_at

integer Unix timestamp at which the instant settlement was created. For example, 1596771429.

ondemand_payouts

object List of payouts created for the instant settlement.

entity

string Indicates the type of ondemand_payouts entity. Here it is collection.

count

integer The number of items in the array. For example, 1.

items

array List of payouts created for the instant settlement.

id
string The unique identifier for the payout. For example, setlodp_FNj7g2cbvw8ueO.
entity
string Indicates the type of items entity. Here it is settlement.ondemand_payout.
initiated_at
integer Unix timestamp at which the payout was initiated. For example, 1596771430.
processed_at
integer Unix timestamp at which the payout was processed. For example, 1596778752.
reversed_at
integer Unix timestamp at which the payout was reversed. For example, 1596778752.
amount
integer The amount, in paise, settled through this payout. For example, 200000.
amount_settled
integer Amount (minus fees and tax), in paise, settled through this payout. For example, 199410.
fees
integer Amount (fees+tax), in paise, deducted for this payout. For example, 590.
tax
integer Tax charged, in paise, for the fee component. For example, 90.
utr
string The unique transaction number linked to a payout.
status
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.
created_at
integer Unix timestamp at which the payout was created.

You can manage Instant Settlements using APIs or from the Razorpay Dashboard.

Create an Instant Settlement🔗

The following endpoint creates an Instant Settlement.

/settlements/ondemand

Request Parameters🔗

amount mandatory
integer The amount, in paise, you want settled to your account.
settle_full_balance optional
boolean Possible values:
  • true: Razorpay will settle the maximum amount possible. Values passed in the amount parameter are ignored.
  • false (default value): Razorpay will settle the amount requested in the amount parameter.
description optional
string This is a custom note you can pass for the instant settlement for your reference. For example, Need this to make vendor payments..
  • Maximum length: 30 characters.
  • Allowed characters: a-z, A-Z, 0-9 and space.
notes optional
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, Beam me up Scotty.

Response Parameters🔗

Descriptions for the response parameters are present in the Instant Settlements Entity parameters table.

Fetch All Instant Settlements🔗

The following endpoint retrieves the details of all Instant Settlements. Use the expand[]=ondemand_payouts query parameter to fetch payout details as part of the response.

/settlements/ondemand

Query Parameters🔗

expand[]=ondemand_payouts optional
string Pass this if you want to fetch payout details as part of the response.
from optional
integer Unix timestamp (in seconds) from when instant settlements are to be retrieved.
to optional
integer Unix timestamp (in seconds) till when instant settlements are to be retrieved.
count optional
integer Number of instant settlement records to be retrieved.
  • Default value: 10
  • Maximum value: 100
  • This can be used for pagination, in combination with skip.
skip optional
integer Number of instant settlement records to be skipped.
  • Default value: 0
  • This can be used for pagination, in combination with count.

Response Parameters🔗

Descriptions for the response parameters are present in the Instant Settlements Entity parameters table.

Fetch Instant Settlement by ID🔗

The following endpoint retrieves the details of a particular Instant Settlement. Use the expand[]=ondemand_payouts query parameter to fetch payout details as part of the response.

/settlements/ondemand/:setlod_id

Path Parameter🔗

setlod_id
string The unique identifier for the instant settlement transaction. For example, setlod_FNj7g2YS5J67Rz.

Query Parameters🔗

expand[]=ondemand_payouts optional
string Pass this if you want to fetch payout details as part of the response.

Response Parameters🔗

Descriptions for the response parameters are present in the Instant Settlements Entity parameters table.

×