@trowdev/juno-pix-bacen
Version:
Lib para gerar pagamentos com a API do BCB ou com a API do Juno
23 lines (22 loc) • 772 B
TypeScript
declare type ParamsStatic = {
merchantKey: string;
merchantName: string;
amount?: number;
merchantCity?: string;
merchantCep?: string;
description?: string;
identifier?: string;
isUnique?: boolean;
};
export declare function staticPix({ merchantKey, merchantName, amount, merchantCity, merchantCep, description, identifier, isUnique }: ParamsStatic): string;
declare type ParamsDinamic = {
merchantName: string;
merchantCity?: string;
merchantCep?: string;
amount: number;
location: string;
identifier?: string;
isUnique?: boolean;
};
export declare function dinamicPix({ merchantName, merchantCity, merchantCep, amount, location, identifier, isUnique }: ParamsDinamic): string;
export {};