To override the Content-type in your clients, use the HTTP Accept Header, append the .xml suffix or ?format=xml
HTTP + XML
The following are sample HTTP requests and responses.
The placeholders shown need to be replaced with actual values.
GET /reports/transactions/merchantsummary HTTP/1.1
Host: syntch.simpay.net
Accept: application/xml
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length
<ArrayOfMerchantTrxSummaryDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Phoenix.Gate.Integration.Client">
<MerchantTrxSummaryDto>
<Authorization>0</Authorization>
<Capture>0</Capture>
<Count>0</Count>
<ForceCapture>0</ForceCapture>
<IsTestMerchant>false</IsTestMerchant>
<MerchantId>String</MerchantId>
<MerchantKey>0</MerchantKey>
<MerchantName>String</MerchantName>
<PostAuth>0</PostAuth>
<Receipt>0</Receipt>
<ReceiptAuthorization>0</ReceiptAuthorization>
<ReceiptCapture>0</ReceiptCapture>
<ReceiptForceCapture>0</ReceiptForceCapture>
<ReceiptPostAuth>0</ReceiptPostAuth>
<ReceiptRepeatSale>0</ReceiptRepeatSale>
<ReceiptReturn>0</ReceiptReturn>
<ReceiptSale>0</ReceiptSale>
<RepeatSale>0</RepeatSale>
<ResellerKey>0</ResellerKey>
<Return>0</Return>
<Reversal>0</Reversal>
<Sale>0</Sale>
<Void>0</Void>
</MerchantTrxSummaryDto>
</ArrayOfMerchantTrxSummaryDto>