Help Article

Why did I get API error code 10007?

Issue
PayPal returned API error code 10007 - Permission denied - You don't have permission to make this API call.

Cause
Your attempt to refund a transaction failed for one of these reasons:
  • You used the wrong transaction ID.
  • You're trying to make the call for a third party and have the wrong email address in the subject.
  • The subject account hasn't given you permission to make the third-party call.

Solution
Verify that your API call includes the correct transaction ID and correct email address, and that you have permission to make third-party calls for this account.
We’re sorry, the page you’re looking for is no longer available. Please try your search again in our Help Center if you have a question or want to contact us.