v1 · stable
API documentation
REST + Webhooks. Predictable URLs, JSON bodies, conventional HTTP codes.
Authentication
POST
/v1/auth/sessionCreate session
Exchange credentials for a session token.
DELETE
/v1/auth/sessionEnd session
Invalidate the current session token.
Menu
GET
/v1/cafes/:cafeId/menuList menu items
Returns the public menu for a café.
POST
/v1/cafes/:cafeId/menuCreate item
Café manager only.
PATCH
/v1/menu/:idUpdate item
Edit name, price, availability, or image.
DELETE
/v1/menu/:idDelete item
Permanently remove a menu item.
Orders
POST
/v1/ordersPlace order
Creates a draft order and a payment intent.
GET
/v1/orders/:idGet order
Returns order detail and live status.
PATCH
/v1/orders/:idUpdate status
Café advances the state machine.
Webhooks
POST
/webhooks/paymentsStripe events
We verify the signature on every event.
POST
/webhooks/ordersOrder updates
Push to external POS or fulfillment systems.