Brick API Documentation
Close VA

Status of Close VA

Use the Close Virtual Account status endpoint to confirm whether an exact-amount VA payment is still pending, already paid, completed, or expired. This status check helps your system reconcile customer bank transfers, handle delayed callbacks, and update order or invoice records with the latest payment state.

Request Parameters

Key ParametersData TypeDescription
publicAccessTokenStringOne time access-token generated using the auth token API
vaIdStringUnique Id of virtual account

Response Parameters

Key parametersData typeDescription
idStringUnique ID generated by Brick
typeStringType of VA
amountDoubleThe amount that will be stated in the virtual account
descriptionStringThe description that will be stated in the virtual account (maximum 255 characters)
createdAtTimestampThe time when the close VA is created
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 (maximum 255 characters)
displayNameStringDisplay name shown in the customer's payment platform (maximum 24 characters).
accountNoStringdigits Virtual Account Numbers that can be used for the payments
statusStringThe VA Status of whether its "Pending/Paid/Completed/Expired"
Last modified on