Commerce
Tip amount, total, and per-person split for a restaurant bill.
Tip amount, total, and per-person split for a restaurant bill.
Payment: x402 ($0.01 USDC on eip155:8453). Call unpaid to receive an HTTP 402 with requirements, then retry with the PAYMENT-SIGNATURE header. Method: tip = bill * tipPct/100; total = bill + tip; perPerson = total / numPeople
post/v1/commerce/tip-split
Request
- Base URL: (relative, and it does not resolve against the document’s source URL)
- URL: /v1/commerce/tip-split
- Auth: none declared
Request body
Response
Verified result + provenance (formula, sources, reproducible SHA-256 hash).
Changes
No recorded changes to this operation across all 1 revision of this API.