Skip to main content

Use Cases

  1. Add Bank Account of Customer
  2. Delete Bank Account of Customer.

1. Add Bank Account of Customer

The following endpoint adds the customer’s bank accounts. customers/:customer_id/bank_account
Curl
Response

Request Parameters

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.

Response Parameters

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.

2. Delete Bank Account of Customer

You can also delete customer’s bank accounts. Use the following endpoint to delete. customers/:customer_id/bank_account/:bank_id
Curl
Response

Path Parameters

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.

Response Parameters

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.