TextRequestClient.CreatePaymentAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates a new payment
public virtual System.Threading.Tasks.Task<Azure.Connectors.Sdk.TextRequest.Models.CreatePaymentResponse> CreatePaymentAsync(int idOfTheDashboardToMakeThisCallOn, Azure.Connectors.Sdk.TextRequest.Models.CreatePaymentInput input, System.Threading.CancellationToken cancellationToken = default);
abstract member CreatePaymentAsync : int * Azure.Connectors.Sdk.TextRequest.Models.CreatePaymentInput * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Connectors.Sdk.TextRequest.Models.CreatePaymentResponse>
override this.CreatePaymentAsync : int * Azure.Connectors.Sdk.TextRequest.Models.CreatePaymentInput * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Connectors.Sdk.TextRequest.Models.CreatePaymentResponse>
Public Overridable Function CreatePaymentAsync (idOfTheDashboardToMakeThisCallOn As Integer, input As CreatePaymentInput, Optional cancellationToken As CancellationToken = Nothing) As Task(Of CreatePaymentResponse)
Parameters
- idOfTheDashboardToMakeThisCallOn
- Int32
Id of the dashboard to make this call on
- input
- CreatePaymentInput
The request body.
- cancellationToken
- CancellationToken
Cancellation token.
Returns
The Creates a new payment response.
Remarks
Creates a new payment with the provided message to the provided contact.