Integration Checklist
- Implement
/posnext/order/validateAPI endpoint - Implement
/posnext/order/submitAPI endpoint - Implement
/posnext/orders/{orderId}API endpoint (for polling) - Implement
/posnext/menusAPI endpoint - Implement JWT token validation
- Implement payload signature validation
- Implement response signature generation
- Implement an ID mapping table for the PAR-provided OrganizationId and LocationId to internal IDs
- Support 202 Accepted responses for async processing (exceptional cases only - normal expectation is immediate 200 OK responses)
- Test with the provided mock server reference implementation
Integration Testing Checklist
- Test JWT token validation
- Test payload signature validation
- Test response signature generation
- Test and validate the endpoint with a valid order
- Test validate endpoint with invalid order
- Test submit endpoint
- Test 202 Accepted response and polling
- Test GetOrder endpoint
- Test menu sync endpoint
- Test error responses
- Test signature mismatch scenarios