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 @Yakin_shah 


It looks like you've got a good start, but you might be missing scopes if you haven't applied to be a partner. As this link says, you've got to apply using the partner form in order to begin using the PayPal Commerce Platform for Marketplaces. They'll then be able to add the necessary scopes for you.

 

I hope that helps!

-Aaron

 

 

Login to Me Too

yakinshah
Contributor
Contributor
Hi @MTS-Aaron I have already filled out the form that you shared in your above reply for three times. I got to see that form is for US based business. Is the form same if our business is New Zealand based? If yes, can you please see and get the approval or scopes added to our account?
Login to Me Too

MTS-Aaron
PayPal Employee
PayPal Employee

Hi @yakinshah 

 

New Zealand is supported for Partner Onboarding, so there shouldn't be a worry there. You'll have to wait for the confirmation of approval by the partner team as they have to approve each application. Unfortunately, I don't have any insight into that process nor do I have any contacts to reach about that.

 

You could try asking Support through the message center, but I'm not sure if they'd have insight into that either.

 

-Aaron

Login to Me Too

Yakin_shah
Contributor
Contributor

Hi, Thank you for your response, how will I know whether they approved my request or not. API calls are still returning MISSING SCOPE error.

Login to Me Too

yakinshah
Contributor
Contributor

@MTS-Aaron  WE received an email from paypal that they approved mass payments and to wait for 24hours. This email was received on Thursday.

 

Today is Monday, and still we feel there is nothing activated.

Is there a way you can actually escalate it for us, or check in our account of PayPal whether APIs are fully active to receive in our account and split payment to multiple parties after deducting a small fee of our website.

Login to Me Too

MTS-Aaron
PayPal Employee
PayPal Employee

Hi @yakinshah 

 

If the email mentioned you were approved for Mass Payments, that is a different product from the Partner Referrals API. When the partner team approves you for Partner Referrals, there should be information stating such in an email to you. Mass Payments are a different product that must have also been requested by your account. 

 

Unfortunately, this isn't something I can escalate or investigate account-wise. If you'd like, you can reach out to support who can look into your account for you, but there really isn't a way for support to escalate partner approvals. 

 

Hope this helps!
-Aaron

Login to Me Too

yakinshah
Contributor
Contributor

@MTS-Aaron   Hi, I sincerely don't know if i need partner referrals API. It is all the paypal support team has confused us with different directions.

 

*See this is what we need and our use case is:*
We are a ecommerce marketplace where multiple sellers gets onboarded on our website findus.nz

 

All our sellers have their own paypal business account themselves before joining us.

 

These sellers posts their products on our website findus.nz

 

Buyers buys several products across our website(it can be from multiple sellers). I need to get payment on my paypal account, keep my commissions if any, and split the amount among various sellers.

 

So, if mass payments is enabled, will it only solve my purpose? Or, will I need to wait for commerce platform of paypal to resume? I think only mass payments will be perfect. Isn't it?

 

If mass payments can do the doing, can you please confirm, if all the scopes are provided to our account?

 

Also, please share the url of the API documentation of mass payments related.

 

Thank you,

Login to Me Too

MTS-Aaron
PayPal Employee
PayPal Employee

Hi Yakinshah,

 

I do think that you could set things up with just payouts and a checkout flow rather than the partner flow. Masspay/Payouts documentation can be found here. Payouts is pretty much the same as Masspay, it is just the new version. 

 

It all depends on how you'd like to set it up. If you want to receive all of the funds to your account first and then distribute it to the sellers, then payouts would be the best way to go. In which case, your account should be all set up for both payouts and our checkout features. But, if you want the seller (in this case, our Partners Platform only allows for the partner and one seller to receive money at a time. So it wouldn't support your multiple sellers requirement) to receive money while you collect a partner fee at the time of the customer paying, it can do that. Multiple seller support like you're talking about isn't available currently though. 

 

While I can't check your account for you, if you have been approved for MassPay/Payouts, you should have no trouble implementing the checkout without the partners side of things and then receive the money to your account and payout to your sellers through the Payouts product.

 

I hope that helps!

-Aaron

Login to Me Too

yakinshah
Contributor
Contributor

@MTS-Aaron https://developer.paypal.com/docs/payouts/  for this payouts, is there a link from where we can get api keys. I see that in paypal, for several things there is a different process of getting the api.

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.