Request Parameters🔗
Custom Merchant Prefix:
You can customize the merchant prefix of the vpa (payto00000) as per your business requirements. This is an on-demand feature and is not available by default. To enable creation of custom merchant prefix, raise a request on our Support Portal.
receiversmandatory-
json objectConfiguration of desired receivers for the virtual account.types-
arrayList of desired receiver types. Possible values:bank_accountvpaqr_code
vpaoptional-
json objectDescriptor details for the virtual UPI ID. This is to be passed only whenvpais passed as the receivertypes.descriptorstringYou can provide a custom descriptor for the UPI ID. This is a unique identifier provided by you to identify the customer. For example,gaurikumarandakashkumarare the descriptors in the usernamesrpy.payto00000gaurikumarandrpy.payto00000akashkumarrespectively. The combination of merchant prefix and descriptor must be 20 characters. The length of the merchant prefix can vary between 4-10 characters, and the length of descriptor from 10-16 characters.
qr_codeoptional-
json objectDescriptor details for the QR code. This is to be passed only whenqr_codeis passed as the receivertypes. Know about the request parameters to be passed to create a QR code.
descriptionoptional-
stringA brief description of the virtual account. customer_idoptional-
stringUnique identifier of the customer to whom the virtual account must be tagged. Refer to the Customer API documentation to learn how to create a customer. notesoptional-
json objectAny custom notes you might want to add to the virtual account can be entered here. Refer to the Notes section of the API Reference Guide to learn more. close_byoptional-
integerUNIX timestamp at which the virtual account is scheduled to be automatically closed. The time must be at least 15 minutes after current time. The date range can be set till2147483647in UNIX timestamp format (equivalent to Tuesday, January 19, 2038 8:44:07 AM GMT+05:30).Note:
Any request beyond2147483647UNIX timestamp will fail.
Note:
While sharing the details of VAs (created using RBL bank) with the customers, ensure that the fifth character in the IFSC is number 0 and not the letter O. For example, valid IFSC is RATN0VAAPIS and not RATNOVAAPIS.
Here is a sample request and response which can be used to create a virtual account with both bank_account and vpa receiver types.