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
Solution
Check that the
See the Developer Portal for a complete list of NVP/SOAP API error codes.
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?