WhatsApp: invoices and live-stream selling
TikTok limits phone numbers in live chat, so sellers ask buyers to write to their WhatsApp, and a buyer books an item by a booking number: the last 4 digits of their phone. Qut Pay has two tools for this:
| Tool | Who writes | What happens | Where it runs |
|---|---|---|---|
| Live selling (Chrome extension or server by QR) | A buyer, to your WhatsApp: "4412" | The bot asks for the amount, their number gets a Kaspi invoice, and "✅ Paid" after payment | On a computer, in WhatsApp Web open in Chrome; or without a computer (QR, Business tariff and up) |
| Bot on the Qut Pay number | You or an assistant, to the Qut Pay WhatsApp number: 12000 77011234567 | The customer gets an invoice in the Kaspi app; you get a message in the same chat when it is paid | From a phone, anywhere |
Both work on any tariff (except live selling by QR without a computer, which is on Business and higher and during the trial; see below). Every paid invoice counts toward the tariff's monthly payment limit (the Free tariff includes 20 payments a month). Money goes straight to your Kaspi Pay account.
Live selling by booking number
Install (Chrome extension)
- Dashboard → Live selling → "Add to Chrome", or straight from the Chrome Web Store.
- Click "Add to Chrome". You need Chrome on a computer. Use extension version 0.3.0 or newer.
- In the dashboard click "Create a key for the extension", paste the key into the extension popup and save. The key is stored only in this browser.
- Open https://web.whatsapp.com. A "Qut Pay ●" badge in the bottom-left corner means it is running.
To work without a computer, connect QR mode (server) instead of the extension; see below.
How it works
- On the stream a buyer books an item by the last 4 digits of their WhatsApp number: "4412 — black jacket".
- They write "4412" to your WhatsApp. The bot: "Сәлеметсіз бе! Бронь №4412. Қанша сомаға шот жіберейін?" (how much should the invoice be).
- The buyer writes the amount any way:
5000,5 мың,5k,3500 x 2,2 куртка 3500,5000 және 2000,3500 ден екі,по 3500 две. The Kaspi invoice goes to their number with the comment "Бронь нөмір: 4412" and the bot replies "✅ 7 000 ₸ … (3 500 × 2). Бронь №4412." - When paid: "✅ Төленді: Бронь №4412 — 7 000 ₸" (paid) in the chat.
The bot's job ends at the invoice: it never looks up products, does not know prices and does not answer other questions.
| Situation | What the bot does |
|---|---|
| No Kaspi on that number | Asks for the Kaspi number; the next number gets the invoice at once (the amount is kept) |
| WhatsApp hides the number | Asks for the booking number, Kaspi number and amount in one message, accepts them in any order |
| "To another number: 8701…" | Sends the invoice there and cancels the one sent before |
| Not an amount but a question: size, colour, delivery… | No reply. The dashboard lists the chat under «Менеджер жауап берсін» (a manager should answer) so a person answers in WhatsApp |
| Has numbers, but no readable amount | "Write the amount in digits, e.g. 7000" |
| Booking number written again | No second invoice, a reminder |
Phone numbers can be written any way: 8 700 123 45 67, +7 747 …, 747 123 4567, 7747…. A clock time ("18:56") is not read as an amount. Replies go out in Kazakh, Russian or both (translations above are for reading only).
No links in messages. WhatsApp blocks numbers that send links, so the bot never sends one: if a number is not in Kaspi, it asks for another number.
"Stream is live" switch
A big button at the top of the page. While on, the bot opens a booking in any new WhatsApp chat (last 4 digits of the number) even if the buyer wrote no digits. While off, it answers only those who wrote a 4-digit booking number. It turns itself off after the chosen time (1–12 hours, 4 by default); the time left is shown in the dashboard. Note that during the stream the bot also answers friends in private chats.
«Менеджер жауап берсін» (a manager should answer)
When a buyer asks a question instead of writing an amount, the bot stays silent and the Live selling page shows a «Менеджер жауап берсін» tile with a count and a list: the booking number, the buyer's last message and «WhatsApp-та ашу» (open in WhatsApp). After answering, press «Жауап берілді» (answered) and the chat leaves the list. If the buyer later writes an amount, the bot invoices as usual.
With the AI off, the bot reads by rules: a message with no number at all goes to the manager list.
AI amount reader (optional)
Dashboard → Live selling → «Жауап мәтіндері» (reply texts) → the «ЖИ» (AI) switch. Off by default; it works only when AI is configured on the Qut Pay platform (the dashboard shows it).
- The AI (Claude) runs only when the rules cannot read the amount: «үш жарым мыңнан екеуі», «бес мың екі жүз», mixed languages, typos.
- The server checks the result: the amount must be made of numbers that are actually in the buyer's text (one of them, a sum, or price × quantity) and be within 100 – 5 000 000 ₸. Otherwise no invoice goes out.
- If the message is a question rather than an amount, the AI sends the chat to «Менеджер жауап берсін».
- «ЖИ-ге нұсқау» (instructions for the AI, up to 1000 characters) may only add fixed adjustments you state there, e.g. "add 1 500 ₸ delivery", "10% off from 5 items". Each adjustment is at most 50% of the amount; anything else is ignored.
- Monthly cap on AI calls: Free / Trial 200, Start 1 000, Business 5 000, Chain 20 000. The dashboard shows usage such as «ЖИ: 12 / 1000 осы айда». Over the cap the rules keep working, silently.
- The «Сынап көру» (try it) box shows what the bot would do with a sample message. No invoice is sent, but the AI call counts toward the cap.
- While the AI is on, the text of the buyer's messages is sent to the AI provider (Anthropic) to read the amount.
Reply texts
Editable in the dashboard: Kazakh, Russian or both. Placeholders: {booking} (booking number), {amount}, {calc} (the calculation, e.g. "(3 500 × 2)").
In the dashboard
The Live selling page shows «Менеджер жауап берсін» and the last 24 hours: requests, paid count and sum, who wrote what, the status (amount awaited / invoice sent / number awaited / paid), and whether "Paid" has been written to the chat. Export the list to CSV. If the Telegram bot is connected, every payment also arrives there.
So that managers can see what is sold on today's stream, items in «Қойма» (inventory) can be ticked «Бүгінгі эфирде сатылады» (on today's stream). The bot does not use this list.
Limits
- The bot only replies to buyers who wrote first. It never starts a chat and does not write to groups, channels or statuses. Before each reply it pauses like a person and shows "typing…".
- What the extension sends to the server: private messages that contain a digit; messages in a chat the bot replied to or flagged for a manager in the last 3 hours; and, while "Stream is live" is on, any private message.
- It is not an official WhatsApp tool. WhatsApp may limit automated replies. Keep replies short and don't change them too often.
- The computer and Chrome must be on, with WhatsApp Web open. The extension does not run on a phone; to invoice from a phone, use the bot below.
- After WhatsApp Web updates the extension may need an update. Chrome updates it from the Chrome Web Store by itself.
- Try it in test mode first: with a sandbox key the invoices are test ones and no money moves.
By QR (server): live selling without a computer
Instead of the extension, the seller's WhatsApp number can be linked to the Qut Pay server as a "linked device". Then no computer or Chrome has to stay open: the server answers buyers just like the extension — same booking flow, same texts, same "✅ Paid".
Tariff: QR mode is available on the Business, Chain and Partner tariffs and during the 7-day trial. The Chrome extension works on every tariff, Start included. If the tariff is downgraded or runs out, the server stops answering (the device stays linked on your phone), you get an alert, and the Chrome extension works again. After an upgrade the session reconnects by itself, without a new QR.
- Dashboard → Live selling → "By QR (server)" → "Show QR" (owner or developer role).
- On your phone: WhatsApp → Settings → Linked devices → Link a device → scan the QR on the screen. The QR refreshes by itself; if it is not scanned within a few minutes, press "Show QR" again.
- Once it says "Connected" you see part of the number, when it was connected and the last message time. The "Auto-replies on" box pauses replies.
- "Disconnect" removes the device from the list on your phone and deletes the session from the server.
- Same rules as the extension: private chats only, replies only to people who wrote first; groups, channels and statuses are ignored. Messages from before the connection get no reply. Each reply comes after a pause and "typing…".
- While the server is connected the Chrome extension does not answer, so a buyer never gets two replies.
- If you remove the device under "Linked devices" on your phone or WhatsApp ends the session, replies stop and you get a Telegram/WhatsApp alert; scan the QR again.
- The session keys are stored encrypted on the server.
- This is not an official WhatsApp API. The server uses the WhatsApp Web protocol. WhatsApp may restrict or ban a number that sends automated messages, and this cannot be ruled out. Only reply, keep texts short, and try it in test mode first.
Bot on the Qut Pay WhatsApp number
Dashboard → Settings → "Invoices via WhatsApp": the green button opens a chat with the Qut Pay WhatsApp number.
| You write | What happens |
|---|---|
12000 77011234567 | A 12 000 ₸ invoice in the customer's Kaspi app |
12000 77011234567 Dress | With a description |
12000 | A payment link (you send it to the customer) |
today | Today's revenue |
last | The last 10 invoices |
cancel inv_… | Cancel an invoice |
org | Switch organization if you have several |
help | The command list |
- Write from the number you sign in with. Add assistants under Team, and they can write from their own numbers.
- The bot creates no invoices for unregistered numbers.
- When the customer pays, "✅ Paid" arrives in the same chat.
- Your own WhatsApp stays as it is.
API
The extension runs on a public API, so your own bot or CRM can use it too. Key scopes: invoices:read + invoices:write.
| Method | What it does |
|---|---|
GET /api/v1/live | Settings ("Stream is live" state), reply texts, the last 24 hours |
POST /api/v1/live/messages | { "chat", "messageId", "phone", "name", "text" } → { "action", "reply" } |
GET /api/v1/live/notices | "Paid" messages still to be written to chats |
POST /api/v1/live/notices/{id}/sent | Mark a message as sent |
GET /api/v1/live/claims?status=paid | Requests |
action is one of ask_amount (ask for the amount), ask_phone (ask for the Kaspi number), invoice (invoice sent), again (reminder), or ignore / replayed / disabled (no reply). ignore with needsManager: true means the chat was flagged for a manager: send nothing. When reply is present, send it to the buyer's chat. A repeated messageId never creates a second invoice. Selling by product code was removed: PUT /api/v1/live/lots now answers HTTP 410 { "error": "lots_removed" }. More: https://api.qut.kz/openapi.json, https://api.qut.kz/for-ai.
Need help? WhatsApp +77788813333 · kazprose@gmail.com · 09:00–21:00 (Алматы)
You can also write from the dashboard: Support.
Qut Pay is an independent service, not affiliated with Kaspi Bank JSC. Kaspi and Kaspi Pay are trademarks of their owner.