Validate Customer account
This is a Server-to-Server API that validates the bank account/UPI details and validate whether the provided account details are correct.
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
Customer Account Id
Example:- bank_woeriusdfk
Preferred gateway to validate the bank account/VPA details
Predefined amount to verify the bank account details.
Default amount: 1 INR (Rupee)
Example:- customer_account
Example:- banh_kGvx5TGUmkRVC2dH
Example:- cst_zqqmw0v4exbhvv2l
Example:- 2023-06-06T13:29:49Z
Example:- 4225246777@yesg
Example:- 1
Example:- INR
Status of the validation.
Possible values: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:- ACTIVE
Example:- 2023-06-06T13:29:53Z
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

