How do I use Identity API with my REST API app to obtain customer information?

To enable the Identity API in your REST app, first integrate Log in with PayPal and set a redirect URL for the PayPal Identity API. After you’ve added a Log in with PayPal button, call the Show user profile information method with the desired parameters to obtain the customer information.

We recommend asking your users to share only the minimum amount of information you need. The fewer permissions you request, the more likely your users will grant them. For a complete integration guide, visit our documentation.

More ways we can help

We'll use cookies to improve and customise your experience if you continue to browse. Is it OK if we also use cookies to show you personalised ads? Learn more and manage your cookies