Sandbox

curl -v POST https://api.sandbox.paypal.com/v1/oauth2/token \
-H “Accept: application/json” \
-H “Accept-Language: en_US” \
-u “AcaOKE8ik5yiwB6Kfxvg5MwF9ekMRc1sEDIQQW9v0j3BMvGDaJ2ioIKVee2_XteDDL6p1AJxaKPy26CK:EETGkSn8nx2Q9a3nBpcKa738OpROUukHbkuHVyMuUUwgva33nX8Uulreq8L0AeylS3dl4ThuNL67QOvM” \
-d “grant_type=client_credentials”

curl -v POST https://api.sandbox.paypal.com/v1/oauth2/token \
-H “Accept: application/json” \
-H “Accept-Language: en_US” \
-u “:” \
-d “grant_type=client_credentials”