SEPAY Wireless ECR v2


Click here for a complete list of operations.

CancelTransaction

Attempt to cancel an initialized transaction before it's picked up by the POS. After it's picked up, cancelling can only be done at the POS itself.

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 /v2/wecr.asmx HTTP/1.1
Host: wecr.sepay.nl
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "https://wecr.sepay.nl/v2/WECR/CancelTransaction"

<?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>
    <CancelTransaction xmlns="https://wecr.sepay.nl/v2/WECR">
      <key_index>int</key_index>
      <version>string</version>
      <login>string</login>
      <sid>string</sid>
      <transactionref>string</transactionref>
      <force>boolean</force>
      <signature>base64Binary</signature>
    </CancelTransaction>
  </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>
    <CancelTransactionResponse xmlns="https://wecr.sepay.nl/v2/WECR">
      <CancelTransactionResult>
        <key_index>int</key_index>
        <version>string</version>
        <login>string</login>
        <sid>string</sid>
        <transactionref>string</transactionref>
        <status>string</status>
        <message>string</message>
        <signature>string</signature>
      </CancelTransactionResult>
    </CancelTransactionResponse>
  </soap:Body>
</soap:Envelope>