Click or drag to resize
Infosoft Logo

ISubscriptionPaymentServicePerformInvoicePayment Method

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

Namespace: Infosoft.Common.Contracts.ServiceContracts.Subscriptions.Economy.Payments
Assembly: Infosoft.Common.Contracts (in Infosoft.Common.Contracts.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.
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