Virtual Account Creation API
This API will create virtual accounts to be used for making transactions by customers.
Consists of two parts.
Username: API Key obtained from Juspay dashboard
Password: Empty string
Example:-
Basic MUQ2QUxxxxxxxxxxxxU5QTIxQzNFNTQwNkFDMEZCOg==
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 provided by Juspay or object reference Id given by merchant while customer creation.
Unique ID that merchants can use to represent the virtual account. [AlphaNumeric Values Only]
The type of virtual account merchant wants to create. Currently the default is ACCOUNT_IFSC (Virtual Bank Account)
The reference against which the merchant wants to create the virtual account against.
A custom key-value set can be passed here. Stringified JSON. No PII allowed.

