How to create Virtual Accounts for collecting payments?

Let’s understand in detail the Virtual Accounts APIs for creating virtual accounts as a collection tool.  You need to pass the following mandatory parameters in request to our APIs:

  • Customer Name as name
  • Customer Email-id as email
  • Customer Mobile Number as mobile_number

Now, there are two more parameters, which will remain constant if you are creating a Virtual Account as a wallet:

  • type with value as virtual
  • used_as with value as collection_tool

You can create a Virtual Payment Address (VPA) and a virtual account or just generate a Virtual Account Number and IFSC code, as per your choice. Ideally, it is advisable to generate VPA along with the virtual account number and IFSC Code. If you chose to create VPA/UPI ID for your customer then, you need to add the following additional parameters in the request headers of our APIs:

  • state_code with value as KA for Karnataka, KL for Kerala, DL for Delhi, etc.
  • city
  • pan
  • postal_code
  • business_type with value as an individual for Individual, public-or-private-limited for Public/Private Limited
  • business_category with value as agri_business for Agri-Business, banking_or_financial_services for Banking / Financial Services, etc.

You’ll find the complete details for state_code, business_type and business_category here.

Discussion

3

0