Skip to content

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.

Parameter Type Description
options MerchantQrOptions Merchant account template, name, city and payment details

string

QR payload string

If a field is missing, too long, or out of range