UNPKG

afrimomo-sdk

Version:

A unified SDK for African payment providers

11 lines 864 B
import { HttpClient } from "./httpClient"; import type { Environment } from "../config/constants"; export declare function createPawapayClient(jwt: string, environment?: Environment, sandboxUrl?: string, productionUrl?: string): HttpClient; export declare function createPaychanguClient(secretKey: string, environment?: Environment, sandboxUrl?: string, productionUrl?: string): HttpClient; export interface OneKhusaTokenProvider { getToken(): Promise<string>; clearToken(): void; } export declare function getOneKhusaTokenUrl(environment: Environment, customSandboxUrl?: string, customProductionUrl?: string): string; export declare function createOnekhusaClient(tokenProvider: OneKhusaTokenProvider, organisationId: string, environment?: Environment, sandboxUrl?: string, productionUrl?: string): HttpClient; //# sourceMappingURL=providerClients.d.ts.map