Generate Open VA
Generate an Open Virtual Account that customers can reuse for flexible payment amounts.
Generate Open VA › Request Body
bankShortCodeInstitution short code of the bank
referenceIdUnique ID that is being generated by the client to track each VA generation (maximum 255 characters)
displayNameDisplay name shown in the customer's payment platform (maximum 24 characters).
Generate Open VA › Responses
200
statuserrorGenerate Close VA
Generate a Close Virtual Account for a fixed payment amount, expiration time, and customer reference.
Generate Close VA › Request Body
referenceIdUnique ID that is being generated by the client to track each VA generation
bankShortCodeamountThe amount that will be stated in the virtual account
expiredAtThe expiration time of the close VA in Minute
displayNameDisplayed name of VA
descriptionThe description that will be stated in the virtual account (maximum 255 characters)
Generate Close VA › Responses
200
statuserrorSimulate Close VA Payment [PAID/COMPLETED]
This API is for simulation to test the open VA process, This API is only available in a Sandbox environment.
path Parameters
vaIdCLID of VA that is generated by Brick in the VA generation API response for simulating "paid" status, ID of Payment that is generated by Brick in the VA callback response for simulating "PAID/COMPLETED" status. Ex: CL_xxx
Simulate Close VA Payment [PAID/COMPLETED] › Request Body
actionThe status that want to be achieved (PAID / COMPLETED)
Simulate Close VA Payment [PAID/COMPLETED] › Responses
200
