- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
while creating marchant using angular js ,we are getting below error.please help me
error :
- debug_id:"fb435045b9a38"
- message:"Caller is not authorized to access this resource"
- name:"AUTHORIZATION_ERROR"message :
$http({
url: 'https://api.sandbox.paypal.com/v1/customer/partners/merchant-accounts',
method: 'POST',
headers: {
'Content-Type': 'application/json',
'Authorization': 'Bearer ' + accessKey,
'Accept-Language': 'en_US',
'Access-Control-Allow-Origin': '*',
'Access-Control-Allow-Methods': 'GET, POST, PUT',
'Access-Control-Allow-Headers': 'x-requested-with, Content-Type, origin, authorization, accept, client-security-token'
},
contentType: 'application/json',
data:inputdata
}).then(function mySuccess(response) {
var res = response.data;
}, function myError(response) {
var res1 = response.data;
});
Solved! Go to Solution.
Accepted Solutions

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I've replied to your request in the separate post you created
Was my post helpful? If so, please give me a kudos!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Please tell me the email address for the sandbox account submitting this request and I'll review the account
Was my post helpful? If so, please give me a kudos!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I've replied to your request in the separate post you created
Was my post helpful? If so, please give me a kudos!

Haven't Found your Answer?
It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.
- How to validate data existence on PayPal side in REST APIs
- Selected Shipping Method amount not updating to cart for card payment in SDKs
- rest api in Sandbox Environment
- ExpressCheckout to REST API - Is Partner Program Now Required to Host Simple 3rd Party Transactions? in REST APIs
- Are there any restrictions to charge using only html, vanilla javascript and php with rest api? in REST APIs