Bank Accounts

Add, and delete Customer's bank account details using Razorpay APIs.


Add or delete customer's bank account with basic details such as name, email and contact details. You can then offer various Razorpay solutions to your customers. Edit customer details as needed.

The following endpoint adds the customer's bank accounts.

POST
customers/:customer_id/bank_account

account_number

integer Customer's bank account number. For example, 916010080000000.

beneficiary_name

string The name of the beneficiary associated with the bank account.

beneficiary_address1

string The virtual payment address.

beneficiary_email

string Email address of the beneficiary. For example, gaurav.kumar@example.com.

beneficiary_mobile

integer Mobile number of the beneficiary.

beneficiary_city

string The name of the city of the beneficiary.

beneficiary_state

string The state of the beneficiary.

beneficiary_country

string The country of the beneficiary.

beneficiary_pin

integer The pin code of the beneficiary's address.

ifsc_code

string The IFSC code of the bank branch associated with the account.

bank_accounts

array An array containing bank account details.

id

string Unique identifier of the bank account.

entity

string The type of entity, which in this case is bank_account.

ifsc

string The IFSC code of the bank branch associated with the account.

bank_name

string The name of the bank.

name

string The name associated with the bank account.

notes

object Set of key-value pairs that can be used to store additional information about the payment.

account_number

integer Customer's bank account number. For example, 916010080000000.

You can also delete customer's bank accounts. Use the following endpoint to delete.

DELETE
customers/:customer_id/bank_account/:bank_id

customer_id

mandatory

string Customer id of the customer whose bank account is to be deleted.

bank_id

mandatory

string The bank_id that needs to be deleted.

id

string Bank_id that is deleted.

ifsc

string IFSC code of bank.

bank_name

string Bank name.

name

string Account holder name.

account_number

string Bank account number.

status

string Status of the bank in bank_account entity.


Was this page helpful?


customers bank account api
add bank account api
delete bank account api