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.
AMT(NVP) amount in your DoDirectPayment request is missing or invalid.
Check that the
AMTvariable 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?