Get Access Token

creates an access token to be given to the requesting payer's details

POST /v1/token/get

request

{
  "app_id": "<app_id>",
  "app_secret": "<app_secret>",
  "grant_type": "client_credentials"
}
ParameterTypeDescription
app_idstringDescribes the flow of OAuth2.0.
app_secretstringDescribes the flow of OAuth2.0.
grant_typestringDescribes the flow of OAuth2.0. typically just the string 'client_credentials’.

response

{
  "access_token": "<access_token>",
  "scope": "all",
  "expires_in": 7200
}
ParameterTypeDescription
access_tokenstringAccess to the Payer's detail.
scopestringThe scopes requested by the PingPong for access to the Payer's details. For example: 'all'
expires_innumericValidity of access token.
On this page