API Authenticate
API Authenticate
API Authentication
Version : 1.0
SANDBOX https://devapi.mvola.mg/token
POST
PRODUCTION https://api.mvola.mg/token
Request
Headers Authorization Basic Base64(consumer-key:consumer-secret)
Content-Type application/x-www-form-urlencoded
Cache-Control no-cache
Body
urlencoded
grant_type client_credentials.
scope EXT_INT_MVOLA_SCOPE
1
HTTP Error standard HTTP response code is used to indicate whether the
request is a success or a failure.
Responses
Upon successful request FOUR (4) attributes will be return among
body which the ACCESS_TOKEN that will be used by the other API
Success
{
"access_token": "<ACCESS_TOKEN>",
"scope": "EXT_INT_MVOLA_SCOPE",
"token_type": "Bearer",
"expires_in": 3600
}