Home
  • Mobile App Help
  • All About PayPal
  • My Account
  • My Financials
  • My Money
  • Payments
  • Claims and Limitations
  • Products & Services
  • PayPal Merchant Services
  • Tax Information and Reporting
  • Non-Profits and Donations

Why did I get API error code 10401?

Issue
PayPal returned API error code 10401 - Transaction refused because of an invalid argument. See additional error messages for details.

Cause
The OrderTotal (SOAP) or AMT (NVP) amount in your DoDirectPayment request is missing or invalid.

Solution
Check that the OrderTotal or AMT variable is present and greater than zero in your DoDirectPayment request.

See the Developer Portal for a complete list of NVP/SOAP API error codes.
 
Was this article helpful?

More ways we can help

How are we doing?
Take our survey

We'll use cookies to improve and customise your experience if you continue to browse. Is it OK if we also use cookies to show you personalised ads? Learn more and manage your cookies