MQTT Transaction Information Inquiry

Inquire about transaction information

MQTT Request Check Transaction

mqtt://<vietqr-port>/vietqr/request-status/{terminalCode}

Message

Param
Type
Description

bankAccount

String

Recipient bank account number.

type

int

Type of inquiry (0: check by OrderId, 1: check by ReferenceNumber).

value

String

Value to check (OrderId or ReferenceNumber).

checkSum

String

Security check code generated from bankAccount and userBankName.

Note

The "checkSum" will be provided by the customer:

  • Combine bankAccount and userBankName into a single string.

  • Hash that string using the MD5 algorithm.

  • The MD5 hash will be used as the checksum.

Sample

{
  "bankAccount": "1234567890",
  "type": 0,
  "value": "ORD98765XYZ",
  "checkSum": "abc1234567890def1234567890abcdef"
}

Last updated