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>
<pv:SecurityHeader>
<pv:BinarySecurityToken>your security token here</pv:BinarySecurityToken>
</pv:SecurityHeader>
</soapenv:Header>
<soapenv:Body>
<pv:RefundTransaction>
<pv:storeId>0</storeId>
<pv:storeKey isNull="false"/>
<pv:entityId>12345</entityId>
<pv:locationId>102030</locationId>
<pv:originalReferenceNumber> T:123456789</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>