• Payments and Transfers
  • Disputes and Limitations
  • My Account
  • My Wallet
  • Login & Security
  • Seller Tools

Why did I get API error code 10401?

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

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

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