3️MQTT Receive Balance Change

Receive balance changes after performing a transaction.

MQTT Transaction Alerts

mqtt://<vietqr-port>/vietqr/bdsd/{terminalCode}

Message

Param
Type
Description

bankAccount

String

The account number that will receive the funds.

amount

Long

The amount of money received.

transType

String

The type of transaction.

referenceNumber

String

The reference code for the transaction.

orderId

String

The order number associated with the transaction.

content

String

The content or description of the transfer.

status

String

The current status of the transfer.

timePaid

String

The timestamp of when the payment was made.

Sample

{
  "bankAccount": "9876543210",
  "amount": 25000.0,
  "timePaid": "01/09/2024 14:30:00",
  "transType": "C",
  "referenceNumber": "TXN876543210123",
  "content": "SampleTransaction Payment",
  "status": 1
}

Last updated