Settlements APIs🔗
By default, the complete process takes a time of T+2 business days for domestic transactions and T+7 days for international transactions, T being the date of capture of payment.
This is called the settlement cycle. The settlement cycle is subject to bank approval and can vary based on your business vertical, risk factors and so on.
You can try out our APIs on the Razorpay Postman Public Workspace.
Settlement Entity🔗
idstringUnique identifier of the settlement transaction, for example,setl_7IZKKI4Pnt2kEeentitystringThe name of the entity.amountintegerThe settlement amount in paise. For example, 50000 means ₹500. Settlements are always made in INR.statusstringThe status of the settlement. Possible values:createdprocessedfailed
feesintegerThis is the total fees charged to process all payments received from customers settled to you in this settlement transaction.taxintegerThe total tax, in paise, charged on the fees collected to process all payments received from customers settled to you in this settlement transaction.utrstringUnique Transaction Reference number available across banks, which can be used to track a particular settlement in your bank account. For example,1597813219e1pq6w.created_atintegerTimestamp (in Unix format) when the settlement transaction was created.
Fetch All Settlements🔗
Use the below endpoint to fetch all the settlements:
Query Parameters🔗
fromoptionalintegerUnix timestamp (in seconds) from when settlements are to be fetched.tooptionalintegerUnix timestamp (in seconds) till when settlements are to be fetched.countoptionalintegerNumber of settlement records to be fetched. Default value is 10. Maximum value is 100. This can be used for pagination, in combination withskip.skipoptionalintegerNumber of settlement records to be skipped. Default value is 0. This can be used for pagination, in combination withcount.
Fetch Settlement Using ID🔗
Use the below endpoint to fetch details of a settlement using id:
Path Parameter🔗
idmandatorystringUnique identifier of the settlement to be retrieved.
Settlement Recon🔗
The settlement recon API returns a list of all transactions such as payments, refunds, transfers and adjustments that have been settled to you for a particular day or month.
In the example request and response, we are fetching the settlement report for 11/09/2019.
Query Parameters🔗
yearmandatoryintegerThe year the settlement was received in theYYYYformat. For example,2020.monthmandatoryintegerThe month the settlement was received in theMMformat. For example,09.dayoptionalintegerThe date on which the settlement was received in theDDformat. For example,03.countoptionalintegerSpecifies the number of available settlements to be fetched. Maximumcountcan be 1000.skipoptionalintegerSpecifies the number of available settlements to be skipped when fetching a count.
Response Parameters🔗
entity_id-
stringUnique identifier of the transaction that has been settled. type-
stringIndicates the type of transaction. Possible values:paymentrefundtransferadjustment
debit-
integerThe amount, in paise, that has been debited from your account. credit-
integerThe amount, in paise, that has been credited to your account. amount-
integerThe total amount, in paise, debited or credited from your account. currency-
stringThe 3-letter ISO currency code for the transaction. fee-
integerThe fees, in paise, charged to processing the transaction. tax-
integerThe tax on the fee, in paise, charged to processing the transaction. on_hold-
booleanIndicates whether the account settlement for transfer is on hold. Possible values:truefalse
settled-
booleanIndicates whether the transaction has been settled or not. Possible values:truefalse
created_at-
integerTimestamp (in Unix) at which the transaction was created. settled_at-
integerTimestamp (in Unix) when the transaction was settled. settlement_id-
stringUnique identifier of the settlement transaction. description-
stringBrief description about the transaction. For example,Invoice #inv_DEWHZlfIcdVIXL". notes-
objectNotes for the transaction. For example.{\"comment\":\"Partial\"}. payment_id-
stringUnique identifier of the payment linked torefundortransferthat has been settled. For example,pay_DEApNNTR6xmqJy. It isnullforpayments. settlement_utr-
stringUnique reference number linked to the settlement. For example,KKBKH14156891582. order_id-
stringOrder ID linked to the payment made by the customer that has been settled. For example,order_DEXrnRiR3SNDHA. order_receipt-
stringReceipt number entered while creating the Order. method-
stringThe payment method used to complete the payment. Possible values:cardnetbankingwalletemiupi
card_network-
stringThe card network used to process the payment. Possible values are:American ExpressDiners ClubMaestroMasterCardRuPayVisaunknown
card_issuer-
stringThe card issuer. 4-character code denoting the issuing bank. For example,KARB.This attribute will not be set for international cards, that is, for cards issued by foreign banks.
card_type-
stringThe card type used to process the payment. Possible values:creditdebit
dispute_id-
stringUnique identifier of any dispute that might have arisen for this transaction.