Help Center - Personal Account
  • Home
  • Payments and Transfers
  • Disputes and Limitations
  • My Account
  • My Wallet
  • Login & Security
  • Seller Tools

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.
 

More ways we can help