Authentication
Generating Access Token
The Generate Access Token Service is used to get a valid access token. The access token has to be specified in each request as described in the subparagraphs below.
The validity of the access token is time-limited and after each session, the token is invalidated irrespective of whether the service call resulted in a positive result or a failure. The access token will expire after 2 minutes if it is not used.
Generate access token
POST
https://api.mpayafrica.co.tz/v2/auth
Headers
Request Body
Last updated