Partner referrals api sellers onboarding

Yakin_shah
Contributor
Contributor

Hi,

 

My requirement is to pay to different sellers at a time for this I have followed Market places and platform.

For this we need to onboard sellers On boarding sellers.

So for generating pay pal sign up link we need to call Partner referral API.

I have created a live app in my pay pal developer account and I got client ID and Secret Key, using these API credentials I have made a curl request to generate an access token, and access token is generated successfully.

I have used this access token to call partner referral API to generate signup link, for this I have sent a curl request to https://api.paypal.com/v2/customer/partner-referrals giving the access token as authorization bearers in the curl headers.

Then I got an error "User doesn't have this API in their scope". please check the error image, what shall I do to add missing scopes to my app.

Please suggest a way to overcome these errors.

paypal.png

 

Thanks

Login to Me Too
10 REPLIES 10

MTS-Aaron
PayPal Employee
PayPal Employee

Hi @yakinshah 

 

For creating a payout API call, you'll just need an access token. You can see that being used in this doc here.  

 

You can get an access token by following the documentation here. 

 

I hope that helps!

-Aaron

Login to Me Too

Haven't Found your Answer?

It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.