List Customer accounts
List Bank Accounts API which lists all the customer account IDs linked for a given customer ID. This API retrieves all customer’s bank account related information, including account details, bank account id creation date and the last validated date of the customer account details.
Consists of two parts.
Username: API Key obtained from Juspay dashboard
Password: Empty string
Example:- Basic MUQ2QUxxxxxxxxxxxxU5QTIxQzNFNTQwNkFDMEZCOg==
application/x-www-form-urlencoded
We recommend passing the customer_id as the x-routing-id. If the customer is checking out as a guest, you can pass an alternative ID that helps track the payment session lifecycle. For example, this could be an Order ID or Cart ID.
This ID is associated with the customer. It plays a key role in ensuring consistency and maintaining connections across different systems. If you fail to pass the same x-routing-id for the same customer in all related API calls, it could lead to issues with API functionality. Therefore, it’s crucial that you use the same x-routing-id for all requests tied to the same customer.
Example:- customer_1122
Customer Id
Example:- cst_weoridsfdkl
List the linked customer account ID details
Recent modified date of the customer account ID
Example:- 2023-06-06T13:28:59Z
Customer ID
Example:- cst_zqqmw0v4exbhvv2l
Account details with which customer account ID created
VPA details
Example:- 8668757911@ffsk
Bank account details
Bank account number
Example:- 026291800001191
Beneficiary name
Example:- test
IFSC Code
Example:- AABF0008032
Bank code
Example:- 12
Beneficiary account bank name
Example:- SBI
Currency of the Validation amount
Example:- INR
Validation status of customer account ID
Possible values:CREATED - Customer account has been created, validation has not yet been completed
ACTIVE - validation is successful at gateway with provided customer bank details
PENDING - Awaiting transaction status on the penny drop transaction
FAILURE - Provided account validation is failure
Example:- PENDING
ID created at Juspay’s end during Customer account creation
Example:- banh_uninwyie1d85C5cQ
Penny drop amount
Example:- 1
Creation date of the custmer account ID
Example:- 2023-06-06T13:28:55Z
Example:- 0
Number of linked customer account ID for the provided customer
Example:- 2
Total number of linked customer account ID
Example:- 2
Example:- list
{}
Status of the get customer api response
Example:- Response: error
error code information
Example:- Sample response: access_denied
Detailed information of the error
User error message
Example:- Response: Unauthorized.
Provide accurate details on the error message
Example:- Sample Response: Invalid API Key. Please pass a valid and active api key.
Denotes the category of the error
Example:- Sample Response: USER_ERROR

