).createOrder request:
curl -v -X POST https://api.sandbox.paypal.com/v2/checkout/orders -H "Content-Type: application/json" -H "Authorization: Bearer aa" -d '{
"intent": "CAPTURE",
"purchase_units": [
{
"amount": {
"currency_code": "USD",
"value": "18.00"
}
,"payee":{
"email_address":"aaa",
"merchant_id":"GHSVFMCN6"
}
}
]
}'
).createOrder response
{"id":"1KR02119BX343853C","links":
... View more