ModifyScheduledRecurringPayment_RecurringBilling

Description

This method is used to modify the scheduled recurring payment in recurring billing.

Syntax

ModifyScheduledRecurringPayment_RecurringBillingResponse ModifyScheduledRecurringPayment_RecurringBilling(SecurityToken securityToken, string scheduledPaymentInternalId, RecurringBilling recurringBilling );

Arguments

TypeNameDescription
SecurityTokensecurityTokenMerchant security token: used to identify merchant and validate transaction. (required)
stringscheduledPaymentInternalIdScheduled payment internal ID. (required)
RecurringBillingrecurringbillingPayment method profile ID. (required)

Return Value

TypeDescription
ModifyScheduledRecurringPayment_RecurringBillingResponseReturns the response to the modify schedule recurring payment

Example

Request:

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ebiz="http://eBizCharge.ServiceModel.SOAP">
   <soapenv:Header />
   <soapenv:Body>
      <ebiz:ModifyScheduledRecurringPayment_RecurringBilling>
         <ebiz:securityToken>
            <ebiz:SecurityId>********-d6e9-43f7-bad5-98628b216a41</ebiz:SecurityId>
            <ebiz:UserId>?</ebiz:UserId>
            <ebiz:Password>?</ebiz:Password>
         </ebiz:securityToken>
         <ebiz:scheduledPaymentInternalId>********-df4a-412b-bd0f-b3ba0fe6a8eb</ebiz:scheduledPaymentInternalId>
         <ebiz:recurringBilling>
            <ebiz:Amount>200.00</ebiz:Amount>
            <ebiz:Tax>0</ebiz:Tax>
            <ebiz:Enabled>true</ebiz:Enabled>
            <ebiz:Start>2021-03-12T23:41:13</ebiz:Start>
            <ebiz:Expire>2021-06-21T03:32:42-08:00</ebiz:Expire>
            <ebiz:Next>2021-01-01T11:07:42</ebiz:Next>
            <ebiz:Schedule>Daily</ebiz:Schedule>
            <ebiz:ScheduleName>New test 10102</ebiz:ScheduleName>
            <ebiz:ReceiptNote>test 2021</ebiz:ReceiptNote>
            <ebiz:ReceiptTemplateName />
            <ebiz:SendCustomerReceipt>false</ebiz:SendCustomerReceipt>
         </ebiz:recurringBilling>
      </ebiz:ModifyScheduledRecurringPayment_RecurringBilling>
   </soapenv:Body>
</soapenv:Envelope>

Response:

<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
   <s:Body xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
      <ModifyScheduledRecurringPayment_RecurringBillingResponse xmlns="http://eBizCharge.ServiceModel.SOAP">
         <ModifyScheduledRecurringPayment_RecurringBillingResult>
            <Status>Success</Status>
            <StatusCode>1</StatusCode>
            <Error />
            <ErrorCode>0</ErrorCode>
         </ModifyScheduledRecurringPayment_RecurringBillingResult>
      </ModifyScheduledRecurringPayment_RecurringBillingResponse>
   </s:Body>
</s:Envelope>