Generate closed VA

Request Parameters

Key ParametersData TypeDescription
public_access_tokenStringPublic-access-token generated using your clientId and clientSecret
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 1 hour 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)
suffixNoStringThe customizable last 8 digits on the Virtual Account Numbers (Only available for BRI and Bank Sahabat Sampoerna)

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 1 hour 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)
accountNoString16 digits Virtual Account Numbers that can be used for the payments
Language
Authorization
OAuth2
Click Try It! to start a request and see the response here!