Third party permissions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello, this is my first time posting.
Im currently playing around in the sandbox, i have managed to request tokens properly and i have also made a login button according to the following:
https://developer.paypal.com/docs/integration/direct/identity/button-js-builder/ (based on my client id)
set the scope to the following:
scope='openid https://uri.paypal.com/services/invoicing'
When i push the button, i login with a third party account, grant access.
All this works. But after this, the instructions end. When i try to create a draft on behalf of the third party email i get 401.:
{"name":"AUTHORIZATION_ERROR","message":"Authorization error occurred.","information_link":"https://developer.paypal.com/docs/api/invoicing/#errors","debug_id":"32fd46ef4ecf6"}
what am i missing here? do i need to provide other information rather than my bearer token? When i try to create a draft but with my client_id affiliated email address it works.
All help appriciated. Thanks

Haven't Found your Answer?
It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.
- Payment Integration with third party software in PayPal Payments Standard
- Rest API capture order (sandbox) in REST APIs
- Please enable the shipment tracking API permission for my sandbox account in Sandbox Environment
- Onboard Sellers country limitations: what does it mean that a county is "send-only"? in REST APIs
- error "Authorization failed due to insufficient permissions." with prestashop checkout in Sandbox Environment