UNPKG

@spreeloop/orange_money

Version:
23 lines 1.48 kB
import { OrangeMoneyPaymentConfigs } from '../utils/joi_schema'; import { GetOrangeMoneyPaymentRequest, GetOrangeMoneyPaymentResponse } from '../utils/request_model'; /** * Gets the mobile payment status. * * @param {Object} options - The options object. * @param {GetOrangeMoneyPaymentRequest} options.mobileStatusVerificationParams - The parameters for mobile status verification. * @param {string} endPoint - The init payment end point. * @param {OrangeMoneyPaymentParams} paymentServiceConfig - The mobile payment config parameters. * - {TargetEnvironment} PaymentServiceConfig.targetEnvironment - The target environment. * - {string} PaymentServiceConfig.apiUserName - The api user name. * - {string} PaymentServiceConfig.xAuthToken - The x-auth-token. * - {string} PaymentServiceConfig.apiPassword - The api password. * - {string} [PaymentServiceConfig.orangeMoneyVersion] - The orange money version. * - {LoggerInterface} PaymentServiceConfig.logger - The logger interface. * @return {Promise<GetOrangeMoneyPaymentResponse>} The promise that resolves to the mobile payment check status response. */ export declare function getPaymentStatus({ mobileStatusVerificationParams, paymentServiceConfig, endPoint, }: { mobileStatusVerificationParams: GetOrangeMoneyPaymentRequest; paymentServiceConfig: OrangeMoneyPaymentConfigs; endPoint: string; }): Promise<GetOrangeMoneyPaymentResponse>; //# sourceMappingURL=get_payment_status.d.ts.map