Skip to content

Instantly share code, notes, and snippets.

@eniuz
Created November 19, 2015 10:55
Show Gist options
  • Save eniuz/f809e0299be405fe471f to your computer and use it in GitHub Desktop.
Save eniuz/f809e0299be405fe471f to your computer and use it in GitHub Desktop.
curl paypal nvp
curl -s --insecure https://api-3t.sandbox.paypal.com/nvp -d
"USER={YourUserID}
&PWD={YourPassword}
&SIGNATURE={YourSignature}
&METHOD=SetExpressCheckout
&VERSION=98
&PAYMENTREQUEST_0_AMT=10
&PAYMENTREQUEST_0_CURRENCYCODE=USD
&PAYMENTREQUEST_0_PAYMENTACTION=SALE
&cancelUrl=http://www.example.com/cancel.html
&returnUrl=http://www.example.com/success.html"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment