Developer's Guide

Table Of Contents
XMLPay Syntax
Core Structures
2
28 XMLPay Developer’s Guide
Items
Items is a list of line item detail records. Item is defined below.
<Items>
(Item)+
</Items>
DiscountAmt Discount to be applied to the item subtotal.
ShippingAmt Total of shipping and handling charges. For separate shipping and
handling amounts, use FreightAmt and HandlingAmt, respectively.
DutyAmt Duty fees (if applicable)
TaxAmt Total of all taxes.
NationalTaxIncl Boolean which when true, indicates that the national tax in included in
the TaxAmt.
TotalAmt Grand total (item subtotal - DiscountAmt + ShippingAmt (or
HandlingAmt + FreightAmt) + DutyAmt + TaxAmt).
FreightAmt Shipping charges without handling included.
HandlingAmt Handling charges without shipping included.
ItemAmt Sum of cost of all items in this order.
Comment Free-form comment about the purchase.
Level3Invoice See Table 3.3, “Level 3 (commercial) credit card transaction parameters”
on page 52.
Memo Custom memo about the credit.
Custom Free-form field for your own use, such as a tracking number or other
value you want PayPal to return in the GetExpressCheckout response.
OrderDesc Description of items the customer is purchasing.
ExtData Optional element that may carry extended data (outside the syntax of the
XMLPay schema).
MerchantInfo Merchant name and location defined on page 30.
AdditionalAmounts Detail of a charge for additional breakdown of the amount, defined in
“AdditionalAmounts” on page 31.
SKU Merchant product SKU.
CustomerHostName Name of the server that the account holder is connected to.
CustomerBrowser Account holders HTTP browser type
Attribute Description