@spreeloop/orange_money
Version:
A orange money api integration package
11 lines • 562 B
TypeScript
import { OrangeMoneyPaymentConfigs } from '../utils/joi_schema';
import { GetAccessTokenResponse } from '../utils/request_model';
/**
* Gets the access token for the API.
*
* @param {OrangeMoneyPaymentParams} paymentConfig - The payment configuration.
* @param {string} endPoint - The end point route.
* @return {Promise<GetAccessTokenResponse>} The access token response.
*/
export declare const getAccessToken: (paymentConfig: OrangeMoneyPaymentConfigs, endPoint: string) => Promise<GetAccessTokenResponse>;
//# sourceMappingURL=get_access_token.d.ts.map