UNPKG

@spreeloop/orange_money

Version:
12 lines 662 B
import { OrangeMoneyPaymentConfigs } from '../utils/joi_schema'; import { GetPayTokenResponse } from '../utils/request_model'; /** * Gets a pay token using the provided payment configuration. * * @param {OrangeMoneyPaymentConfigs} paymentConfig - The payment configuration. * @param {string} accessToken - The payment configuration. * @param {string} endPoint - The payToken endpoint. * @return {Promise<GetPayTokenResponse>} The generated pay token response. */ export declare const getPayToken: (paymentConfig: OrangeMoneyPaymentConfigs, accessToken: string, endPoint: string) => Promise<GetPayTokenResponse>; //# sourceMappingURL=get_pay_token.d.ts.map