Skip to content

Instantly share code, notes, and snippets.

@wehub
Created April 21, 2017 16:37
Show Gist options
  • Select an option

  • Save wehub/76c35daff008d95031982fef7e5c837e to your computer and use it in GitHub Desktop.

Select an option

Save wehub/76c35daff008d95031982fef7e5c837e to your computer and use it in GitHub Desktop.
$ curl https://stage.wepayapi.com/v2/checkout/create \
-H "Authorization: Bearer STAGE_8a19aff55b85a436dad5cd1386db1999437facb5914b494f4da5f206a56a5d20" \
-d "account_id=12345" \
-d "amount=19.99" \
-d "currency=USD" \
-d "short_description=Payment for test project" \
-d "type=goods" \
-d "payment_method[type]=preapproval" \
-d "payment_method[preapproval][id]=123"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment