Developer's Guide

Table Of Contents
Supported Formats, URLs and HTTP Request Headers
Supported Formats
2
24 May 2012 Adaptive Accounts Developer Guide
Supported Formats
Adaptive Accounts supports both RESTful and SOAP-based web services. When making
RESTful calls, you can use the following data formats:
XML
Name-value pair (NV)
JSON
HTTP Request Headers
Required HTTP Request Headers
Optional HTTP Request Headers
Header Description
X-PAYPAL-SECURITY-USERID Your API username as assigned to you on x.com.
X-PAYPAL-SECURITY-PASSWORD Your API password as assigned to you on x.com.
X-PAYPAL-SECURITY-SIGNATURE Your API signature. This header is only required if you use
3-token authorization. Do not pass this header if you use a
certificate.
X-PAYPAL-APPLICATION-ID Your application’s identification, which is issued at x.com.
X-PAYPAL-DEVICE-IPADDRESS The IP address of the caller. This header is required for
CreateAccount requests.
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
Header Description
X-PAYPAL-SANDBOX-EMAIL-ADDRESS The email address that the API caller uses to log into the
sandbox or beta sandbox; not required outside of the
sandbox.