parseRaastQr
function parseRaastQr(payload): | ParsedRaastQr | null;Defined in: raast.ts:421
Parses a Raast QR payload: either a person-to-person QR (payload format
02) or an EMVCo merchant QR (payload format 01), and verifies its CRC.
Parameters
Section titled “Parameters”| Parameter | Type | Description |
|---|---|---|
payload |
string |
Text decoded from the QR code |
Returns
Section titled “Returns”| ParsedRaastQr
| null
Parsed details, or null if the payload is not a well-formed Pakistani QR code