Hey! These docs are for version 3.2, which is no longer officially supported. Click here for the latest version, 1.0!

Create bank account

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.
  Returns:   Bank Account Object       (click to view)
ParameterTypeDescription
objectString"bank_account"
idStringBank account ID generated by Juspay
customer_idStringCustomer ID sent in request. (Customer ID is provided by juspay or is the object reference ID given by merchant during customer creation.)
date_createdStringDate that account was created
bank_nameStringName of bank
ifscStringIFSC code for a bank branch.
account_numberStringBank account number.
beneficiary_nameStringName of the customer in a given bank account.
validation_amountStringAmount that account is validated for
currencyStringType of currency
validation_statusStringStatus of account (CREATED, PENDING, or ACTIVE)
last_validatedStringTime/date of most recent validation
metadata:
   {param1, param2, ....}
StringCustom key-value sets sent in request
The request consists of  Bank Datacustomer_id, and an optional command parameter as listed below:       (click to view)
  Bank Data parameters:       (click to view)
FieldTypeDescription
bank_code*StringJuspay bank code ID defining the bank.
account_number*StringBank account number.
ifsc*StringIFSC code for a bank branch.
beneficiary_nameStringName of the customer in a given bank account.
gateway_idStringGateway id of the underlying provider to be used for bank account validation.
gateway_reference_idStringReference Id to a specific gateway which is used for validation
metadata:
   {param1, param2,...}
StringCustom key-value sets can be passed here
*   = Required
FieldTypeDescription
customer_id*Stringcustomer_id provided by juspay or object reference ID given by merchant while creating customer.
(Path Parameter)
commandStringcreate” or “validate”. Default is “create”. Command = “validate” will do create and validate at once.
(Request (Form) Parameter)
 * = Required
Language
Authentication
Basic
base64
:
Click Try It! to start a request and see the response here!