Skip to content

Instantly share code, notes, and snippets.

@jcleblanc
Created June 16, 2016 14:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jcleblanc/492ac43089c550692617731184e9a010 to your computer and use it in GitHub Desktop.
Save jcleblanc/492ac43089c550692617731184e9a010 to your computer and use it in GitHub Desktop.
curl https://svcs.sandbox.paypal.com/Permissions/RequestPermissions -s --insecure -H "X-PAYPAL-SECURITY-USERID: caller_1312486258_biz_api1.gmail.com" -H "X-PAYPAL-SECURITY-PASSWORD: 1312486294" -H "X-PAYPAL-SECURITY-SIGNATURE: AbtI7HV1xB428VygBUcIhARzxch4AL65.T18CTeylixNNxDZUu0iO87e" -H "X-PAYPAL-REQUEST-DATA-FORMAT: JSON" -H "X-PAYPAL-RESPONSE-DATA-FORMAT: JSON" -H "X-PAYPAL-APPLICATION-ID: APP-80W284485P519543T" -d '{"scope":"EXPRESS_CHECKOUT", "callback":"http://www.example.com/success.html", "requestEnvelope": { "errorLanguage":"en_US" }}'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment