Skip to Content
KingsPay Docs
ChargesPayment Methods

Virtual Account

A Virtual Account is a payment method that assigns a unique bank account number to a charge. Your customer completes the payment by transferring the exact amount to that number via mobile banking, internet banking, or ATM. Once the transfer is confirmed, KingsPay updates the charge status accordingly.

Virtual Account charges are fixed amount and one-time use. The amount must be specified when the charge is created, and the customer must transfer exactly that amount; transfers of a different amount will not be recognized. Once a payment is completed or the charge expires, the virtual account number is no longer active and a new charge must be created for any subsequent payment.

Virtual account number types

When creating a Virtual Account charge, you can choose between two types of virtual account numbers depending on your use case and configuration.

  • Random

    KingsPay automatically generates a unique virtual account number for each charge. This is the simplest option and works out of the box without any additional setup required. It is the recommended choice for most use cases where you do not have specific requirements around the format of the virtual account number.

  • Fixed

    You provide a specific virtual account number for the charge using a virtual account prefix. This gives you more control over the number assigned to each charge, which can be useful if you need the number to follow a specific format or pattern that your internal systems expect. Using a fixed virtual account number requires a virtual account prefix to be set up for your business account by the KingsPay team. To request one, reach out to the KingsPay team directly.

Supported payment methods

Each bank is its own Virtual Account payment method:

BankPayment method valueCurrency
Maybankmaybank_vaIDR
Mandirimandiri_vaIDR
Permatapermata_vaIDR

Activation required

Virtual account payment methods are not enabled by default. Contact KingsPay support to activate one for your account. Once activated, you will be assigned a prefix: a fixed set of digits that all your virtual account numbers must begin with.

On this page