Developer's Guide

Table Of Contents
XMLPay Syntax
The XMLPayRequest Document (Transactions)
2
18 XMLPay Developer’s Guide
Credit Transaction
A credit transaction reverses a previous sale or capture transaction.
<Credit>
(PNRef|Tender)
(Invoice)?
(ExtData)*
</Credit>
Void Transaction
A void transaction cancels a pending sale, capture, or credit.
<Void>
(PNRef)
(ExtData)*
</Void>
SetExpressCheckout Transaction
SetExpressCheckout indicates to the server that you are using Express Checkout to obtain
payment from your customer.
<SetExpressCheckout>
(Authorization|Sale)
(ExtData)*
ExtData Optional element that may carry extended data (outside the syntax of the
XMLPay schema).
Attribute Description
PNRef|Tender The transaction to be credited is identified by PNRef. Acredit may be run
without a PNRef by providing the Tender for the account to be credited
and Invoice for the amount.
Invoice In the case of a partial credit, you must provide Invoice and provide
details on the items being returned.
ExtData Optional element that may carry extended data (outside the syntax of the
XMLPay schema).
Attribute Description
PNRef The transaction to be cancelled is identified by PNRef. If the referenced
transaction has already been processed, the void fails.
Attribute Description