UNPKG

node-pix-payload

Version:

This library that aims to build the payload of pix payment, with this payload the developer can generate the qr code payable or pay informed the same in the bank's app.

18 lines (17 loc) 830 B
export declare const setPixKey: (pixKey: string) => void; export declare const setUniquePayment: (uniquePayment: boolean) => void; export declare const setUrl: (url: string) => void; export declare const setDescription: (description: string) => void; export declare const setMerchantName: (merchantName: string) => void; export declare const setMerchantCity: (merchantCity: string) => void; export declare const setTxid: (txid: string) => void; export declare const setAmount: (amount: string | number) => void; export declare const setCountryCode: (countryCode: string) => void; /** * this method is responsible for generate the full pix payload code */ export declare const getData: () => Promise<{ text_payload: string; qrcode_payload: string; outPut: (path: string, format?: 'png' | 'svg' | 'utf8') => void; }>;