Skip to content
HisarPay
  • Integrations
  • Published:
  • Reading time: 6 min read
  • Türkçe oku

Issue invoices from Telegram: a payment link and QR from the chat

When orders come in by message, opening the dashboard for every sale gets old. One line to the HisarPay bot returns a payment link and a QR code, and the same chat tells you when the money is final. This is how to connect it, what it understands, how to pass a link on, and where its powers end.

On this page
  1. Connect the bot
  2. The commands
  3. Create an invoice
  4. Send it to the customer
  5. One sale from start to finish
  6. Choose your alerts
  7. What the bot cannot do
  8. Frequently asked questions

Connect the bot

  1. In the dashboard, open Settings → Notifications and press Link Telegram.
  2. Enter your password and the code from your authenticator app, or the one sent by e-mail if you have none. A linked chat can see payments and balances, so this is asked every time.
  3. Tap the link you get. Telegram opens, you press Start, and the code is sent for you.
  4. The bot replies with the name of the business it is now linked to. Read it.

The code works once and lasts 10 minutes; ask for a new one if it runs out. The bot reads amounts in the language your HisarPay account had when you linked it, not in that of your Telegram app. That matters in a moment.

The right botOpen the bot from the dashboard link instead of searching for it, because look-alike accounts can turn up in search. The HisarPay bot never asks for a password, a verification code or wallet recovery words. More tricks of that kind are in our article on fake payment pages.

The commands

Each one has an English and a Turkish spelling that do the same thing.

CommandWhat it does
/invoice or /faturaUSD invoice with a payment link and QR code
/summary or /ozetPayments of today; buttons for the last 7 and 30 days
/balance or /bakiyeAvailable balance per coin, plus anything under review
/recent or /sonYour last five payments with their dollar value
/withdrawals or /cekimThe state of the withdrawal lock and the last withdrawals
/links or /linklerYour active payment links, up to ten
/help or /yardimThe list of commands
/unlink or /ayrilDisconnects this chat from the account

Create an invoice

Type the amount, a space and the description:

What you type
/invoice 49.90 Logo design, first draft

Within seconds you get a picture with a QR code, the link and how long it is valid. On the payment page the customer chooses USDT or TRX and the rate is locked at that moment. The lifetime and the question of who pays the commission follow your account settings. Someone paying a $49.90 invoice in USDT sends 50.90 USDT, network fee included.

  • A dot for decimals: on an English account write 49.90; a comma only separates thousands (1,250). Send 49,90 and the bot does not guess. It refuses and shows an example.
  • Description: up to 500 characters, visible to the customer. Describe the work, not your private notes.
  • Minimum: the smallest invoice is $10.
  • Live accounts only: the bot issues real invoices. Until your account is approved the command is refused, so do your trials in test mode in the dashboard.

If you sell the same thing again and again, make a payment link once and fetch it with /links. The bot lists links, it does not create them.

Send it to the customer

Forward the bot’s message, or copy just the link. The customer does not need Telegram: the link opens in any browser and travels equally well by e-mail or another messenger. The QR code holds the address of the payment page and not a wallet address, so scanning it with a phone camera leads to a page that shows the amount and the network.

Two sentences next to the link answer most questions before they are asked:

A message to copy
Your payment page is ready. Choose USDT (TRC20) or TRX and send the amount shown there; it confirms in about a minute.

If the customer was slow and the page has expired, send another /invoice. Someone who sends too little can top up at the same address, and a payment that arrives late is still credited and flagged.

One sale from start to finish

Picture a small print studio. Someone asks for two posters and you agree on $38 with shipping. You type /invoice 38 Two posters, shipping included and paste the link into the conversation. The buyer picks USDT and sends 39, of which 1 USDT is the network fee. About a minute later the alert appears. If you bear the 0.4% commission, 0.152 USDT comes off and 37.848 USDT reaches your balance. To withdraw it you open the dashboard, and that is on purpose.

Choose your alerts

Next to the linked chat in the dashboard there are three switches: payments, withdrawals and security, the last one covering things like a new withdrawal address or a sign-in from a new device. A payment alert comes after 20 block confirmations, so by the time you read it the money is in your balance. Payments held for review are the exception and get their own message. Deliver on this alert, not on a screenshot from the buyer.

Account and support messages arrive whatever the switches say. The button under a message opens that record in the dashboard. Nothing is lost while your phone is off, since every alert is also on the Notifications page.

What the bot cannot do

The first question in its design was what happens if someone takes over your Telegram account. So the bot cannot move money. There is no withdrawal command, and it cannot add a withdrawal address, change a setting or see an API key. Withdrawals happen in the dashboard, or to trusted addresses through the API or an automatic withdrawal rule.

  • It only works in private chats. In a group it answers that it does not work there and shows no balance.
  • Changing your password removes every linked chat and every unused code.
  • Blocking the bot unlinks the chat.
  • Commands stuck during an outage are not replayed; messages older than 10 minutes are ignored.

What an intruder in that chat could do is see your balance and recent payments and create invoices in your name. Turn on Telegram’s own two-step verification and passcode lock, and close sessions you do not use. If the phone is lost, press Unlink in the dashboard. Our account security article has a checklist for the rest.

Frequently asked questions

Can I withdraw through the bot?
No, by design. Even if your Telegram account were taken over, your balance could not leave through the bot.
Is the invoice a tax invoice?
No, it is a payment request. HisarPay does not issue tax invoices; ask your accountant what you need to issue.
Why was my command refused?
Usually because of how the amount was typed: 49.90 on an English account, 49,90 on a Turkish one. Amounts under $10 and accounts that are not active yet are refused as well.
Can one chat be linked to several businesses?
Yes. The balance command shows all of them; the invoice and link commands work for the business you linked last.
  • #Telegram
  • #Invoices
  • #QR codes
  • #Alerts

Try crypto payments in test mode

No setup or monthly fees. Experiment as much as you like in test mode and go live when you are ready.

More guides that go well with this one.