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

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