Generate, monitor, and simulate fixed-amount Close VA payments. Use these endpoints for order or invoice flows that require exact amounts, expiry windows, and Close VA payment status checks.
Status of Close VA
Check the latest payment status for a Close Virtual Account. Use this endpoint to confirm whether a fixed-amount VA has been paid, expired, or is still pending. It is useful for order reconciliation, customer support, and scheduled jobs that need to resolve unpaid or delayed bank transfer payments.
query Parameters
vaIdUnique id of virtual account ex: CL_xxxx
Status of Close VA › Responses
200
statuserrorGenerate Close VA
Generate a Close Virtual Account for a fixed payment amount, customer reference, and expiration window. Use Close VA when each order or invoice should be paid with an exact amount and controlled validity period. The response returns VA details that can be shown to the customer and later reconciled through callback or status inquiry.
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]
Simulate a Close VA payment status change in the sandbox environment. Use this endpoint during development to test callbacks, reconciliation logic, paid-state handling, and failure recovery without moving real funds. This endpoint is not intended for production traffic and should only be used with sandbox VA test data.
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
