2007

Table Of Contents
Name-Value Pair API Developer Guide and Reference April 2007 31
3
Back-Office Administration
This section gives you examples of the following functions:
z “Refunding Using RefundTransaction” on page 31
z “Searching for Transactions Using TransactionSearch” on page 32
z “Viewing Details of a Single Transaction Using GetTransactionDetails” on page 33
Refunding Using RefundTransaction
With RefundTransaction, you can refund the full amount or a partial amount of a
transaction. Specify the original transaction ID and the refund type: Full or Partial.
Full Refund
IMPORTANT: If you refund the full amount, do not set the AMT field.
Partial Refunds
To refund a partial amount, set REFUNDTYPE to Partial and set the AMT.
EXAMPLE 3.1 Refunding the Full Amount of a Transaction
Request
[requiredSecurityParameters]
&METHOD=RefundTransaction&TRANSACTIONID=01945456967386
7
&REFUNDTYPE=Full
Response
[successResponseFields]&REFUNDTRANSACTIONID=4RP55200GJ177180N
&FEEREFUNDAMT=4.01&GROSSREFUNDAMT=127.87&NETREFUNDAMT=123.86
EXAMPLE 3.2 Refunding A Partial Amount
Request
[requiredSecurityParameters]
&METHOD=RefundTransaction
&TRANSACTIONID=9CX07910UV614511L&REFUNDTYPE=Partial&AMT=12.95
Response
[successResponseFields]
&REFUNDTRANSACTIONID=1H0011898K637700R
&FEEREFUNDAMT=0.38&GROSSREFUNDAMT=12.95&NETREFUNDAMT=12.57