UNPKG

@kwikpik/server-libs

Version:

Kwikpik-Server-Libs ===================================================================================================================================================================================================

26 lines (25 loc) 704 B
export interface PalmpayConfig { appId?: string; environment?: "test" | "production"; } declare class PalmpayPaymentModule { private $; private mutableHeaders; constructor(config?: PalmpayConfig); private composeSignature; createVirtualAccount( virtualAccountName: string, licenseNumber: string, email: string, customerName: string, secret: string ): Promise<import("../../utils/http").ResponseInterface<any>>; } /** * * @param opts Palmpay configuration. {@link PalmpayConfig | See Implementation}. * @returns */ export declare const initializePalmpayPaymentModule: (opts?: PalmpayConfig) => PalmpayPaymentModule; export {}; //# sourceMappingURL=palmpay.d.ts.map