Composite Account Validation
Validate a Bank Account
Create Contact, Fund account and Validate Fund Account of type bank account via a single API.
POST
Use this endpoint to create contact, fund account and validate the bank account in a single API call.
Request Parameters
string
required
The account from which money should be deducted for the account validation transaction.
string
The chosen type of validation. Possible values:
pennydrop: Razorpay will make a transaction for validation.penniless: Razorpay will validate the account without a transaction.optimized(default): Razorpay will decide whether the validation requires a transaction or not.
object
required
Details of the fund account to which the payout was made.
string
required
The fund account type being created. Here it will be
bank_account.object
required
The contact’s bank account details.
string
Account holder’s name. For example,
Gaurav Kumar.string
required
Beneficiary bank IFSC. For example,
HDFC0000053.string
required
Beneficiary account number. For example,
765432123456789.object
required
Contact details to which the payout was made.
string
required
The contact’s name. For example,
Gaurav Kumar.string
The contact’s email address. For example,
gaurav.kumar@example.com.string
The contact’s phone number. For example,
9000090000.string
A classification for the contact being created. For example,
employee.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”.string
A user-generated reference given to the payout. Maximum length is 40 characters. For example,
112233. You can use this field to store your own transaction ID, if any.Response Parameters
string
The unique identifier linked to the fund account. For example,
fav_000000000001.string
Here it will be
fund_account.validation.string
The status of the account validation transaction.
Possible values:
createdcompletedfailed
string
A 12-digit unique identifier for the successful IMPS fund account validation transaction. For example,
123456789012.object
Result of the validation.
string
Displays if the account is valid or not.
Possible values:
activeinvalid
string
The name linked to the account. For example,
Gaurav Kumar.string
Details of the beneficiary account depending on the validation result.
string
A score between 0 - 100.
100: The name provided by you and the bank registered name are the same.0: There is no match between the name provided by you and the bank registered name.- Between
0&100: There is a partial match between the name provided by you and the bank registered name.
object
This parameter returns the current status of the customer’s bank account.
string
A description for the status. For example,
Validation request is completed.string
Possible 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.
string
The reason for the status, based on the description. For example,
validation_completed.object
Fund account details to which the payout was made.
string
The unique identifier linked to the fund account. For example,
fa_00000000000001.string
Here it will be
fund_account.string
The fund account type being created. Here it will either be
bank_account or vpa.object
The contact’s bank account details.
string
Account holder’s name. For example,
Gaurav Kumar.string
The contact’s bank name. For example,
HDFC.string
Beneficiary bank IFSC. For example,
HDFC0000053.string
Beneficiary account number. For example,
765432123456789.object
The contact’s virtual payment address (VPA) details.
string
The virtual payment address. For example,
gaurav.kumar@exampleupi.object
Contact details to which the payout was made.
string
The unique identifier linked to the contact. For example,
cont_00000000000001.string
The entity being created. Here, it will be
contact.string
The contact’s name. For example,
Gaurav Kumar.string
The contact’s email address. For example,
gaurav.kumar@example.com.string
The contact’s phone number. For example,
9000090000.string
A classification for the contact being created. For example,
employee.string
A user-generated reference given to the payout. Maximum length is 40 characters. For example,
112233. You can use this field to store your own transaction ID, if any.boolean
Possible values of Fund Account status:
true: activefalse: inactive
integer
Timestamp, in Unix, when the fund account was created. For example,
1543650891.object
User-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".