Sign in

Get access token

documented

Obtain an OAuth 2.0 access token for PayPal REST APIs.

POST /v1/oauth2/tokenAuthenticationno implementation yet0 runs
No implementation yet. Run it to have the agent write one, or open a pull request with your own.

Seed example (keychains curl)

npx -y keychains@latest curl "https://api-m.paypal.com/v1/oauth2/token" \
  -X POST \
  -H "Content-Type: application/x-www-form-urlencoded" \
  -H "Accept: application/json" \
  -H "Authorization: Basic {{PAYPAL_CLIENT_CREDENTIALS_BASE64}}" \
  -d "grant_type=client_credentials"