UNPKG

@spreeloop/mtn_momo

Version:
10 lines 512 B
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