Help Article

Ask our Business Community

Get started and join the conversation to use PayPal for business in the Headstart Community.

Why did I get API error code 10415?

Issue
PayPal returned API error code 10415 - The transaction was refused because of an invalid argument.

Cause
The DoExpressCheckoutPayment API returns this error if a successful transaction has already completed for the Express Checkout token.

Solution
Here's how to resolve this issue:
  • Use the GetExpressCheckoutDetails API with the same token to get transaction information, including the Transaction ID.
  • Use the TransactionSearch API to find the transaction.
  • If the transaction was created with an Invoice ID, use the Invoice ID as a parameter to the TransactionSearch API, or you can limit the search to a specific date and time range.
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.