Cut and pasted the client-id and secret from paypal and ran curtl. Got error: Authentication failed due to invalid authentication credentials or a missing Authorization header curl -v https://api.sandbox.paypal.com/v1/oauth2/token \ -H "Accept: application/json" \ -H "Accept-Language: en_US" \ -u "AZ6vrGhfA5f-zR0gdirUpbWapbUqiBColnWDS6K-Zt2o97YpiloVQfblmx7Myo81UxRISG9iAQOYXibf:EKiLBg_Gk3laseFdBCQvO9R7WvbOYNpiBjx2qcKLZTS9sWOMC3D17-oRYo635j6PBw43km0ECSUtMwx2" \ -d "grant_type=client_credentials" (double checked the clientid and secret)
... View more