Connected apps
Lets the apps the platform has approved work with your workspace: ordering apps (an own-brand ordering site, a food-court app, a QR ordering app) send their orders straight to your kitchen, booking apps book your tables, and accounting or analytics apps read your bills. Each order lands on Online orders under the app's name, and when you accept, refuse, mark food ready or hand it over, the app hears it by itself.
| At a glance | |
|---|---|
| Type | Add-on module |
| Group | Sell |
| Price | Free here. The app charges you as you agreed with it |
| Provides | Online orders and the Connected apps screen |
| Needs | Nothing else |
| Offered to | Restaurants, bakeries and sweet shops, caterers |
| Permission | Manage add-ons (addons.manage) to switch it on; Manage integrations (integrations.manage) to connect an app; View orders (orders.view) for Online orders |
What it does
-
Shows the apps the platform has checked and approved. No app can add itself, and you cannot connect one the platform has not approved.
-
Gives each app you connect an outlet code. The app sends it with every call, so its orders reach only your workspace.
-
Puts the app's orders on Online orders, with the app's name, exactly like a delivery platform's: accept or refuse, the kitchen ticket, food ready, handed over, settling into a bill.
-
Tells the app what happened: accepted (with the minutes to prepare), refused (with the reason), food ready, handed over; and when you switch a dish or the outlet off and on.
-
Table bookings (an app approved for them, with the kitchen module on): the app's bookings appear under Kitchen → Reservations like your own, a table already booked then is refused, and when you seat the party, cancel or mark a no-show, the app hears it.
-
Bills (an app approved for them): the app reads the bills issued on chosen days, or changed since a moment, with their lines and payments, and hears each bill as it is issued or voided.
-
Orders at the table (an app approved for them): an outside QR ordering app does what your own table QR codes do. Its rounds land on the table's open bill (opening one if the table has none) and go to the kitchen like a waiter's round; it shows the guest the running bill, and hears when the bill is printed. It follows your own setting: Settings → POS → Order from the table must be set to take orders, and the guest pays the waiter as usual.
-
Rewards at the till (an outside loyalty programme approved for it): the till's payment panel gets a Rewards button. Type the customer's phone, Look up their points and rewards, choose one and Redeem; if the programme texts the customer a code, type it and Use the reward. The reward appears as a Reward line and comes off the bill as a discount before tax, so the bill's tax falls with it; the customer pays the reward's value less. Rewards are offered when ringing up a sale or settling a table's bill; settling an order or a customer's dues, or collecting a kiosk order, shows no Rewards button. The sale takes a reward once. Removing the line gives the reward back. The programme also hears every bill with the customer's phone, so it can give points. Programmes with an add-on of their own (Reelo loyalty) appear on the same button. Rewards need the internet; the phone apps take one way of paying for a whole bill, so a bill with a reward is settled at the till.
-
Riders for deliveries (a fleet or dispatch tool approved for it): the fleet appears on POS → Deliveries beside any rider add-on. Book an outside rider, check the price, book, and follow the rider as with any fleet. Set the shop's pickup point once from the board's menu (Pickup point for riders; Manage settings).
-
Payments at the table (a table app approved for it, and switched on by you): the diner pays the table's bill inside the app. The bill closes by itself, settled as Paid in an app. Day close lists it apart from the cash drawer and the card machine, because the money is with the app, not in your drawer. On the app's ⋮ menu, Let diners pay in this app switches it on (and Stop diners paying in this app off). The Owed by the app column shows what the app has collected for you and not yet paid out. When its payout reaches your bank, Record a payout asks for the amount that arrived, the transfer reference and the last day it covers. Every payment up to that day is then marked as paid out, and the toast says what was owed and what the app kept as its charge.
-
ONDC orders come through an ONDC seller app on the approved list (such as uEngage, Mystore, GrowthFalcons, Bitsila or Tipplr), connected like any ordering app. Their orders land on Online orders named by the network and the buyer app the customer ordered in, such as ONDC · Paytm (Mystore). The seller app reads your FSSAI licence number with the menu, so enter it under your business identifiers.
The Can send column says what each app was approved for: Orders, Table bookings, Bills, Orders at the table, Rewards at the till, Riders for deliveries, Payments at the table.
Connecting an app
- Switch on Connected apps under Workspace → Modules (Add-on modules, Sell).
- Open Workspace → Connected apps. Every approved app is listed.
- On the app's ⋮ menu choose Connect. Its outlet code appears in the list; Copy outlet code puts it on your clipboard.
- Give the code to the app (usually in its own settings, or to its support team). Its orders start arriving on Online orders.
Disconnect (⋮ menu, confirmed) refuses the app's calls at once. Orders already on Online orders stay. Connecting again gives the same outlet code.
Turning it off
Open the add-on's ⋮ menu under Workspace → Modules and choose Turn off. Every connected app's calls are refused until you switch it on again; your links and codes are kept.
Ready-made automations
None of its own: an app's orders are online orders, and the online-order automations already cover them.
In the desktop and mobile apps
The desktop app's Online orders shows these orders with the app's name, like any other online order. Connecting apps is done on the web.
For the app's developers
An approved app receives a key id, a secret and a webhook secret from the platform, once. Every call is to https://gopanear.com/api/v1/partner/... and carries four headers:
| Header | Value |
|---|---|
X-App-Key |
the key id (ca_…) |
X-Outlet |
the outlet code the workspace gave you (out_…) |
X-Timestamp |
seconds since 1970; within five minutes of our clock |
X-Signature |
lower-case hex HMAC-SHA256, keyed with the secret, of <timestamp>\n<METHOD>\n<path and query>\n<body>; the path starts with /api/v1/partner/ |
| Call | What it does |
|---|---|
GET /api/v1/partner/menu |
The outlet's menu: categories, dishes with their ids, prices in minor units, tax, veg/egg/non-veg, packing charges, sizes and add-ons, and what is switched off; and outlet: its name and its fssai licence number (null when the shop has not entered it under its business identifiers) |
POST /api/v1/partner/orders |
A new order (below). Answers 201 with its status; sending the same order_id again answers 200 and changes nothing |
GET /api/v1/partner/orders/{order_id} |
Where the order stands: received, accepted, rejected, ready, picked_up, delivered or cancelled, with the times and the minutes to prepare |
POST /api/v1/partner/orders/{order_id}/cancel |
The customer cancelled. Body {"reason": "…"} (optional) |
An order:
{
"order_id": "TO-1001",
"order_number": "1001",
"placed_at": "2026-11-23T12:00:00+05:30",
"scheduled_for": null,
"payment": "prepaid",
"customer": {"name": "Asha", "area": "Koramangala"},
"items": [
{"item_id": "the dish id from the menu", "variant_id": null, "name": "Paneer Tikka", "quantity": 2,
"unit_price_minor": 25000, "note": "less spicy",
"addons": [{"id": "an add-on id", "name": "Extra mint", "price_minor": 2000, "quantity": 1}]}
],
"items_total_minor": 54000, "discount_minor": 0, "taxes_minor": 2700,
"delivery_minor": 0, "packing_minor": 0, "total_minor": 56700,
"instructions": "Ring the bell", "cutlery": false
}
Money is always a whole number in the currency's smallest unit (paise for rupees). payment is prepaid or cod.
An order that came over a network (an ONDC seller app): add "network": {"name": "ondc", "buyer_app": "Paytm", "order_id": "the network's own order id"}. The shop sees it as ONDC · Paytm (your app's name), and when it is refused, order.rejected also carries network_reason_code, ONDC's cancellation reason code (002 an item not available, 017 no rider, 018 a place not served, 005 the seller refused).
Our events go to the webhook address the platform recorded for you, as POST with a JSON body {"event", "data", "sent_at"} and headers X-Event, X-Timestamp and X-Signature (lower-case hex HMAC-SHA256, keyed with the webhook secret, of <timestamp>\n<body>). Answer any 2xx; anything else is tried again.
| Event | Data |
|---|---|
order.accepted |
outlet, order_id, prep_minutes |
order.rejected |
outlet, order_id, reason, reason_code, item_ids, network_reason_code (ONDC orders; null otherwise) |
order.ready |
outlet, order_id |
order.dispatched |
outlet, order_id |
items.availability |
outlet, items: [{"item_id", "available"}] |
store.status |
outlet, open, until, reason |
Table bookings (the reservations contract; the workspace needs its kitchen module)
| Call | What it does |
|---|---|
GET /api/v1/partner/tables |
Each table now: table_id, name, seats, status = free, occupied (a bill is open on it) or reserved (a booking running now or within two hours) |
POST /api/v1/partner/reservations |
A booking: reference_id (yours), name, phone, covers, reserved_for (ISO 8601 with its offset), duration_minutes (default 90), table_id (optional), note. Answers 201; the same reference_id again answers 200 and changes nothing; a table already booked then answers 422 booking_refused with the reason |
GET /api/v1/partner/reservations/{reference_id} |
Its status: booked, seated, cancelled or no_show |
POST /api/v1/partner/reservations/{reference_id}/cancel |
The guest cancelled |
Event reservation.status: outlet, reference_id, status, table_id, when the restaurant seats the party, cancels or marks a no-show (and when you cancel).
Orders at the table (the dine_in contract; the workspace needs its kitchen module and Order from the table set to take orders)
| Call | What it does |
|---|---|
GET /api/v1/partner/dine-in/menu |
The table menu, exactly as the workspace's own table QR page reads it: categories, dishes by product_id, sizes by variant_id, add-ons by modifier_item_id, prices, and what is available now |
GET /api/v1/partner/dine-in/tables |
The tables: table_id, name, seats |
POST /api/v1/partner/dine-in/rounds |
A round: table_id, round_id (a ULID you make; the same one again answers 200 with replayed true and changes nothing), lines: [{"product_id", "variant_id", "qty", "modifiers": [{"modifier_item_id", "qty"}]}] (50 lines at most, 99 of each). Answers 201 with the round (its lines and total) and the bill's order_id; a dish not on the table menu now is refused 422 with the reason |
GET /api/v1/partner/dine-in/tables/{table_id}/bill |
The bill open on the table: order_id, number, status, lines (name, qty, total_minor), the totals. 404 no_open_bill when none |
Event dine_in.bill_ready: outlet, table_id, bill, when the waiter prints the bill of a table the app sent rounds to. A workspace that does not take orders from the table answers 403 table_ordering_off to every dine-in call.
Payments at the table (the payments contract, with dine_in; the shop switches it on)
| Call | What it does |
|---|---|
POST /api/v1/partner/dine-in/tables/{table_id}/payments |
The diner paid the bill in your app: order_id (from the bill), amount_minor (exactly the bill's total), tip_minor (optional), payment_id (your own id for the payment). 201 with invoice_id, invoice_number, status paid. The same payment_id again answers 200 with replayed true. 403 payments_off until the shop lets diners pay in your app; 409 bill_changed when the table's open bill is another (read it again); 409 amount_mismatch with total_minor when the amount is not the bill's total |
The money you collect is owed to the shop; it records your payouts by their transfer reference.
Rewards at the till (the loyalty contract)
Here we call you: the platform records your API address with your approval, and the till's calls go to it signed like our events (X-Outlet, X-Timestamp, X-Signature keyed with your webhook secret over <timestamp>\n<body>). Answer within 8 seconds.
| Our call | Body | Your answer |
|---|---|---|
POST {api}/rewards |
phone, bill_minor, currency |
points, rewards: [{"id", "name", "points", "value_minor"}], otp_required, message |
POST {api}/redeem |
request_id (ours), phone, bill_minor, currency, reward_id or points |
status otp_sent (you texted the customer a code) or redeemed with discount_minor and redemption_ref; message |
POST {api}/verify-otp |
request_id, otp |
status redeemed, discount_minor, redemption_ref |
POST {api}/cancel |
request_id, redemption_ref |
status cancelled (the reward was not used: give it back) |
Any non-2xx answer is shown to the cashier with your message. A discount_minor above the bill is refused.
Events loyalty.bill and loyalty.bill_voided: outlet, bill (as the data contract shows it) and customer (phone, name), for every bill that has a customer with a phone, so you can give and take back points.
Riders for deliveries (the riders contract)
Here too we call you at your API address, signed like our events:
| Our call | Body | Your answer |
|---|---|---|
POST {api}/riders/quote |
pickup and drop (name, phone, address, city, latitude, longitude), order (order_ref, total_minor, paid, currency) |
serviceable, price_minor, message |
POST {api}/riders/book |
the same, and items (id, name, quantity, price_minor) |
task_id, status, message |
POST {api}/riders/track |
task_id |
status, rider_name, rider_phone, latitude, longitude, tracking_url |
POST {api}/riders/cancel |
task_id |
status cancelled |
You tell us how the rider is doing with POST /api/v1/partner/rider-updates (signed like every call): task_id, status (one of booked, allotted, at_pickup, picked_up, at_door, delivered, cancelled, failed, returned), and when you know them rider_name, rider_phone, latitude, longitude, tracking_url (https), message. A status only moves forward; picked_up sends the delivery out and delivered marks it delivered. 404 for a task that is not yours.
Bills (the data contract)
| Call | What it does |
|---|---|
GET /api/v1/partner/bills?from=YYYY-MM-DD&to=YYYY-MM-DD&page=1 |
Bills issued on those days (the workspace's own days; 31 at most), oldest first |
GET /api/v1/partner/bills?changed_since=<ISO 8601>&page=1 |
Bills changed after that moment (paid, voided), oldest change first |
100 bills a page, with has_more. A bill: bill_id, number, status (issued, partially_paid, paid, void), order_id, customer, currency, issued_at, changed_at, subtotal_minor, discount_minor, tax_minor, round_off_minor, tip_minor, total_minor, paid_minor, lines (product_id, name, qty, unit_price_minor, discount_minor, tax_rate_bp, total_minor) and payments (method, kind, amount_minor, paid_at).
Events bill.issued and bill.voided: outlet and bill. These events are queued and tried five times over about an hour and a half.
Refusals: 401 when the key, outlet, time or signature does not check out (nothing more is said), 403 when the app was not approved for that kind of call (contract_not_allowed), the workspace has switched Connected apps off (outlet_switched_off) or the module the call needs (module_switched_off), 404 for an order or booking that is not yours, 422 for something we cannot read (the answer names the field), 429 past 120 calls a minute.