UNPKG

upiqrcode

Version:

Unofficial UPI QR code generator for Node.js with TypeScript support. Educational project - not affiliated with NPCI or financial institutions.

19 lines (18 loc) 651 B
interface UpiqrcodeParams { payeeVPA?: string; payeeName?: string; payeeMerchantCode?: string; transactionId?: string; transactionRef?: string; transactionNote?: string; amount?: string; minimumAmount?: string; currency?: string; transactionRefUrl?: string; } interface UpiqrcodeResult { qr: string; intent: string; } declare function upiqrcode({ payeeVPA: pa, payeeName: pn, payeeMerchantCode: me, transactionId: tid, transactionRef: tr, transactionNote: tn, amount: am, minimumAmount: mam, currency: cu, transactionRefUrl: url, }: UpiqrcodeParams): Promise<UpiqrcodeResult>; export default upiqrcode;