Accessing the Client API via JSONP

Most methods in the Client API can be accessed via JSONP. Instead of issuing a POST request, methods are invoked as:
  1. curl
curl -X GET http://client-api.endpoint?_method=POST&callback=myCallbackName
Responses will invoke myCallbackName with the JSON returned by the API. In addition to their normal content, response objects will contain a status key corresponding to the HTTP status code the request would have returned if the request had not been a JSONP request. An error response will be returned for unsuccessful requests.

If you accept cookies, we’ll use them to improve and customize your experience and enable our partners to show you personalized PayPal ads when you visit other sites. Manage cookies and learn more