Loading...
Loading...
  • All About PayPal
  • Disputes and Claims
  • Merchant
  • My Account
  • My Money
  • Payments
  • Products & Services
  • Tax Information

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?
Why did I get API error code 10003?

More ways to get help

Resolution Center
Fix transaction and account related issues
Community Forum
Join the discussion with PayPal customers
Tax center
Get your 1099-K and other tax info here
Business Help
Get help with using any of our PayPal products
Technical Help
Find out how PayPal works for your business
Contact Us
Contact customer service
How are we doing?
Take our survey
Loading...