2007

Table Of Contents
NVP API Method and Field Reference
RefundTransaction
50 April 2007 Name-Value Pair API Developer Guide and Reference
RefundTransaction
TransactionSearch
With TransactionSearch you must always set the StartDate field. Some other behavior:
z Setting TransactionID overrides all other fields (even the required StartDate field).
z The effect of setting other elements is additive or can alter the search criteria.
TABLE A.10 RefundTransaction Request Parameters
Parameter Description Required?
METHOD Name of API call: RefundTransaction Yes
TRANSACTIONID Unique identifier of a transaction
Character length and limitations: 17 single-byte alphanumeric characters
Yes
REFUNDTYPE Type of refund you are making
z Other
z Full
z Partial
Yes
AMT Refund amount.
Amount is required if RefundType is Partial.
N OTE: If RefundType is Full, do not set Amount unless your
merchant account has been enabled to issue refunds greater
than the amount in referenced transactions.
No
NOTE Custom memo about the refund.
Character length and limitations: 255 single-byte alphanumeric characters
No
T
ABLE A.11 DoRefund Response Fields
Field Description
REFUNDTRANSACTIONID Unique transaction ID of the refund.
Character length and limitations:17 single-byte characters
NETREFUNDAMT Amount subtracted from PayPal balance of original recipient of payment to
make this refund
FEEREFUNDAMT Transaction fee refunded to original recipient of payment
GROSSREFUNDAMT Amount of money refunded to original payer