Skip to main content
Version: Next

Create VA

POST /openapi/v1/va/va-account/create

Create a Virtual Account (VA) for the Merchant to receive bank transfer payments.

Payload before encryption:

{
"bank_code": "970454",
"account_name": "NGUYEN VAN A"
}
FieldRequiredDescription
bank_codeBank code that issues the VA
account_nameDisplay name on the virtual account
curl --location '<base_url>/openapi/v1/va/va-account/create' \
--header 'Partner-Code: YOUR_PARTNER_CODE' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer eyJhbGciOiJSUzI1…' \
--data '{
"data": ENCRYPTED_PAYLOAD
}'

Request

Headers

NameRequiredDescription
Partner-CodeMerchant identifier code (provided by TCONNECT)
Content-Typeapplication/json
AuthorizationBearer <access_token> from Login

Body

FieldTypeRequiredDescription
datastringAES-256-CBC encrypted payload as Hexadecimal

Response

200 — VA created successfully

FieldTypeDescription
va_numberstringCreated virtual account number (e.g. VA100023312)
bank_codestringIssuing bank code
account_namestringVirtual account name
statusstringVA status (active)