post https://api.juspay.in/customers//bank-accounts
Enters a customer bank account in the Juspay system with the given bank information.
Note:
Optional 'command' can be sent as "create" or "validate".
Command = “validate” will do create and validate at once.
Command = “validate” will do create and validate at once.
Returns: Bank Account Object (click to view)
Parameter | Type | Description |
---|---|---|
object | String | "bank_account" |
id | String | Bank account ID generated by Juspay |
customer_id | String | Customer ID sent in request. (Customer ID is provided by juspay or is the object reference ID given by merchant during customer creation.) |
date_created | String | Date that account was created |
bank_name | String | Name of bank |
ifsc | String | IFSC code for a bank branch. |
account_number | String | Bank account number. |
beneficiary_name | String | Name of the customer in a given bank account. |
validation_amount | String | Amount that account is validated for |
currency | String | Type of currency |
validation_status | String | Status of account (CREATED, PENDING, or ACTIVE) |
last_validated | String | Time/date of most recent validation |
metadata: {param1, param2, ....} | String | Custom key-value sets sent in request |
⭣The request consists of Bank Data, customer_id, and an optional command parameter as listed below: (click to view)
Bank Data parameters: (click to view)
Field | Type | Description | |
---|---|---|---|
bank_code | * | String | Juspay bank code ID defining the bank. |
account_number | * | String | Bank account number. |
ifsc | * | String | IFSC code for a bank branch. |
beneficiary_name | String | Name of the customer in a given bank account. | |
gateway_id | String | Gateway id of the underlying provider to be used for bank account validation. | |
gateway_reference_id | String | Reference Id to a specific gateway which is used for validation | |
metadata: {param1, param2,...} | String | Custom key-value sets can be passed here |
* = Required
Field | Type | Description | |
---|---|---|---|
customer_id | * | String | customer_id provided by juspay or object reference ID given by merchant while creating customer.(Path Parameter) |
command | String | “create” or “validate”. Default is “create”. Command = “validate” will do create and validate at once. (Request (Form) Parameter) |
* = Required