afrimomo-sdk
Version:
A unified SDK for African payment providers
13 lines • 816 B
TypeScript
import type { NetworkResponse } from "@afrimomo-sdk/types";
import { BaseService } from "@afrimomo-sdk/utils/baseService";
import type { NetworkManager } from "@afrimomo-sdk/utils/network";
import type { PayoutTransaction, PawaPayPayoutTransaction } from "@afrimomo-sdk/services/pawapay/types/payout";
export declare class PawapayPayouts extends BaseService {
private readonly networkHandler;
private readonly baseEndpoint;
constructor(networkHandler: NetworkManager);
sendPayout(transaction: PayoutTransaction): Promise<PawaPayPayoutTransaction | NetworkResponse>;
sendBulkPayout(transactions: PayoutTransaction[]): Promise<PawaPayPayoutTransaction[] | NetworkResponse>;
getPayout(depositId: string): Promise<PawaPayPayoutTransaction | NetworkResponse>;
}
//# sourceMappingURL=index.d.ts.map