UNPKG

@spreeloop/mtn_momo

Version:
17 lines 1.03 kB
import { GetMtnMomoPaymentRequest, GetMtnMomoPaymentResponse, MtnMomoPaymentConfigs } from "../utils/request_model"; /** * Retrieves the payment status for an MTN MOMO transaction. * * @param mobileStatusVerificationParams - Parameters containing the reference ID for the payment request. * @param paymentServiceConfig - Configuration parameters for the payment service, including API keys and environment settings. * @param endPoint - The API endpoint to check the payment status. * @param accessToken - Optional access token for authorization. * @returns A promise that resolves to the payment status response, including status data or an error type. */ export declare function getPaymentStatus({ mobileStatusVerificationParams, paymentServiceConfig, endPoint, accessToken, }: { mobileStatusVerificationParams: GetMtnMomoPaymentRequest; paymentServiceConfig: MtnMomoPaymentConfigs; endPoint: string; accessToken: string; }): Promise<GetMtnMomoPaymentResponse>; //# sourceMappingURL=get_payment_status.d.ts.map