Skip to main content

Confirm balance notification registration (VA Notify)

Use this API to confirm the registration for balance notifications (VA Notify) after you have started the request via the register-notify API. This step usually requires an OTP sent by the bank to complete the process.

POST
URLhttps://open-api.tingee.vn/v1/confirm-register-notify

Confirm the registration request with the confirmId and the OTP (if any). After this step, balance notifications are officially activated for the virtual account.

Header Request​

HeaderRequiredDescription
Content-Type✓application/json
x-client-id✓Partner identifier issued by TINGEE.
x-signature✓HMAC SHA512 authentication signature. See How to generate the signature.
x-request-timestamp✓Time the request is sent (format: yyyyMMddHHmmssSSS, UTC+7)

Body Parameter​

FieldTypeRequiredDescription
merchantIdnumber✕Merchant ID
(required if you connect with a Master Merchant account).
bankBinstring✓Bank BIN. Currently only ACB (970416) is supported.
confirmIdstring✓Confirmation ID received from the Register for balance notifications API (valid for 4 minutes).
otpNumberstring✓OTP the bank sends to the account holder (SMS / bank app).

Code samples​

curl --location --request POST 'https://open-api.tingee.vn/v1/confirm-register-notify' \
--header 'accept: application/json' \
--header 'x-client-id: YOUR_CLIENT_ID' \
--header 'x-request-timestamp: 20240509154004003' \
--header 'x-signature: YOUR_SIGNATURE' \
--header 'Content-Type: application/json' \
--data '{
"bankBin": "970416",
"confirmId": "886b05e9-2d94-4b41-9839-138c941fd1d9",
"otpNumber": "123456"
}'

Sample Response​

{
"code": "00",
"message": "Success",
"data": null
}
FieldTypeDescription
codestringResult code (00 = success). On success, the account switches to active status and starts receiving credit notifications.
messagestringResponse message.
datanullThe API returns no data.

Common error codes​

CodeDescriptionHow to handle
1065OTP timed outThe confirmId has expired. Call Register for balance notifications again.
1010Account number not foundThe account number does not belong to the Merchant calling the API.
1059The bank does not support this operationThis API only applies to ACB.
90, 91, 92, 97Request authentication error (timestamp, client-id, signature)See System error codes.
OthersOther errorsSee Error codes.