TextRequestClient.MarkPaymentPaidAsync Method

Definition

Mark a payment as paid

public virtual System.Threading.Tasks.Task<Azure.Connectors.Sdk.TextRequest.Models.MarkPaymentPaidResponse> MarkPaymentPaidAsync(int idOfTheDashboardToMakeThisCallOn, int idOfThePayment, System.Threading.CancellationToken cancellationToken = default);
abstract member MarkPaymentPaidAsync : int * int * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Connectors.Sdk.TextRequest.Models.MarkPaymentPaidResponse>
override this.MarkPaymentPaidAsync : int * int * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Connectors.Sdk.TextRequest.Models.MarkPaymentPaidResponse>
Public Overridable Function MarkPaymentPaidAsync (idOfTheDashboardToMakeThisCallOn As Integer, idOfThePayment As Integer, Optional cancellationToken As CancellationToken = Nothing) As Task(Of MarkPaymentPaidResponse)

Parameters

idOfTheDashboardToMakeThisCallOn
Int32

Id of the dashboard to make this call on

idOfThePayment
Int32

Id of the payment

cancellationToken
CancellationToken

Cancellation token.

Returns

The Mark a payment as paid response.

Remarks

Closes a payment as "paid". Use this endpoint for when the payment is paid through a means other than the payment request portal. This will close the payment and add its payment amount to your statistics. This endpoint is not required for payments paid through the payments-portal sent through Text Request; that will automatically mark a payment as paid.

Applies to