RECURRING


Click here for a complete list of operations.

UPDATE_RECURRING_TRANSACTION

Test

To test the operation using the HTTP POST protocol, click the 'Invoke' button.
Parameter Value
M_ID:
M_KEY:
RECURRING_ID:
CUSTOMER_ID:
PAYER_ID:
GROUP_ID:
SCHEDULE_ID:
ACTIVE:
AMOUNT:
T_CODE:
TIMES_TO_PROCESS:
INDEFINITE:
REFERENCE:
ORIGINATOR_ID:
ORIGINATOR_TRAN_CLASS:

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 /web_services/wsVTextensions/recurring.asmx HTTP/1.1
Host: gateway.sagepayments.net
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "wsVTExtensions/UPDATE_RECURRING_TRANSACTION"

<?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>
    <UPDATE_RECURRING_TRANSACTION xmlns="wsVTExtensions">
      <M_ID>string</M_ID>
      <M_KEY>string</M_KEY>
      <RECURRING_ID>int</RECURRING_ID>
      <CUSTOMER_ID>int</CUSTOMER_ID>
      <PAYER_ID>int</PAYER_ID>
      <GROUP_ID>int</GROUP_ID>
      <SCHEDULE_ID>int</SCHEDULE_ID>
      <ACTIVE>int</ACTIVE>
      <AMOUNT>double</AMOUNT>
      <T_CODE>string</T_CODE>
      <TIMES_TO_PROCESS>int</TIMES_TO_PROCESS>
      <INDEFINITE>int</INDEFINITE>
      <REFERENCE>string</REFERENCE>
      <ORIGINATOR_ID>string</ORIGINATOR_ID>
      <ORIGINATOR_TRAN_CLASS>string</ORIGINATOR_TRAN_CLASS>
    </UPDATE_RECURRING_TRANSACTION>
  </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>
    <UPDATE_RECURRING_TRANSACTIONResponse xmlns="wsVTExtensions">
      <UPDATE_RECURRING_TRANSACTIONResult>
        <xsd:schema>schema</xsd:schema>xml</UPDATE_RECURRING_TRANSACTIONResult>
    </UPDATE_RECURRING_TRANSACTIONResponse>
  </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 /web_services/wsVTextensions/recurring.asmx HTTP/1.1
Host: gateway.sagepayments.net
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>
    <UPDATE_RECURRING_TRANSACTION xmlns="wsVTExtensions">
      <M_ID>string</M_ID>
      <M_KEY>string</M_KEY>
      <RECURRING_ID>int</RECURRING_ID>
      <CUSTOMER_ID>int</CUSTOMER_ID>
      <PAYER_ID>int</PAYER_ID>
      <GROUP_ID>int</GROUP_ID>
      <SCHEDULE_ID>int</SCHEDULE_ID>
      <ACTIVE>int</ACTIVE>
      <AMOUNT>double</AMOUNT>
      <T_CODE>string</T_CODE>
      <TIMES_TO_PROCESS>int</TIMES_TO_PROCESS>
      <INDEFINITE>int</INDEFINITE>
      <REFERENCE>string</REFERENCE>
      <ORIGINATOR_ID>string</ORIGINATOR_ID>
      <ORIGINATOR_TRAN_CLASS>string</ORIGINATOR_TRAN_CLASS>
    </UPDATE_RECURRING_TRANSACTION>
  </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>
    <UPDATE_RECURRING_TRANSACTIONResponse xmlns="wsVTExtensions">
      <UPDATE_RECURRING_TRANSACTIONResult>
        <xsd:schema>schema</xsd:schema>xml</UPDATE_RECURRING_TRANSACTIONResult>
    </UPDATE_RECURRING_TRANSACTIONResponse>
  </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 /web_services/wsVTextensions/recurring.asmx/UPDATE_RECURRING_TRANSACTION?M_ID=string&M_KEY=string&RECURRING_ID=string&CUSTOMER_ID=string&PAYER_ID=string&GROUP_ID=string&SCHEDULE_ID=string&ACTIVE=string&AMOUNT=string&T_CODE=string&TIMES_TO_PROCESS=string&INDEFINITE=string&REFERENCE=string&ORIGINATOR_ID=string&ORIGINATOR_TRAN_CLASS=string HTTP/1.1
Host: gateway.sagepayments.net
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<DataSet xmlns="wsVTExtensions">
  <schema xmlns="http://www.w3.org/2001/XMLSchema">schema</schema>xml</DataSet>

HTTP POST

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

POST /web_services/wsVTextensions/recurring.asmx/UPDATE_RECURRING_TRANSACTION HTTP/1.1
Host: gateway.sagepayments.net
Content-Type: application/x-www-form-urlencoded
Content-Length: length

M_ID=string&M_KEY=string&RECURRING_ID=string&CUSTOMER_ID=string&PAYER_ID=string&GROUP_ID=string&SCHEDULE_ID=string&ACTIVE=string&AMOUNT=string&T_CODE=string&TIMES_TO_PROCESS=string&INDEFINITE=string&REFERENCE=string&ORIGINATOR_ID=string&ORIGINATOR_TRAN_CLASS=string
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<DataSet xmlns="wsVTExtensions">
  <schema xmlns="http://www.w3.org/2001/XMLSchema">schema</schema>xml</DataSet>