Skip to content

Adjusts for tips

Request

POST {{baseURL}}/pay-api/v1/transactions/tip-adjustment

This endpoint adjusts the tip amount.

This must be on a previously authorized transaction before settlement. Typically, the transaction is authorized first and for the base amount only. This endpoint adds an additional amount, the tip, above that base amount. The total amount from the original base amount is adjusted with the tip amount for settlement.

See Also:
To create a transaction, see POST /pay-api/v1/transactions/sale.
To capture a transaction, see POST /pay-api/v1/transactions/capture.
To retrieve a transaction by ID, see GET /pay-api/v1/transactions/{transactionId}.

Security
Bearer
Bodyapplication/json
transactionIdstring, (uuid)required

Specifies the transaction identifier.

Example: c7c15dd0-03e7-4e55-917c-54bedafba5e7

Example:"c7c15dd0-03e7-4e55-917c-54bedafba5e7"
tipAmountnumber, (double), decimal places <= 2, >= 0.01required

Specifies the absolute amount (in USD) of the tip to be added.

This amount adds to the base amount of the original transaction. That transaction must be authorized first.

Example: 14.50 (for $14.50)

Example:14.5

Adds an $18.00 tip to a $100.00 authorization.

The tip is captured with the base amount.

POST /pay-api/v1/transactions/tip-adjustment HTTP/1.1
Host: sandbox.api.flute.com
Authorization: Bearer <YOUR_JWT_HERE>
Accept: application/json
Content-Type: application/json

{
  "transactionId": "2f9a6c13-5b7e-4d80-a4c2-1e8d3b6f9a05",
  "tipAmount": 18.00
}

Responses

OK

Bodyapplication/json
transactionIdstring, (uuid)

Indicates the transaction identifier.

Example: c7c15dd0-03e7-4e55-917c-54bedafba5e7

Example:"c7c15dd0-03e7-4e55-917c-54bedafba5e7"
transactionDateTimestring, (date-time)

Indicates the date and time (in ISO 8601 UTC or timezone offset format) of the transaction.

Examples: 2026-08-24T08:45:22Z

Example:"2026-08-24T08:45:22Z"
typeIdinteger, (int32)

Type id of transaction.

typestring or null

Type name of transaction

statusIdinteger, (int32)

Status id of transaction.

statusstring or null

Status name of transaction

detailsobject

Indicates additional processor-level response details for the transaction.

transactionReceiptobject or null


Indicates an object describing the transaction receipt. The transaction receipt will be null or empty before the transaction is completed. After the completed transaction, it will be filled out.

Response

An $18.00 tip is added to a $100.00 authorization.

The receipt total is $118.00.

The transaction can still be captured or voided.

{ "transactionId": "2f9a6c13-5b7e-4d80-a4c2-1e8d3b6f9a05", "transactionDateTime": "2026-10-20T20:44:05.9310746Z", "typeId": 8, "type": "TipAdjustment", "statusId": 1, "status": "Authorized", "details": { "hostResponseCode": "00", "hostResponseMessage": "APPROVAL", "hostResponseDefinition": "Approved and completed", "code": "Approve", "message": "Success", "processorResponseCode": "00", "authCode": "A10023", "maskedPan": "411111******1111" }, "transactionReceipt": { "transactionId": "2f9a6c13-5b7e-4d80-a4c2-1e8d3b6f9a05", "transactionDateTime": "2026-10-20T20:44:05.9310746Z", "amount": { "baseAmount": 100, "percentageOffAmount": 0, "percentageOffRate": 0, "cashDiscountAmount": 0, "cashDiscountRate": 0, "surchargeAmount": 0, "surchargeRate": 0, "tipAmount": 18, "tipRate": 0, "totalAmount": 118 }, "currencyId": 1, "currency": "USD", "processorId": "64aa4643-2c62-45fa-9554-3a69833114e9", "processor": "Primary card processor", "operationTypeId": 1, "operationType": "PayNow", "paymentMethodTypeId": 1, "paymentMethodType": "Card", "transactionTypeId": 8, "transactionType": "TipAdjustment", "customerId": null, "customerPan": "411111******1111", "cardTokenType": 1, "statusId": 1, "status": "Authorized", "merchantName": "Peppared Street Cafe", "merchantAddress": "7429 Desert Mirage Lane, Suite 7, Phoenix, AZ 85099", "merchantPhoneNumber": "+14155558787", "merchantEmailAddress": "billing@pepparedstreetcafe.example.com", "merchantWebsite": "https://pepparedstreetcafe.example.com", "authCode": "A10023", "source": { "typeId": 2, "type": "ApiToken", "id": "3c1f7a92-5d4e-4b8a-9f06-2e7d1b4c8a53", "name": "Store checkout API" }, "cardholderAuthenticationMethodId": 3, "cardholderAuthenticationMethod": "ManualSignature", "cvmResultMsg": "Signature required", "cardDataSourceId": 4, "cardDataSource": "EMV", "responseCode": "00", "responseDescription": "Approved and completed", "cardProcessingDetails": { "authCode": "A10023", "mid": "887000003193", "tid": "75021674", "cardCreditDebitTypeId": 1, "cardCreditDebitType": "Credit", "processCreditDebitTypeId": 1, "processCreditDebitType": "Credit", "rrn": "629323801471", "cardTypeId": 1, "cardType": "Visa" }, "achProcessingDetails": null, "availableOperations": [ { "typeId": 3, "type": "Capture", "availableAmount": 118, "suggestedTips": null }, { "typeId": 4, "type": "Void", "availableAmount": 118, "suggestedTips": null } ], "avsResponse": null, "emvTags": null, "orderNumber": "ORD-20261020-3001" } }