Create Virtual Account

The Create Virtual Account feature allows a merchant to generate virtual account numbers for processing payments.

Through this feature, a merchant can:

  • Generate a virtual account number - either define a unique virtual account number or let Ayoconnect generate a random unique VA number for you
  • Define the amount type - can be fixed amount or open amount
  • Define the virtual account type - Multi-Payment virtual account (static), or Single-Payment virtual account (dynamic)
  • Set the expiration date of the virtual account

Limitations

Please note that only the following combinations are supported when creating a virtual account:

VA BanksSingle Payment VA - Fixed AmountMultiple Payment VA - Fixed AmountSingle Payment VA - Open AmountMultiple Payment VA - Open AmountMax VA Numbers Input In M-BankingMin. Length in custom VA number CreationMax. Length in custom VA number Creation
Bank BRI18 digits11 digits13 digits
Bank BNI16 digits12 digits12 digits
Bank BCA23 digits11 digits18 digits
Bank Mandiri19 digits11 digits14 digits

In VA Number creation request, if a merchant would like to create a custom VA numbers after bank prefix, just send the remaining numbers (excluding prefix) in the field of virtualAccountNumber. Ayoconnect will return the complete VA numbers (Including bank prefix) in the response of Create Virtual Account API.