Collect pet service payments
with a payment API
Vet, grooming spa, boarding hotel, pet shop — deposits to hold a room, counter payment, prepaid packages, per-night boarding; each payment matches the right customer and the right pet automatically, and money lands straight in your account.
Scan QR · room held instantlyPet facilities collect payments across several situations — deposits to hold a boarding room, counter payment after a checkup or bath, prepaid spa/grooming packages, per-night boarding, pet shop sales. The same payment API: each payment carries an order code (order_id) or a VA by customer and pet, so money arrives and matches the right service automatically and lands straight in the facility's account.
Verbal deposits, manual collection — easy no-shows, hard to reconcile
During holidays customers book up every boarding room; staff juggle answering the phone with watching bank messages to tell who actually paid a deposit and who just asked out of curiosity.
- 1Holding a room on a promise — the customer books verbally then never comes, and the room sits empty at peak times.
- 2Bank transfers with a note — reading statements to see who paid, for which pet, for which service.
- 3Prepaid spa/grooming packages — unclear how many sessions the customer has left, easy to miscount.
- 4Mixed-up payments — checkups, baths, boarding, retail… at the end of the day, tallying the book is a chore.

The problem is in the manual deposit and recording step. A payment API ties each payment to the customer + pet + service, so when a deposit arrives the room is held automatically, and when money arrives the invoice closes automatically.
One payment API — every pet service
Each payment carries an order code (order_id) or a VA by customer and pet, so money arrives and matches the right customer — the right pet — the right service.
| Service | How you collect | What the system does when money arrives |
|---|---|---|
| Boarding hotel | QR deposit to hold a room | Confirm the room hold, stop no-shows |
| Vet (checkup & vaccine) | QR at the counter after the checkup | Close the invoice, record it in the pet's profile |
| Spa & grooming | QR per session / per package | Close a session or activate a prepaid package |
| Pet shop & packages | QR per order | Record the sale, deduct remaining sessions |
🏨 BoardingPet hotel
Deposit to hold a room, collect by the night.
Deposit arrives → room held
🩺 VetCheckups & vaccines
Collect at the counter after the checkup, issue an invoice.
Money arrives → profile closed
🛁 GroomingSpa & grooming
Collect per session or sell a prepaid package.
Money arrives → package activated
🎁 Day careDaily day care
Drop off the pet by the day, with clear collection & reconciliation.
Money arrives → visit recordedFrom the customer scanning to holding the room / closing the invoice
Connect once
The facility management software gets a TCONNECT API access key — a one-time setup, sandbox then production.
Generate a QR per payment
Boarding deposits, collection after a checkup or bath, selling a package or pet shop sales all use one API to create a QR, changing only the amount and the order code.
Money arrives and matches itself
TCONNECT sends a payment notification automatically (IPN). Thanks to the order code, the system holds the room, closes the invoice, activates the package or records the sale.
// order_id định danh cho khoản thu này (tối đa 36 ký tự) const payload = { req_id: "req-BOSS-MIU-LUUTRU-20260816-3D", order_id: "BOSS-MIU-LUUTRU-20260816-3D", va: "VA100023312", bincode: "970454", amount: 600000, }; // amount 0/bỏ trống = QR tĩnh; > 0 = QR động // Mã hoá AES-256-CBC (hex) rồi gọi API tạo QR const res = await fetch("https://sme-open-api-sandbox.tconnect.vn/openapi/v1/transaction/qr/generate", { method: "POST", headers: { "partner-code": partnerCode, "x-service-code": serviceCode, // lấy từ API Get Services Authorization: `Bearer ${accessToken}`, "Content-Type": "application/json", }, body: JSON.stringify({ data: encryptAES256(payload) }), });
One order code per payment — tied to the right customer & pet
| Service | Example order_id | Meaning |
|---|---|---|
| Boarding deposit | BOSS-MIU-LUUTRU-20260816-3D | Pet Miu, 3-night boarding from 16/08 |
| Vet checkup | BOSS-KIKI-KHAM-20260816 | Pet Kiki, checkup on 16/08 |
| Grooming | BOSS-COCO-SPA-GROOM | Pet Coco, grooming spa session |
| Prepaid package | GOI-SPA-10BUOI-2026 | 10-session spa package for 2026 |
When the customer pays, TCONNECT sends a payment notification automatically to the software (the IPN mechanism). Thanks to the order_id, the system confirms the room hold, closes the checkup/grooming invoice, activates the package or records the sale — no one has to read statements. The notification handler only needs to: verify the caller, not record duplicates, respond quickly.
Many facilities — rolled up into one dashboard
Because each payment has a named VA/order_id, revenue rolls up to the right facility on its own. The owner sees right away which pet is boarding, which packages have sessions left, and revenue per service — with no notebook tallying.
Issuing e-invoices (optional)
After recording a payment, you can go on to call TCONNECT's e-invoice API to issue an invoice or receipt for the customer automatically — in line with Decrees 123/2020 & 70/2025. This is an added step; the automatic collection flow above already runs on its own.
A deposit means the room is held · money in means done
Quick answers for pet facilities
order_id, not on the amount or any note text.