Why did I get API error code 10620?

This error can occur for one of the following API methods and means that the order has already been voided, expired, or completed:

  • DoAuthorization.
  • DoCapture.
  • DoVoid.

You can use the GetTransactionDetails API to determine the current payment status of an order. For example, if GetTransactionDetails returns a payment status of "Voided," you don't need to use DoVoid because the order is already void.

Note: Don't retry the same API call against the same transaction after receiving this error because the result won't change.

GetTransactionDetails API Operation (NVP).

See the Developer Portal for a complete list of NVP/SOAP API error codes.

More ways we can help

If you accept cookies, we'll use them to improve and customise your experience and enable our partners to show you personalised PayPal ads when you visit other sites. Manage cookies and learn more