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

Why did I get API error code 81100?

Issue
PayPal returned API error code 81100 - OrderTotal (Amt). Required parameter missing.

Causes
This error has two possible causes:
  • The required OrderTotal (SOAP) or AMT (NVP) parameter wasn't passed with your API request.
  • An invalid parameter (not supported by the API call) was passed with your API request, and the invalid parameter precedes the OrderTotal or AMT parameter.  

For example, the following snippet of a SOAP request will cause error code 81100:
  
<DoExpressCheckoutPaymentRequest>
    <Version xmlns="urn:ebay:apis:eBLBaseComponents">53.0</Version>
    <DoExpressCheckoutPaymentRequestDetails xmlns="urn:ebay:apis:eBLBaseComponents">
        <ChannelType>eBayItem</ChannelType>
        <PaymentAction>Sale</PaymentAction>
        <Token>Actual Token Goes Here</Token>
        <PayerID>Actual Payer Id Goes Here</PayerID>
        <PaymentDetails>
            <OrderTotal currencyID="USD">1.00</OrderTotal>
            <OrderDescription>Test Product</OrderDescription>
        </PaymentDetails>
    </DoExpressCheckoutPaymentRequestDetails>
</DoExpressCheckoutPaymentRequest>

Notice that the ChannelType element (an invalid element with the DoExpressCheckoutPayment API) precedes OrderTotal, so the PaymentDetails block is ignored.

Solution
Log your API request and determine if you're passing the OrderTotal (SOAP) or AMT (NVP) parameters. In the preceding example, the solution omits the ChannelType element. For a list of valid elements with each PayPal API, see the NVP and SOAP documentation.

Note: See the Developer Portal for a complete list of NVP/SOAP API error codes.

Was this article helpful?

More ways we can help