AdjustTip Method
Sends a tip adjustment request.
Syntax
[VB.NET] Public Sub AdjustTip(ByVal RetrievalNumber As String, ByVal OriginalAmount As String, ByVal TipAmount As String)
[C#] public void AdjustTip(string retrievalNumber, string originalAmount, string tipAmount);
Remarks
Sends a tip adjustment request, which allows you to add a tip amount to the transaction specified by RetrievalNumber. Response will contain additional details about the tip adjustment request.
Method parameters are:
RetrievalNumber | The RetrievalNumber from the previously authorized transaction. |
OriginalAmount | The original authorized amount. |
TipAmount | The tip amount that you want to add to the transaction. |
Minimum required properties:
Note: To use the TransactionNumber instead of the returned RetrievalNumber to void the transaction, you can set RetrievalNumber to "" (empty string) and the value contained within TransactionNumber will be used instead.
NOTE: This method has a corresponding asynchronous version (AdjustTipAsync) for use in the Xamarin environment.