UNPKG

afrimomo-sdk

Version:

A unified SDK for African payment providers

20 lines 852 B
import { OneKhusaCollections } from "./collections"; import { OneKhusaDisbursements } from "./disbursements"; import type { OneKhusaEnvironment, OneKhusaErrorResponse } from "./types/common"; export * from "./types"; export declare class OneKhusa { private readonly network; private readonly tokenManager; private readonly _collections; private readonly _disbursements; private readonly environment; constructor(apiKey: string, apiSecret: string, organisationId: string, environment?: OneKhusaEnvironment, sandboxUrl?: string, productionUrl?: string); get collections(): OneKhusaCollections; get disbursements(): OneKhusaDisbursements; checkStatus(): Promise<{ available: boolean; environment: string; } | OneKhusaErrorResponse>; clearTokenCache(): void; } //# sourceMappingURL=index.d.ts.map