Why did I get API error code 10401?

The OrderTotal (SOAP) or AMT (NVP) variable in a DoReferenceTransaction, SetExpressCheckout or DoDirectPayment request is missing or invalid.

To resolve this error, check that the OrderTotal or AMT variable is present and greater than zero in your request.

PayPal NVP and SOAP API Reference Guides.

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 customize your experience and enable our partners to show you personalized PayPal ads when you visit other sites. Manage cookies and learn more