Bank Account🔗
Use the below endpoint to create a payout using contact and bank account details.
Handy Tips
- Contact
- A new contact is created if any combination of the following details is unique:
fund_account.contact.name,fund_account.contact.email,fund_account.contact.contact,fund_account.contact.typeandfund_account.contact.reference_id. - If all the above details match the details of an existing contact, the API returns details of the existing contact.
- Use the Update Contact API if you want to make changes to an existing contact.
- A new contact is created if any combination of the following details is unique:
- Fund Account
- A new fund account is created if any combination of the following details is unique:
fund_account.bank_account.name,fund_account.bank_account.ifsc,fund_account.bank_account.account_number,fund_account.contact.name,fund_account.contact.email,fund_account.contact.contact,fund_account.contact.typeandfund_account.contact.reference_id. - If all the above details match the details of an existing fund account, the API returns details of the existing fund account.
- You cannot edit the details of a fund account.
- A new fund account is created if any combination of the following details is unique:
Request Parameters🔗
account_numbermandatory-
stringThe account from which you want to make the payout.
Account details can be found on the RazorpayX Dashboard. For example,7878780080316316.- Pass your virtual account number if you want money to be deducted from your virtual account.
- Pass your current account number if you want money to be deducted from your current account.
Watch Out!
This is NOT your contact's bank account number.
amountmandatory-
integerThe payout amount, in paise. For example, if you want to transfer ₹10000, pass1000000. Minimum value is100.Handy Tips
The value passed here does not include fees and tax. Fees and tax, if any, are deducted from your account balance. currencymandatory-
stringThe payout currency. Here, it isINR. modemandatory-
stringThe mode to be used to create the payout. Available modes:NEFTRTGSIMPScardWatch Out!
The payout modes are case sensitive. When creating payouts using APIs, ensure payout modes are entered in upper case.
purposemandatory-
stringThe purpose of the payout. Classifications available in the system by default:refundcashbackpayoutsalaryutility billvendor billHandy Tips
Additional purposes for payouts can be created via the Dashboard and then used in the API. However, it is not possible to create a new purpose for the payout via the API.
fund_account-
Details of the contact and fund account to which the payout should be made.
account_typemandatory-
stringThe type of account to be linked to the contact ID. Here, the value has to bebank_account. bank_account-
The contact's bank account details.
namemandatorystringAccount holder's name. Between 4 and 120 characters. This field is case sensitive. Supported characters:a-z,A-Z,0-9,space,’,-,_,/,(,)and ,.. For example,Gaurav Kumar.ifscmandatorystringBeneficiary bank IFSC. Has to be 11 characters. Unique identifier of a bank branch. For example,HDFC0000053.account_numbermandatorystringBeneficiary bank account number. Between 5 and 35 characters. Supported characters:a-z,A-Zand0-9. Beneficiary account number. For example,765432123456789.
contact-
Details of the contact to whom the payout should be made.
namemandatorystringContact's name. Minimum 3 characters. Maximum 50 characters. This field is case sensitive. Supported characters:a-z,A-Z,0-9,space,’,-,_,/,(,)and ,.. For example,Gaurav Kumar.emailoptionalstringThe contact's email address. For example,gaurav.kumar@example.com.contactoptionalstringThe contact's phone number. For example,9123456789.typeoptionalstringClassification for the contact. For example,employee. Classifications are available by default:vendorcustomeremployeeselfAdditional classifications:
Additional classifications can be created via the Dashboard and then used in APIs. It is not possible to create new classifications via the API.
reference_idoptionalstringMaximum length 40 characters. A reference you enter for the contact. For example,Acme Contact ID 12345.notesoptionalobjectNotes you can enter for the contact for future reference. This is a key-value pair. For example,"note_key": "Beam me up Scotty".
queue_if_low_balanceoptional-
booleanPossible values:true: The payout is queued when your business account does not have sufficient balance to process the payout.false(default): The payout is never queued. The payout fails if your business account does not have sufficient balance to process the payout.
reference_idoptional-
stringMaximum length 40 characters. A reference you enter for the payout. For example,Acme Transaction ID 12345. You can use this field to store your own transaction ID, if any. narrationoptional-
stringMaximum length 30 characters. Allowed characters:a-z,A-Z,0-9andspace. This is a custom note that also appears on the bank statement.Handy Tips
- If no value is passed for this parameter, it defaults to the Merchant Billing Label.
- Ensure that the most important text forms the first 9 characters as banks may truncate the rest as per their standards.
notesoptional-
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”.
Response Parameters🔗
id-
stringThe unique identifier linked to the payout. For example,pout_00000000000001. entity-
stringThe entity being created. Here, it will bepayout. fund_account_id-
stringThe unique identifier linked to the fund account. For example,fa_00000000000001. fund_account-
Contact and fund account details to which the payout was made.
id-
stringThe unique identifier linked to the fund account. For example,fa_00000000000001. entity-
stringHere it will befund_account. contact_id-
stringThe unique identifier linked to the contact. For example,cont_00000000000001. contact-
Details of the contact to whom the payout is being made.
idstringThe unique identifier linked to the contact. For example,cont_00000000000001.entitystringThe entity being created. Here, it will becontact.namestringThe contact's name. For example,Gaurav Kumar.contactstringThe contact's phone number. For example,9123456789.emailstringThe contact's email address. For example,gaurav.kumar@example.com.typestringClassification for the contact being created. For example,employee. Classifications are available by default:vendorcustomeremployeeselfHandy Tips
Additional Classifications can be created via the Dashboard and then used in APIs. It is not possible to create new Classifications via API.
reference_idstringA reference you entered for the contact. For example,Acme Contact ID 12345.batch_idstringThis parameter is populated if the contact was created as part of a bulk upload. For example,batch_00000000000001.activebooleanPossible values:true: activefalse: inactive
notesobjectUser-entered notes for internal reference. This is a key-value pair. You can enter a maximum of 15 key-value pairs. For example,"note_key": "Beam me up Scotty”.created_atintegerTimestamp, in Unix, when the contact was created. For example,1545320320.
account_type-
stringThe type of fund account being created. Here, it will bebank_account. bank_account-
The contact's bank account details.
ifscstringUnique identifier of a bank branch. For example,HDFC0000053.bank_namestringThe contact's bank name. For example,HDFC.namestringAccount holder's name. For example,Gaurav Kumar.account_numberstringBeneficiary account number. For example,765432123456789.
active-
booleanPossible values:true: activefalse: inactive
batch_id-
stringThis parameter is populated if the fund account was created as part of a bulk upload. For example,batch_00000000000001. created_at-
integerTimestamp, in Unix, when the fund account was created. For example,1545320320.
amount-
integerMinimum value100. The payout amount, in paise. For example, if you want to transfer ₹10000, pass1000000.Handy Tips
The value passed here does not include fees and tax. Fees and tax, if any, are deducted from your account balance. currency-
stringThe payout currency. Here, it isINR. notes-
objectUser-entered notes for internal reference. This is a key-value pair. You can enter a maximum of 15 key-value pairs. For example,"note_key": "Beam me up Scotty”. fees-
integerThe fees for the payout. This field is populated only when the payout moves to theprocessingstate. For example,5. tax-
integerThe tax that is applicable for the fee being charged. This field is populated only when the payout moves to theprocessingstate. For example,1. status-
stringThe payout status. Possible payout states:queuedpending(if you have Approval Workflow enabled)rejected(if you have Approval Workflow enabled)processingprocessedcancelledreversed
purpose-
stringThe purpose of the payout. Classifications available by default:refundcashbackpayoutsalaryutility billvendor billHandy Tips
Additional purposes for payouts can be created via the Dashboard and then used in the API. However, it is not possible to create a new purpose for the payout via the API.
utr-
stringThe unique transaction number linked to a payout. For example,HDFCN00000000001. mode-
stringThe mode used to make the payout. Available modes:NEFTRTGSIMPSUPIcard
reference_id-
stringA reference you entered for the payout. For example,Acme Transaction ID 12345. You can use this field to store your own transaction ID, if any. narration-
stringThis is a custom note that also appears on the bank statement.
If no value is passed for this parameter, it defaults to the Merchant Billing Label. batch_id-
stringThis parameter is populated if the contact was created as part of a bulk upload. For example,batch_00000000000001. status_details-
objectThis parameter returns the current status of the payout. For example,IMPS is not enabled on beneficiary account, Retry with different mode.descriptionstringA description for the error. For example,IMPS is not enabled on beneficiary account, please retry with different mode.sourcestringPossible values:gateway: Technical error at Razorpay Partner bank.beneficiary_bank: Technical error at beneficiary bank.business: Merchant action required.internal: Technical error at Razorpay's server.
reasonstringThe error reason. For example,imps_not_allowed. Failure reasons and next steps.
created_at-
integerTimestamp, in Unix, at which the payout was created. For example,1545320320. fee_type-
stringIndicates the fee type charged for the payout. Possible values:free_payout