UNPKG

sdk-node-apis-efi

Version:

Module for integration with Efi Bank API

20 lines (19 loc) 745 B
export type StaticPixData = { chave: string; merchantName: string; merchantCity: string; transactionAmount?: number; txid?: string; infoAdicional?: string; oneTime?: boolean; merchantCategoryCode?: string; transactionCurrency?: number; countryCode?: string; }; export type StaticPixResponse = { qrcode: string; imagemQrcode: string; }; export declare function computeCRC(value: string): string; export declare function buildPixPayload({ chave, merchantName, merchantCity, transactionAmount, txid, infoAdicional, oneTime, merchantCategoryCode, transactionCurrency, countryCode, }: StaticPixData): string; export declare function createStaticPix(options: StaticPixData): Promise<StaticPixResponse>;