Request Parameters

Key ParametersData TypeDescription
publicAccessTokenStringOne time access-token generated using the auth token API
paymentMethodTypeStringOnly virtual bank account is available for now
amountDoubleThe amount that will be stated in the virtual account
descriptionStringThe description that will be stated in the virtual account (maximum 255 characters)
expiredAtTimestampThe expiration time of the close VA (minimum 60 minutes from request time and maximum 30 days from request time)
bankShortCodeStringInstitution short code of the bank
referenceIdStringUnique ID that is being generated by the client to track each VA generation
displayNameStringThe display name that will be shown in the user's payment platform (maximum 24 characters)

Response Parameters

Key ParametersData typeDescription
idStringUnique ID generated by Brick
typeStringType of Account
amountDoubleThe amount that will be stated in the virtual account
descriptionStringThe description that will be stated in the virtual account (maximum 255 characters)
createdAtTimestampThe Creation time of the close VA
expiredAtTimestampThe expiration time of the close VA (minimum 60 minutes from request time and maximum 30 days from request time)
statusStringStatus of Transaction
bankShortCodeStringInstitution short code of the bank
referenceIdStringUnique ID that is being generated by the client to track each VA generation
displayNameStringThe display name that will be shown in the user's payment platform (maximum 24 characters)
accountNoStringVirtual Account Numbers that can be used for the payments
Language
Click Try It! to start a request and see the response here!