Service


Click here for a complete list of operations.

smpPerformRefund

Perform a (whole or partial) refund against a previous transaction
uid - Your Adelante user name
pwd - Your Adelante password
accountid - Your Adelante Account ID
profileid
transactionid - The original transaction number
amount - The amount to refund IN PENNIES / CENTS
cardnumber
expirydate
transactionflag - Internal Use Only
ordernumber - Merchant order reference
customerreference - Merchant customer reference number
fundcode - Merchant fund code
notes - Optional notes
key - Merchant transaction key
RETURNS - XML Data

Test

To test the operation using the HTTP POST protocol, click the 'Invoke' button.
Parameter Value
uid:
pwd:
accountid:
profileid:
transactionid:
amount:
cardnumber:
expirydate:
transactionflag:
ordernumber:
customerreference:
fundcode:
notes:
key:

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 /Services/SmartPos2/Service.asmx HTTP/1.1
Host: connectpayadmin.test.app.adelante.co.uk
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://adelante-software.com/smpPerformRefund"

<?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>
    <smpPerformRefund xmlns="http://adelante-software.com/">
      <uid>string</uid>
      <pwd>string</pwd>
      <accountid>string</accountid>
      <profileid>string</profileid>
      <transactionid>long</transactionid>
      <amount>int</amount>
      <cardnumber>string</cardnumber>
      <expirydate>string</expirydate>
      <transactionflag>string</transactionflag>
      <ordernumber>string</ordernumber>
      <customerreference>string</customerreference>
      <fundcode>string</fundcode>
      <notes>string</notes>
      <key>string</key>
    </smpPerformRefund>
  </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>
    <smpPerformRefundResponse xmlns="http://adelante-software.com/">
      <smpPerformRefundResult>xml</smpPerformRefundResult>
    </smpPerformRefundResponse>
  </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 /Services/SmartPos2/Service.asmx HTTP/1.1
Host: connectpayadmin.test.app.adelante.co.uk
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>
    <smpPerformRefund xmlns="http://adelante-software.com/">
      <uid>string</uid>
      <pwd>string</pwd>
      <accountid>string</accountid>
      <profileid>string</profileid>
      <transactionid>long</transactionid>
      <amount>int</amount>
      <cardnumber>string</cardnumber>
      <expirydate>string</expirydate>
      <transactionflag>string</transactionflag>
      <ordernumber>string</ordernumber>
      <customerreference>string</customerreference>
      <fundcode>string</fundcode>
      <notes>string</notes>
      <key>string</key>
    </smpPerformRefund>
  </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>
    <smpPerformRefundResponse xmlns="http://adelante-software.com/">
      <smpPerformRefundResult>xml</smpPerformRefundResult>
    </smpPerformRefundResponse>
  </soap12:Body>
</soap12:Envelope>

HTTP GET

The following is a sample HTTP GET request and response. The placeholders shown need to be replaced with actual values.

GET /Services/SmartPos2/Service.asmx/smpPerformRefund?uid=string&pwd=string&accountid=string&profileid=string&transactionid=string&amount=string&cardnumber=string&expirydate=string&transactionflag=string&ordernumber=string&customerreference=string&fundcode=string&notes=string&key=string HTTP/1.1
Host: connectpayadmin.test.app.adelante.co.uk
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0"?>
xml

HTTP POST

The following is a sample HTTP POST request and response. The placeholders shown need to be replaced with actual values.

POST /Services/SmartPos2/Service.asmx/smpPerformRefund HTTP/1.1
Host: connectpayadmin.test.app.adelante.co.uk
Content-Type: application/x-www-form-urlencoded
Content-Length: length

uid=string&pwd=string&accountid=string&profileid=string&transactionid=string&amount=string&cardnumber=string&expirydate=string&transactionflag=string&ordernumber=string&customerreference=string&fundcode=string&notes=string&key=string
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0"?>
xml