User's Guide

Table Of Contents
Using the Permissions Service
Granting Permission to Access Account Holder Information
2
22 May 2012 PayPal Permissions Service
Granting Permission to Access Account Holder Information
After you have created an authentication header as described above, you can call
GetBasicPersonalData and GetAdvancedPersonalData to obtain basic and advanced
information about the account holder.
Basic information includes the following:
First Name
Last Name
Email
Full Name
Business Name
Country
PayerID
Advanced information includes the following:
Date of birth
Postcode
Street1
Street2
City
State
Phone
These two API calls work like all other APIs in PayPal – if you have permission, the call will
succeed; if not, the call will fail. For both APIs, if the account holder has not given consent to
access the requested data, the service will return an error indicating that you do not have
permission to perform the action on behalf of another user.
The form of the call is as follows:
curl -s --insecure ^
-H "X-PAYPAL-AUTHORIZATION: token=...,signature=..., timeStamp=..." ^
-H "X-PAYPAL-REQUEST-DATA-FORMAT:NV" ^
-H "X-PAYPAL-RESPONSE-DATA-FORMAT:NV" ^
-H "X-PAYPAL-APPLICATION-ID:APP-1JE4291016473214C" ^
-d "attributeList.attribute(0)=http://axschema.org/contact/email^
&attributeList.attribute(1)=http://schema.openid.net/contact/fullname^
&requestEnvelope.errorLanguage=en_US"
https://svcs.paypal.com/Permissions/GetBasicPersonalData