afrimomo-sdk
Version:
A unified SDK for African payment providers
10 lines • 655 B
TypeScript
import type { PayChanguInitialPayment } from "@afrimomo-sdk/services/paychangu/types/payment";
import type { PayChanguRedirectAPIResponse, PayChanguErrorResponse, PayChanguVerificationResponse } from "@afrimomo-sdk/services/paychangu/types/response";
export declare class PayChanguNetworkManager {
private readonly axiosInstance;
constructor(secretKey: string);
initiatePayment(data: PayChanguInitialPayment): Promise<PayChanguRedirectAPIResponse | PayChanguErrorResponse>;
verifyPayment(txRef: string): Promise<PayChanguVerificationResponse | PayChanguErrorResponse>;
private setupInterceptors;
}
//# sourceMappingURL=network.d.ts.map