createMerchantQr
function createMerchantQr(options): string;Defined in: raast.ts:283
Creates an EMVCo merchant-presented QR payload following SBP’s Pakistan QR
standard (currency 586, country PK, CRC in tag 63), including the
Pakistan-specific due-date fields.
SBP leaves the layout of the Raast merchant account template to the scheme
and has shared it only with banks, so pass the template sub-fields your bank
gives you in merchantAccount.
Parameters
Section titled “Parameters”| Parameter | Type | Description |
|---|---|---|
options |
MerchantQrOptions |
Merchant account template, name, city and payment details |
Returns
Section titled “Returns”string
QR payload string
Throws
Section titled “Throws”If a field is missing, too long, or out of range