Authentication
All requests require anx-api-key header.
POST /tip/cash — Process a cash tip
Record a cash tip against a completed transaction.Request body
string
required
The ID of the transaction this tip is associated with.
string
required
The employee receiving the tip.
string
required
Display name of the employee receiving the tip.
number
required
Tip amount in dollars. Example:
3.50Code example
POST /tip/credit-card — Process a credit card tip
Record a credit card tip with a full audit trail entry.Request body
string
required
The ID of the transaction this tip is associated with.
string
required
The employee receiving the tip.
string
required
Display name of the employee receiving the tip.
number
required
Tip amount in dollars. Example:
5.00Code example
POST /tip/adjust — Adjust a tip
Correct a previously recorded tip amount. All adjustments are logged with a reason for audit purposes.Request body
string
required
The ID of the tip record to adjust.
number
required
The corrected tip amount in dollars.
string
required
A description of why the tip is being adjusted. Recorded in the audit trail.
Code example
POST /tip/payout — Process employee payout
Disburse accumulated tips to an employee. Rounding always favors the employee (FLSA compliance).Request body
string
required
The employee receiving the payout.
string
required
Display name of the employee receiving the payout.
number
required
The payout amount in dollars.
string
required
How the payout is disbursed. One of:
cash, check, direct_deposit