TCONNECT
PAYMENT API

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.

A happy customer with their pet, paying for a service through an API Scan QR · room held instantly
🏨 Boarding🩺 Vet🛁 Grooming spa🎁 Packages & pet shop
Quick summary

Pet 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.

The problem

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.
A loyal customer with their pet

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.

Where it applies

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.

ServiceHow you collectWhat the system does when money arrives
Boarding hotelQR deposit to hold a roomConfirm the room hold, stop no-shows
Vet (checkup & vaccine)QR at the counter after the checkupClose the invoice, record it in the pet's profile
Spa & groomingQR per session / per packageClose a session or activate a prepaid package
Pet shop & packagesQR per orderRecord the sale, deduct remaining sessions
undefined🏨 Boarding

Pet hotel

Deposit to hold a room, collect by the night.

Deposit arrives → room held
undefined🩺 Vet

Checkups & vaccines

Collect at the counter after the checkup, issue an invoice.

Money arrives → profile closed
undefined🛁 Grooming

Spa & grooming

Collect per session or sell a prepaid package.

Money arrives → package activated
undefined🎁 Day care

Daily day care

Drop off the pet by the day, with clear collection & reconciliation.

Money arrives → visit recorded
How it works

From the customer scanning to holding the room / closing the invoice

1

Connect once

The facility management software gets a TCONNECT API access key — a one-time setup, sandbox then production.

2

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.

3

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

ServiceExample order_idMeaning
Boarding depositBOSS-MIU-LUUTRU-20260816-3DPet Miu, 3-night boarding from 16/08
Vet checkupBOSS-KIKI-KHAM-20260816Pet Kiki, checkup on 16/08
GroomingBOSS-COCO-SPA-GROOMPet Coco, grooming spa session
Prepaid packageGOI-SPA-10BUOI-202610-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.

What the pet facility gets

A deposit means the room is held · money in means done

No more no-shows — the customer has to pay a VietQR deposit to hold the room.
No reading statements — deposits/payments match the right customer and pet.
Clear prepaid packages — know right away how many sessions are left.
Customers scan VietQR with any banking app.
Money lands straight in the facility's account, no holding by anyone.
Integrate once into the management software you already use.
Frequently asked questions

Quick answers for pet facilities

? Does the customer need to install a separate app to pay a deposit or make a payment?
No. The customer scans the QR with any banking app (VietQR) or transfers to a named account — with no separate app to install.
? How does a holiday deposit to hold a boarding room work?
When a customer books a room online, the system generates a dynamic QR with the deposit amount built in. The room is only held firmly once the deposit succeeds, which cuts down on no-shows.
? How do you collect for per-night boarding?
You can take a deposit at check-in and collect the rest by number of nights at check-out, each as a QR; or roll it all into a single final invoice. Everything is tied to the same order for that stay for reconciliation.
? If two customers transfer the same amount, will the match be wrong?
No, because matching is based on the VA or order_id, not on the amount or any note text.
? Does TCONNECT hold the money for a prepaid spa/grooming package and deduct it over time?
No. The package payment goes straight to the facility's account as soon as the customer pays; the remaining sessions are tracked by the facility's own software, while TCONNECT only records the payment and sends the notification.