MarkRecurringPaymentsAsApplied
Description
This method is used to mark recurring payments as applied.
Syntax
PaymentResponse MarkRecurringPaymentAsApplied(SecurityToken securityToken, string invoiceNumber, string paymentInternalId);
Arguments
| Type | Name | Description | 
|---|---|---|
| securityToken | Merchant security token: used to identify merchant and validate transaction. (required) | |
| string | invoiceNumber | Invoice number. (required) | 
| string | paymentInternalId | Payment internal ID. (required) | 
Return Value
| Type | Description | 
|---|---|
| Returns the payment response | 
Example
Request:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ebiz="http://eBizCharge.ServiceModel.SOAP">
   <soapenv:Header />
   <soapenv:Body>
      <ebiz:MarkRecurringPaymentAsApplied>
         <ebiz:securityToken>
            <ebiz:SecurityId>********-55ee-434c-b126-f630f2486a2d</ebiz:SecurityId>
            <ebiz:UserId>?</ebiz:UserId>
            <ebiz:Password>?</ebiz:Password>
         </ebiz:securityToken>
         <ebiz:invoiceNumber />
         <ebiz:paymentInternalId>*******-8a20-417a-822b-bb30ce5df5a2</ebiz:paymentInternalId>
      </ebiz:MarkRecurringPaymentAsApplied>
   </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">
      <MarkRecurringPaymentAsAppliedResponse xmlns="http://eBizCharge.ServiceModel.SOAP">
         <MarkRecurringPaymentAsAppliedResult>
            <Status>Success</Status>
            <StatusCode>1</StatusCode>
            <Error />
            <ErrorCode>0</ErrorCode>
         </MarkRecurringPaymentAsAppliedResult>
      </MarkRecurringPaymentAsAppliedResponse>
   </s:Body>
</s:Envelope>Updated 2 months ago
