RefundTransaction
- Method
- Example Request
- Example Response
RefundTransaction(RefundTransactionRequest)
The purpose of this operation is to generate a complete reversal of an already existing processed transaction.
note
Check21 transactions can not be refunded.
Parameters
| TYPE | NAME | DESCRIPTION |
|---|---|---|
| RefundTransactionRequest | request |
Returns
| TYPE | DESCRIPTION |
|---|---|
| RefundTransactionResponse |
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:pv="https://ssl.selectpayment.com/PV">
<soapenv:Header/>
<soapenv:Body>
<pv:RefundTransaction>
<pv:storeId>123456</pv:storeId>
<pv:storeKey>3z9em9oxqwX3acsaqc6H0ck8D3Yj </pv:storeKey>
<pv:entityId>12345</pv:entityId>
<pv:locationId>102030</pv:locationId>
<pv:originalReferenceNumber> T:06N6Y1R7A2L </pv:originalReferenceNumber>
</pv:RefundTransaction>
</soapenv:Body>
</soapenv:Envelope>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<soap:Body>
<RefundTransactionResponse xmlns="https://ssl.selectpayment.com/PV">
<RefundTransactionResult>
<ReferenceNumber>T:JM07LWT31</ReferenceNumber>
<Success>true</Success>
<Error>false</Error>
<ResponseCode>Success</ResponseCode>
<ActualDate>2011-02-08T00:00:00.0000000-06:00</ActualDate>
<ResponseMessage>Transaction '1232' will be refunded on Tuesday, February 08,
2011.</ResponseMessage>
<OriginatedAs>ACH</OriginatedAs>
</RefundTransactionResult>
</RefundTransactionResponse>
</soap:Body>
</soap:Envelope>