Create Merchant Account Via REST API gives "Caller is not authorized to access this resource"

cujo30227
Contributor
Contributor

Hi,

 

I'm trying to create a merchant-acount as a part of the managed onboarding i'm trying to implement on my javascript driven back end.

After successfully receiving the token, I’m making a call to https://api.sandbox.paypal.com/v1/customer/partners/merchant-accounts with a valid JSON, and getting the response:

 

{"readyState":4,"responseText":"{\"name\":\"AUTHORIZATION_ERROR\",\"message\":\"Caller is not authorized to access this resource\",\"debug_id\":\"a52fd95f330cd\"}","responseJSON":{"name":"AUTHORIZATION_ERROR","message":"Caller is not authorized to access this resource","debug_id":"a52fd95f330cd"},"status":401,"statusText":"Unauthorized"}

 

My Sandbox ID is:

 

AQcpzzCiTy3f_arATNrrTIlRjsAjcl7gz-SFmd_S6EpaaxlZSyWu_oKTwZ1r5vcRzq62bAzWlnxl4N_v

 

Can you please help?

 

Thanks!

Login to Me Too
1 ACCEPTED SOLUTION

Accepted Solutions
Solved

MTS_Justin
Moderator
Moderator
Hello,

Yes, it is too bad it's not generally available yet, we were hoping to have it live sooner than currently projected.

You can registered your interest if your country is listed within the "country" drop-down on the following page :

https://www.paypal.com/uk/webapps/mpp/partner-program/contact-us?ref=marketplace

Realistically, we're looking at Q4 2018 / 2019 before it would be generally available.

In regards to the API best suited for peer-to-peer payments, I'd say Express Checkout via JSv4 -- https://developer.paypal.com/docs/integration/direct/express-checkout/integration-jsv4/

Was my post helpful? If so, please give me a kudos!

View solution in original post

Login to Me Too
8 REPLIES 8

MTS_Justin
Moderator
Moderator
Hello,

You need special permission added to your account in order to be able to onboard other accounts. I've enabled that functionality on your account now.

Was my post helpful? If so, please give me a kudos!
Login to Me Too

cujo30227
Contributor
Contributor

Hi Justin,

Thanks for your response. I tried again, but still receive the same error:

​{"readyState":4,"responseText":"{\"name\":\"AUTHORIZATION_ERROR\",\"message\":\"Caller is not authorized to access this resource\",\"debug_id\":\"a383b15340d31\"}","responseJSON":{"name":"AUTHORIZATION_ERROR","message":"Caller is not authorized to access this resource","debug_id":"a383b15340d31"},"status":401,"statusText":"Unauthorized"}
 
Please advise.
 
Thanks
Login to Me Too

MTS_Justin
Moderator
Moderator
Hello,

I've spoken to the marketplaces team in relation to testing in the sandbox environment and it's not currently available which is why we're having trouble getting the account setup for you.

The product isn't generally available yet, in sandbox or production. There is currently no ETA either, although we anticipate sometime in 2018, Q3 or Q4.

Apologies for any inconvenience


Was my post helpful? If so, please give me a kudos!
Login to Me Too

cujo30227
Contributor
Contributor

Hi Justin,

Thanks for the reply. Shouldn't this be explicitly mentioned on the Developer page? The Marketplace API is fully featured/described, completely with examples. We spend a few days integrating this in our codes, and now we cannot use it?

Perhaps you could refer to an alternative? We are basically planning to setup a peer-to-peer payment option in our Marketplace. The peers ('merchants') are non-business account owners. We were planning to have them register themselves on our marketplace and then use the Order API to handle the peer-to-peer payments.

Thanks, Jaap

Login to Me Too

cujo30227
Contributor
Contributor

BTW: this user experienced the same problem, and apparently here it was resolved: https://www.paypal-community.com/t5/Sandbox-Environment/Create-Merchant-Account-Via-REST-API-gives-q...

Login to Me Too

MTS_Justin
Moderator
Moderator
Hello,

It does state on the developer page that it's not generally available - Important: PayPal for Marketplaces is available to select partners for approved use cases.

The user thread you referenced to was a fringe case and should not have been enabled on that account.

Was my post helpful? If so, please give me a kudos!
Login to Me Too

cujo30227
Contributor
Contributor

Thanks Justin, too bad it isn't available yet.

Any recommendation which API is best suited for peer-to-peer payments amongst non-business account users?

Thanks!

Login to Me Too
Solved

MTS_Justin
Moderator
Moderator
Hello,

Yes, it is too bad it's not generally available yet, we were hoping to have it live sooner than currently projected.

You can registered your interest if your country is listed within the "country" drop-down on the following page :

https://www.paypal.com/uk/webapps/mpp/partner-program/contact-us?ref=marketplace

Realistically, we're looking at Q4 2018 / 2019 before it would be generally available.

In regards to the API best suited for peer-to-peer payments, I'd say Express Checkout via JSv4 -- https://developer.paypal.com/docs/integration/direct/express-checkout/integration-jsv4/

Was my post helpful? If so, please give me a kudos!
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.