1. Authentication & Security
- All API requests must include a Bearer Token in the
Authorization header.
Example Header:
Authorization: Bearer {api_key}
2. Integration Model
- Mozrest supports a single endpoint per integration: each POS connection uses one base URL (domain). We do not provide multiple domain endpoints per region or regional routing.
3. Definitions
3.1 Payment Details
Payment information sent from the POS should include:
- totalAmount → The final bill amount after tax and service charges.
- tax → The tax applied to the total bill.
- tip → Any gratuity added by the guest.
- discount → Any applied discount or promotional offers.
- paymentMethod → The method used for payment (e.g., credit card, cash, online payment).
3.2 Order Status
Order and check status values used in requests and responses:
open → Order or check is active.
closed → Order or check has been closed/completed.