smart-upiqr
Version:
Easily generate branded UPI QR codes and payment links with customizable options for JavaScript and Node.js.
25 lines • 686 B
TypeScript
export interface UPILinkOptions {
PayeeUPI: string;
PayeeName: string;
Amount: number;
TransactionNote?: string;
MerchantCode?: string;
TransactionRef?: string;
TransactionId?: string;
invoiceNo?: string;
invoiceDate?: boolean;
QrExpireDays?: number;
QrTimestamp?: boolean;
GSTno?: string;
}
export interface UPIQROptions extends UPILinkOptions {
logo?: string;
logoSize?: number;
color?: {
dark?: string;
light?: string;
};
}
export declare function UPILink(options: UPILinkOptions): string;
export declare function UPIQR(options: UPIQROptions): Promise<string | null>;
//# sourceMappingURL=index.d.ts.map