Payout API return 403 error message REQUIRED_SCOPE_MISSING
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Whenever i make request to payout api it return with an error
{"name":"REQUIRED_SCOPE_MISSING","message":"Access token does not have required scope.","information_link":"https://developer.paypal.com/docs/api/payments.payouts-batch/#errors"}
Please find paypal debug id: ee68f9fcc3b72
Where as i've access to that particular api (payments/*), as mention in below response while asking for auth token
{"scope":"https://uri.paypal.com/services/subscriptions https://api.paypal.com/v1/payments/.* https://api.paypal.com/v1/vault/credit-card openid https://api.paypal.com/v1/vault/credit-card/.*","nonce":"2017-10-09T15:11:34ZrOVAhzR0DOlRahKek1cOqNPcH79dalGu2dDfLu-4znk","access_token":"A21AAGdVxjYtvr70kr-LmG-75XqeK1kO3JdGVh6ddCxBV5bVlU2prdW6cmxFJ2wZOuzapvvHkrB8EzcEiDb9YXnveB0nGvwVw","token_type":"Bearer","app_id":"APP-80W284485P519543T","expires_in":32399}
I've tried this on sandbox and live account both but failed everytime.
I've verified and double check the following, please let me know if i'm missing anything else.
- I whitelisted my account via customer service where it says only whitelisted account may use Mass Payments.
- Payouts is enabled in my developer dashboard application portal (double verified)
- Payouts is enabled on both sandbox and live on this page (https://developer.paypal.com/developer/accountStatus/)
P.S: I've tried MassPayment API as well, it was working on sandbox but not on live environment. But i want to use Payout API since MassPayment is deprecated.
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi, checking the debugID looks like your request is not passing the payouts scope, that would be required for payouts API. Try to pass in your request for the access token the scope: https://uri.paypal.com/payments/payouts
Here what I see:
"scopes":[
"https://uri.paypal.com/services/subscriptions",
"https://api.paypal.com/v1/payments/.*",
"https://api.paypal.com/v1/vault/credit-card",
"openid","https://api.paypal.com/v1/vault/credit-card/.*"]
Haven't Found your Answer?
It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.
- IPN works in sandbox but not live in Sandbox Environment
- Change the button from Sandbox to Production in REST APIs
- When I do PayPal capture Order, I keep on getting Invalid Request Connection in REST APIs
- Getting an error when trying to create an order. in REST APIs
- Website payment preferences, auto return stopped working with new subscription payment button in PayPal Payments Standard