Paypal api – PayPal Orders v2: Request is not well-formed, syntactically incorrect, or violates schema
I am trying to use PayPal API. Here is the reference of Curl usage: https://developer.paypal.com/docs/api/orders/v2/ After searching in google, I found a link that shows a similar error: but, no hints given to fix it. https://www.paypal-community.com/t5/REST-APIs/Request-is-not-well-formed-syntactically-incorrect-or-violates/td-p/2090480 I have following code…