The Check Transaction API is used to verify the status of a specific transaction before performing subsequent operations, such as refunds.
What is checkSum and why is it important?
checkSum is a 128-bit MD5 hash of the bankAccount and username values, ensuring the integrity and security of the request. It helps to authenticate that the data has not been altered during transmission.
If the Check Transaction API returns a status of "FAILED", what does that mean?
A "FAILED" status may indicate that the transaction code or order ID is invalid, or the transaction has been canceled. You should verify the input information or contact support.
How to handle common errors when using the Check Transaction API?
Common errors include:
Incorrect input information (bankAccount, value, or checkSum is inaccurate).
Expired or invalid token.
Connection failure. Ensure that you have thoroughly checked all information and the token before calling the API.
Can I check the status of any transaction using this API?
You can only check the status of transactions that have been processed through the VietQR system, and you must provide accurate information corresponding to the transaction code or order ID.