Identity API - Get User Information Missing Fields
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi everyone,
I've been using the Identity API to allow users to log in to my website in a sandbox environment. I need to be able to distinguish between personal and business accounts and need access to the account_type field for each user.
However, when I send a request to https://api.sandbox.paypal.com/v1/oauth2/token/userinfo?schema=openid, I receive information besides the account_type field, though my application is set up to return that information (Account Type is selected under Advanced Settings and I include https://uri.paypal.com/services/paypalattributes in my scope when generating an access token).
The documentation here states that it is possible to access this information, but I'm unable to access it through my request.
I'm looking for some help to gain access to the account_type field.
Thank you!
Abhi Upadhyay
- Labels:
-
Payments REST APIs
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

Haven't Found your Answer?
It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.
- Country is some times not added to the CSV report in PayPal Reporting
- Partner-referrals 403 -> Authorization failed due to insufficient permissions. in REST APIs
- Webhook Data Discrepancies Between Live and Sandbox Environments in REST APIs
- The current address of the company in REST APIs
- Enable PayPal Billing Address Request on sandbox account in REST APIs