Client Credentials Grant

Table of Contents
POST https://auth.10npay.com/connect/token
Content-Type: application/x-www-form-urlencoded    client_id=client1&
    client_secret=secret&
    grant_type=client_credentials&
    scope=scope1 scope2

(Form-encoding removed and line breaks added for readability)

Sample Response #

HTTP/1.1 200 OK
Content-Type: application/json{
   “id_token”:”eyJhbGcxxxxx.eyJuYxxxxx.NXDxxxxx”,
   “access_token”:”eyJhxxxxx.eyJuYxxxxx.WRxxxxx”,
   “expires_in”:3600,
   “token_type”:”Bearer”,
   “refresh_token”:”povbxxxxx”,
   “scope”:”phone openid profile email xxxxx offline_access”
}

Powered by BetterDocs