{ "$schema": "https://json-schema.org/draft/2020-12/schema", "title": "OnlineOrderCheckinRequest", "description": "OnlineOrderCheckinRequest schema from PAR Punchh Online Ordering and SSO API", "$id": "https://raw.githubusercontent.com/api-evangelist/punchh/refs/heads/main/json-schema/online-ordering-online-order-checkin-request-schema.json", "type": "object", "properties": { "client": { "type": "string", "description": "Business client key.", "example": "business_client_key" }, "external_uid": { "type": "string", "description": "Unique transaction identifier to prevent duplicates.", "example": "500123" }, "payable": { "type": "number", "description": "Final amount after discounts, taxes, and fees.", "example": "example" }, "receipt_amount": { "type": "number", "description": "Order subtotal used for loyalty calculations.", "example": "example" }, "receipt_datetime": { "type": "string", "description": "ISO 8601 timestamp (YYYY-MM-DDThh:mm:ssZ).", "example": "2025-03-15T14:30:00Z" }, "store_number": { "type": "string", "description": "Location identifier.", "example": "STORE-001" }, "subtotal_amount": { "type": "number", "description": "Same as receipt_amount.", "example": "example" }, "transaction_no": { "type": "string", "description": "Receipt/transaction number.", "example": "TXN-784512" }, "authentication_token": { "type": "string", "description": "User auth token.", "example": "a1b2c3d4e5f6a1b2c3d4e5f6a1b2c3d4" }, "cc_last4": { "type": "string", "description": "Last 4 card digits.", "example": "example" }, "channel": { "type": "string", "enum": [ "pos", "web", "online_order", "mobile", "dashboard", "chatbot", "kiosk" ], "example": "pos" }, "employee_id": { "type": "string", "description": "Employee or system ID.", "example": "500123" } }, "required": [ "client", "external_uid", "payable", "receipt_amount", "receipt_datetime", "store_number", "subtotal_amount", "transaction_no" ] }