Click or drag to resize
Infosoft Logo

OnlinePaymentAgreementServicePerformInvoicePayment Method

Performs a credit card payment on the invoice with the given invoice number/title using the given payment agreement ID.

Namespace: Infosoft.Webservices.Payments
Assembly: Infosoft.Webservices (in Infosoft.Webservices.dll) Version: 4.00.0.0
Syntax

Parameters

request  PerformSubscriptionInvoicePaymentRequest
A request object that contains a payment agreement ID, a title code and an invoice number.

Return Value

SubscriptionInvoicePaymentResponse
A response object that contains the completed payment.

Implements

ISubscriptionPaymentServicePerformInvoicePayment(PerformSubscriptionInvoicePaymentRequest)
Remarks

To get a payment agreement ID, you can use the GetPaymentAgreement(GetSubscriptionPaymentAgreementRequest) operation on this endpoint or the GetCustomerPaymentAgreements(GetPaymentAgreementsByCustomerRequest) operation.

The agreement used does not need to be the one associated with the subscription, but it must belong to the same customer. Otherwise a PaymentAgreementSubscriptionMismatchFault will be thrown.

See Also