Skip to content

ParsedRaastQr

Defined in: raast.ts:128

Result of parseRaastQr.

Property Type Description
kind "p2p" | "merchant" p2p for person-to-person QR codes, merchant for EMVCo merchant QR codes.
dynamic boolean Whether the QR carries a fixed amount (point of initiation 12).
crcValid boolean Whether the CRC checksum matches.
iban string | null Payee IBAN, if one is present.
ibanValid boolean Whether iban passes the IBAN checksum.
amount number | null -
expiresAt string | null P2P: expiry of a dynamic QR as local YYYY-MM-DDTHH:mm.
bankName string | null P2P: bank name.
particulars string | null P2P: payment description.
merchantName string | null -
city string | null -
mcc string | null -
billNumber string | null -
dueDate string | null Due date as YYYY-MM-DD.
amountAfterDueDate number | null -
fields EmvField[] All top-level fields, with template fields parsed into children.