Sabre
Click here for a complete list of operations.
Refund
Test
The test form is only available for requests from the local machine.SOAP 1.1
The following is a sample SOAP 1.1 request and response. The placeholders shown need to be replaced with actual values.
POST /WebServices/SafetyPay.asmx HTTP/1.1
Host: ceptor-dev.uatp.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "/Refund"
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Header>
<Security xmlns="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">
<UsernameToken>
<Username>string</Username>
<Password>string</Password>
</UsernameToken>
</Security>
</soap:Header>
<soap:Body>
<CancelOrRefundRQ Version="string" MerchantAccountCode="string" RequestID="string">
<OriginalTransaction TransactionID="string" />
<AmountDetail Amount="string" CurrencyCode="string" BaseAmount="string" Taxes="string" Fees="string" />
<RefundDetail>
<PaymentMethod PaymentMethodCode="string" />
<PaymentCard CardNumber="string" IssueNumber="string" CVC="string" EffectiveDate="string" ExpireDate="string" CardHolderName="string" ReadyFor3DSVersion="string">
<T3DS CAVV="string" CAVV_Algorithm="string" ECI="string" XID="string" VerificationResult="string" AuthenticationResult="string" MD="string" PA_Response="string" DirectoryServerTrxID="string" Version="string" />
<ApplePayCryptogram>string</ApplePayCryptogram>
<CardReader DeviceType="string" DeviceID="string" ChipCardInd="boolean">
<Token xsi:nil="true" />
<Token xsi:nil="true" />
</CardReader>
</PaymentCard>
<BillingAddress>
<StreetNmbr PO_Box="string" />
<BldgRoom>string</BldgRoom>
<AddressLine1>string</AddressLine1>
<AddressLine2>string</AddressLine2>
<CityName>string</CityName>
<PostalCode>string</PostalCode>
<County>string</County>
<StateProv StateCode="string" Name="string" />
<Country Code="string" Name="string" />
</BillingAddress>
<Documents>
<Document DocType="string" DocNumber="string" CouponNumber="string" CurrencyCode="string" BaseFare="integer" Taxes="integer" Fees="integer" DocSubType="string" RFI_Code="string" />
<Document DocType="string" DocNumber="string" CouponNumber="string" CurrencyCode="string" BaseFare="integer" Taxes="integer" Fees="integer" DocSubType="string" RFI_Code="string" />
</Documents>
</RefundDetail>
<AdditionalDetail>
<Field>
<Name>string</Name>
<Value>string</Value>
</Field>
<Field>
<Name>string</Name>
<Value>string</Value>
</Field>
</AdditionalDetail>
</CancelOrRefundRQ>
</soap:Body>
</soap:Envelope>
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<CancelOrRefundRS Version="string" ResponseCode="string" Description="string" TransactionID="string" />
</soap:Body>
</soap:Envelope>
SOAP 1.2
The following is a sample SOAP 1.2 request and response. The placeholders shown need to be replaced with actual values.
POST /WebServices/SafetyPay.asmx HTTP/1.1
Host: ceptor-dev.uatp.com
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length
<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
<soap12:Header>
<Security xmlns="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">
<UsernameToken>
<Username>string</Username>
<Password>string</Password>
</UsernameToken>
</Security>
</soap12:Header>
<soap12:Body>
<CancelOrRefundRQ Version="string" MerchantAccountCode="string" RequestID="string">
<OriginalTransaction TransactionID="string" />
<AmountDetail Amount="string" CurrencyCode="string" BaseAmount="string" Taxes="string" Fees="string" />
<RefundDetail>
<PaymentMethod PaymentMethodCode="string" />
<PaymentCard CardNumber="string" IssueNumber="string" CVC="string" EffectiveDate="string" ExpireDate="string" CardHolderName="string" ReadyFor3DSVersion="string">
<T3DS CAVV="string" CAVV_Algorithm="string" ECI="string" XID="string" VerificationResult="string" AuthenticationResult="string" MD="string" PA_Response="string" DirectoryServerTrxID="string" Version="string" />
<ApplePayCryptogram>string</ApplePayCryptogram>
<CardReader DeviceType="string" DeviceID="string" ChipCardInd="boolean">
<Token xsi:nil="true" />
<Token xsi:nil="true" />
</CardReader>
</PaymentCard>
<BillingAddress>
<StreetNmbr PO_Box="string" />
<BldgRoom>string</BldgRoom>
<AddressLine1>string</AddressLine1>
<AddressLine2>string</AddressLine2>
<CityName>string</CityName>
<PostalCode>string</PostalCode>
<County>string</County>
<StateProv StateCode="string" Name="string" />
<Country Code="string" Name="string" />
</BillingAddress>
<Documents>
<Document DocType="string" DocNumber="string" CouponNumber="string" CurrencyCode="string" BaseFare="integer" Taxes="integer" Fees="integer" DocSubType="string" RFI_Code="string" />
<Document DocType="string" DocNumber="string" CouponNumber="string" CurrencyCode="string" BaseFare="integer" Taxes="integer" Fees="integer" DocSubType="string" RFI_Code="string" />
</Documents>
</RefundDetail>
<AdditionalDetail>
<Field>
<Name>string</Name>
<Value>string</Value>
</Field>
<Field>
<Name>string</Name>
<Value>string</Value>
</Field>
</AdditionalDetail>
</CancelOrRefundRQ>
</soap12:Body>
</soap12:Envelope>
HTTP/1.1 200 OK
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length
<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
<soap12:Body>
<CancelOrRefundRS Version="string" ResponseCode="string" Description="string" TransactionID="string" />
</soap12:Body>
</soap12:Envelope>