@spreeloop/mtn_momo
Version:
A mtn momo api integration package
10 lines • 512 B
TypeScript
import { GetAccessTokenResponse, MtnMomoPaymentConfigs } from "../utils/request_model";
/**
* Gets the access token for the API.
*
* @param {MtnMomoPaymentParams} paymentConfig - The payment configuration.
* @param {string} endPoint - The end point route.
* @return {Promise<GetAccessTokenResponse>} The access token response.
*/
export declare const getAccessToken: (paymentConfig: MtnMomoPaymentConfigs, endPoint: string) => Promise<GetAccessTokenResponse>;
//# sourceMappingURL=get_access_token.d.ts.map