Authentication API

post/passport/oauth/token

Request

  • Base URL
    https://apps.qa.interswitchng.com
  • URL
    https://apps.qa.interswitchng.com/passport/oauth/token
  • Auth
    none required

Query parameters

grant_typestring

Headers

Authorizationstring required

Set value to "Basic Base64(CLIENT_ID:SECRET_KEY)"

Content-Typestring

Response

200

access_tokenstring
token_typestring
expires_ininteger
scopestring
jtistring

Example response

{
  "access_token": "eyJhbGciOiJSUzI1NiJ9.eyJhdWQiOlsicGFzc3BvcnQiXSwic2NvcGUiOlsicHJvZmlsZSJdLCJleHAiOjMwMTg1Mjk4ODksImp0aSI6IjBlYWYwMWIzLTM4M2QtNDFkNi1hOTgzLWI3OTIwNDU3ODBjMyIsImNsaWVudF9pZCI6InRlc3RjbGllbnQifQ.OaLlGSTLFHGu7553HNhzuBOIiQvdiNVNPAm5-opCq7JPugEG2ubPtLZLu2znr0aJkHR0BGiV2e9ZSrkp6cxYoT74SvY9b-2AE9giNdWpPgWMO6HqadL9re6ojkl9YU9uW_okjYUhTa-P_jOtWYUhbqi02SyUrN8m-SNI29IZPS-Q2J9Aq9zARiW7dVZWMBC8GHR_IL8V-GozaG782kIEUcBNfDGRnttV5qJwVpXomzyKlZDwEZKPOewh_1NVPvv7hDi79OfN63PiENvM4XLzDW9rFgKrRb6x43dpLfnoie1Id39eiCLGKX8ykrVEFg94jp1JCDpEDaexCcf05Dz5ag",
  "token_type": "bearer",
  "expires_in": 43199,
  "scope": "profile",
  "jti": "0eaf01b3-383d-41d6-a983-b792045780c3"
}

Changes

No recorded changes to this operation across all 1 revision of this API.