Adaptive API

API

Last updated: Aug 15th, 7:20am

The Adaptive Platform includes Adaptive Accounts, Adaptive Payments, the Invoicing Service, and the Permissions Service.

API / ServiceAuthenticationFormatLive and Sandbox Endpoints
Adaptive AccountsJSON, NVP, SOAP, XMLAppIDhttps://svcs.paypal.com/AdaptiveAccounts/<API-Operation>
https://svcs.sandbox.paypal.com/AdaptiveAccounts/<API-Operation>
Adaptive PaymentsJSON, NVP, SOAP, XMLAppIDhttps://svcs.paypal.com/AdaptivePayments/<API-Operation>
https://svcs.sandbox.paypal.com/AdaptivePayments/<API-Operation>
Invoicing ServiceJSON, NVP, SOAP, XMLAppIDhttps://svcs.paypal.com/Invoice/<API-Operation>
https://svcs.sandbox.paypal.com/Invoice/<API-Operation>
Permissions ServiceJSON, NVP, SOAP, XMLAppIDhttps://svcs.paypal.com/Permissions/<API-Operation>
https://svcs.sandbox.paypal.com/Permissions/<API-Operation>

Specify the JSON, NVP, or XML data format

Use the HTTP header X-PAYPAL-REQUEST-DATA-FORMAT to specify the data format the request body. You can send messages in the JSON, NVP or XML format. Use the X-PAYPAL-RESPONSE-DATA-FORMAT header to specify the data format for the response.

Table 2. HTTP Headers for JSON, NVP, and XML Data Formats
Header Description
X-PAYPAL-REQUEST-DATA-FORMAT The payload format for the request. Allowable values are:
  • NV — Name-value pairs
  • XML — Extensible markup language
  • JSON — JavaScript object notation
X-PAYPAL-RESPONSE-DATA-FORMAT The payload format for the response. Allowable values are:
  • NV — Name-value pairs
  • XML — Extensible markup language
  • JSON — JavaScript object notation

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