The instructions, parameters and values to generate the OAuth2.0 token are presented for security purposes within the Developer's section of the Merchant Portal for the corresponding environment.
curl --location --request POST 'https://merchant-aut.stg.paypaga.com/oauth2/token' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--data-urlencode 'grant_type=client_credentials' \
--data-urlencode 'client_id=[YouClientID]' \
--data-urlencode 'client_secret=[YouClientSecret]'
{
"access_token": "xxxxx.yyyyy.zzzzz",
"expires_in": 300,
"token_type": "Bearer"
}