Accepting payments automatically via Click API
Using the Click callback (prepare/complete), signature verification, idempotency and webhooks, accept payments in so‘m automatically and deliver Stars/Premium/Gifts. 18 Q&A.
To accept payments automatically via Click API you need two things: creating a payment (invoice) and handling the Click callback (webhook). After the customer pays, Click sends a signed callback to your server, you confirm it, and the order closes automatically. StarsPaymee Business provides this flow together with Stars/Premium/Gifts.
What is automatic payment acceptance?
«Automatic» means no one checks manually. The customer pays, Click returns the result via callback, the system confirms it and closes the order. No screenshots or manual receipt checking. It's fast, error‑free and works 24/7.
- Prepare — pre‑check the payment (does the order exist, is the amount correct).
- Complete — confirm payment completion and close the order.
- Signature — verify the signature of every callback.
- Idempotency — if a callback arrives twice, don't deliver twice.
- Webhook — pass the result into your own system.
How does the Click callback work?
- 1. Prepare requestClick first sends a «prepare» request — you check the order and amount and respond.
- 2. Complete requestAfter payment completes, «complete» arrives — you verify the signature and mark the order «paid».
- 3. DeliveryAfter payment is confirmed, Stars/Premium/Gift is delivered automatically and the status updates.
- 4. Notify the customerThe customer is shown in the bot or site that the order is closed and delivered.
Want to connect automatic Click payments? Contact Business.
@StarsPaymee_botCommon mistakes
Without an idempotency key, a repeated callback may deliver twice — check by ID.
If you don't verify the signature, there's a risk of a fake callback — always confirm the signature.
If you don't respond to the callback quickly, the payment may remain «suspicious».
Always check that the received amount equals the order amount.
See also: the official Click API integration and Click API FAQ. To wire payment to delivery, see Stars API.
- docs.click.uz — Click callback docs
- click.uz — Click payment system
Frequently asked questions
What is a Click callback?
Are webhook and callback the same?
How do I enable automatic payment acceptance?
What's the difference between prepare and complete?
Is signature verification mandatory?
How do I avoid double delivery?
Do I need to compare the amount?
How fast should I respond to the callback?
What if payment failed?
Does the product ship automatically after payment?
Can I test in Sandbox?
Does refund work with callback?
Can I connect several payment methods?
Is there auto‑acceptance in a bot?
What matters for security?
Can I view statistics?
Is documentation provided?
How do I start?
Enable automatic payments
Through StarsPaymee Business, accept Click payments automatically 24/7 with callbacks.
Open the botRelated articles
What is the Telegram Stars API and how to connect? (2026)
The Telegram Stars API is a REST/JSON API for auto‑selling Stars, Premium and Gifts. How it works, who it's for and how to connect via StarsPaymee Business — a full guide and 27 Q&A.
ReadSet up automated selling via the Telegram Premium API
With the Telegram Premium API sell 3/6/12‑month and login subscriptions in your bot and site automatically: order → payment → activation in 10 seconds. Reseller price, webhook and 24 Q&A.
ReadThe cheapest Telegram API service in Uzbekistan (2026)
How to choose the cheapest Telegram API in Uzbekistan: per‑unit price, local so‘m payment, no hidden fees, fast delivery. StarsPaymee Business — Stars, Premium, Gifts, Click and SBP in one place.
Read
