Skip to main content

Data Model - Virtual Account

The following is the list of data model that used on Virtual Account Service:

virtualAccountData

The following table is data of virtualAccountData data model:

NoNameTypeLengthRequiredConditionRemarks
1MultilanguageTextMultilanguageTextVariableOptional-Reason for Payment Status multi language
2partnerServiceIdStringFixed, 8 maxMandatory-Biller/merchant code of the virtual account. Left padding with space
3customerNoStringVariable, 20 maxMandatory-Unique number (up to 20 digits). Combine partnerServiceId and customerNo or virtualAccountNo
4virtualAccountNoStringVariable, 28 maxMandatory-Information of virtual account number which combine partnerServiceId and customerNo
5virtualAccountNameStringVariable, 255 maxMandatory-Information of customer name
6paymentFlagStatusStringFixed, 2 maxMandatory-Status for payment va. The values include:
  • 00 - Success, the order has been paid
  • 01 - Initiated, the va has been created
  • 05 - Cancelled, the va has been deleted
  • 06 - Failed, the va has been closed because it is expired
7trxIdStringVariable, 64 maxMandatory-Unique transaction identifier on partner system which assigned to each transaction
8inquiryRequestIdStringVariable, 64 maxMandatory-Unique request identifier for this inquiry
9paidAmountMoneyVariableOptional-Contains two sub-fields:
  1. Value: Transaction paidAmount, including the cents
  2. Currency: Currency code based on ISO
10totalAmountMoneyVariableOptional-Contains two sub-fields:
  1. Value: Transaction totalAmount, including the cents
  2. Currency: Currency code based on ISO
11expiredDateStringFixed, 25 maxOptional-Expiration date for virtual account, in format YYYY-MM-DDTHH:mm:ss+07:00. Time must be in GMT+7 (Jakarta time)
12additionalInfoJSON ObjectVariableOptional-Additional information
13additionalInfo.callbackUrlStringVariable, 8 maxOptional-URL to be able to receive payment notifications after payment is made by the customer

MultilanguageText

The following table is data of MultilanguageText data model:

NoNameTypeLengthRequiredConditionRemarks
1englishStringVariable, 200 maxMandatory-Reason for Payment Status in English
2indonesiaStringVariable, 200 maxMandatory-Reason for Payment Status in Indonesia