Prompt for a tip
Shows the tip screen on the terminal for the given base amount and returns the customer’s choice. This endpoint doesn’t read
or charge a card. Returns an interaction_id immediately. Get the result with Get tip status
or over WebSocket by subscribing to terminal_job:{interaction_id}.
Requires a terminal where capabilities.tip is true (see List terminals).
Otherwise the request returns 400 not supported.
To prompt for a tip and charge the tip-inclusive total in one call, use Charge a card
with include_tip set to true.
amount must include a decimal point. An amount without one is read as cents, so "10" is ten cents. Send "10.00" for ten dollars.
Tip interactions expire about 3 minutes after the last activity. A finished result is kept for 2 minutes.
400 error messages
Authentication
Use a Payments API key as the bearer token: Authorization: Bearer <api_key>.
Get a fresh key from Refresh API Keys.
Path parameters
Hardware Serial Number (HSN) of the terminal, provided by your Integration Delivery lead.
Query parameters
Merchant ID. Required when your bearer token is an ISV token acting on behalf of a merchant. If the mid can’t be resolved to an authorized account, the request returns 400.
Request
Base amount before tip, in decimal dollars. Must be greater than zero with at most two decimal places.
Include a decimal point: an amount without one is read as cents, so "10" is ten cents.
Response
Interaction accepted. Use the interaction_id to poll for status or subscribe over WebSocket.