Payme Merchant API Integration: Step-by-Step Guide for Uzbekistan
Payme Merchant API integration step by step: what the business needs, how Payme calls your server, amounts in tiyin, the sandbox and error codes. From $100.
In short: With Payme Merchant API, Payme itself calls your website, bot or app server: it checks the order, creates a transaction and performs the payment. Payme integration needs a cash desk in Payme Business, the Merchant API methods on your server and a passed sandbox test. I connect Payme to existing projects from $100: my part takes 1–3 days, and cash desk approval is up to Payme.
What Payme Merchant API is, in plain words
Payme is a local Uzbek payment system: customers pay with Uzcard or Humo, the country's local card networks. To accept payments online, a business opens a cash desk (kassa) in the Payme Business dashboard — a point of payment acceptance with its own ID, keys and settings. You'll also see the name Paycom: in the docs domain, the payment page address and the API login.
Payme has three types of cash desks:
- on-the-spot payment — works right after connection;
- without billing and with billing — need integration with your system.
For a website, bot or app, Payme offers two JSON-RPC 2.0 protocols:
| Merchant API | Subscribe API | |
|---|---|---|
| Who calls whom | Payme → your server | your server → Payme |
| Where the customer pays | on the Payme payment page | without leaving for Payme |
| What it gives | control over transactions, cancellations and refunds, splitting payments between partners | card binding, one-click payments, recurring and automatic payments, invoicing |
The focus here is Merchant API; Subscribe API gets a short section below. For a comparison with Click and Uzum Bank, two other local systems, see how to integrate Click, Payme and Uzum.
How a Payme checkout payment works, step by step
The customer just taps "Pay". Under the hood:
- Your site or bot builds a payment link (the docs call it a "check"): cash desk ID, order number and amount.
- The customer pays by card on the Payme page.
- Payme asks your server whether the order exists and the amount is right (CheckPerformTransaction).
- Payme creates a transaction (CreateTransaction), then performs it (PerformTransaction), and your server marks the order as paid.
- The customer returns to your site; the return address and delay are set in the link.

Key point for the owner: a customer returning to your site confirms nothing. The order is paid when Payme calls PerformTransaction and your server performs the transaction, so nobody compares screenshots. The link can come from a website, Telegram bot, Mini App, app or CRM; the rest is the same.
What the business needs to connect Payme
According to business.payme.uz, as of November 2026:
- Contract — on paper (after a manager's call) or electronic via didox with a digital signature.
- Documents — a copy of the director's passport, the registration certificate and, for VAT payers, the VAT certificate.
- ePOS terminal — needed to activate each cash desk; Payme managers help you get one at your servicing bank.
- Partner bank — per Payme's docs, the business is activated after a contract with a partner bank.
- Settlement account — according to Payme, by law the money goes to the company's settlement account, not a corporate card, within 1 banking day.
Payme accepts UZCARD Online, HUMO and Payme CARD. Fees as of November 2026, per business.payme.uz: with billing (online store, Telegram bot) — 2.0%, without billing — 1.5%, on-the-spot QR — 1%. Check the current numbers before signing up.
For my work, I need the Merchant ID (in the cash desk's developer parameters) and the keys: a new web cash desk gets TEST_KEY for the sandbox and key for live payments. The settings also hold the Endpoint URL — your server address that Payme sends requests to.
Receipts and IKPU codes
Under the Law on E-commerce (ZRU-792, Article 23), a buyer paying electronically must get an electronic receipt from a virtual cash register — by phone, e-mail or in a personal account, with IKPU codes from the national catalog at tasnif.soliq.uz. Payme can fiscalize payments itself using the detail object (see below). Which codes and VAT rate apply to you — ask your accountant.
Not sure what your project needs? Message me on Telegram and I'll advise.
Payme Merchant API methods in order
Merchant API is a set of methods on your server: Payme calls them, your server replies. The order for a standard payment:

| Method | What it does |
|---|---|
| CheckPerformTransaction | can the order be paid: does it exist, is the amount right |
| CreateTransaction | creates a transaction — state 1, waiting |
| PerformTransaction | performs it — state 2, the order is paid |
| CancelTransaction | cancels a created or performed transaction |
| CheckTransaction | returns the transaction state |
| GetStatement | lists transactions for reconciliation — mandatory |
| SetFiscalData | receives fiscal receipt data from Payme — optional |
States: 1 — created, waiting for confirmation; 2 — performed; −1 — cancelled before performing; −2 — cancelled after. Cancellation reasons are codes 1–5 and 10, e.g. 4 — timeout, 5 — refund.
12 hours to perform. A transaction not performed within 12 hours (43,200,000 ms) of creation is cancelled: state −1, reason 4. Don't treat such an order as paid.
Cancellations and refunds. CancelTransaction cancels both created and performed transactions. If the goods or service were already fully provided, return −31007: cancellation is impossible. Refunds via the Payme dashboard work only if CancelTransaction is implemented.
Payme (Paycom) API docs in plain English: requests, amounts, errors
The official docs are at developer.help.paycom.uz. The essentials for a developer:
Request format and authorization
- HTTPS POST, JSON-RPC 2.0, named parameters only.
- The merchant server always responds with HTTP 200; any other status counts as error −32400.
- Basic authorization in the
Authorizationheader: the login is alwaysPaycom, the password is the cash desk key. The login comes from the README of Payme's official GitHub template; the docs pages don't name it. - Wrong credentials → error −32504 ("insufficient privileges").
An example from the docs — Payme asks to perform a transaction:
{
"method": "PerformTransaction",
"params": {
"id": "5305e3bab097f420a62ced0b"
}
}
Your server's response:
{
"result": {
"transaction": "5123",
"perform_time": 1399114284039,
"state": 2
}
}
id is the Payme transaction ID (a 24-character string), transaction is the number in your system, perform_time is Unix time in milliseconds (13 digits), and state: 2 means performed.
Amounts are in tiyin
Payme counts in tiyin: 1 soum (UZS) = 100 tiyin. An order for 145,000 soum arrives as 14500000, and a=500 in a payment link is 5 soum, not 500. Click SHOP API, by contrast, counts in soum — see Click SHOP API integration.
The payment link
The link is https://checkout.paycom.uz/ plus base64 of parameters separated by ";": m — cash desk ID, ac.order_id — an account field such as the order number, a — amount in tiyin, l — language (ru, uz, en), c — return URL, ct — return delay in ms, cr — currency code. The docs' example parameters and the resulting link:
m=587f72c72cac0d162c722ae2;ac.order_id=197;a=500
https://checkout.paycom.uz/bT01ODdmNzJjNzJjYWMwZDE2MmM3MjJhZTI7YWMub3JkZXJfaWQ9MTk3O2E9NTAw
Alternatively, a POST form: merchant, amount (tiyin) and account[field] are required; lang, callback, callback_timeout, description and detail are optional. The sandbox uses test.paycom.uz instead of checkout.paycom.uz.
Error codes
Errors go inside the JSON, with status 200:
| Code | When |
|---|---|
| −31001 | wrong amount |
| −31003 | transaction not found |
| −31007 | can't cancel: goods or service already fully provided |
| −31008 | impossible in the current transaction state |
| −31050…−31099 | error in account fields: a localized message, the field name in data |
| −32504 | wrong authorization |
| −32400 | system error |
Protocol errors: −32300 — not POST, −32700 — JSON parse error, −32600 — required RPC fields missing, −32601 — method not found. Payment link errors include −31601 (merchant not found or blocked), −31611 and −31612 (amount below or above the limit) and −31630 (card problem, including corporate cards).
Receipt data: detail and SetFiscalData
detail goes in the CheckPerformTransaction response, in receipts.create and in the POST form. Required: receipt_type (0 — sale or refund) and items, each with title, price (tiyin), count, code (IKPU, required for fiscalization), package_code and vat_percent. Via SetFiscalData, Payme sends the finished receipt: receipt_id, terminal_id, fiscal_sign, qr_code_url, date; payment and cancellation get separate tax receipts.
Payme sandbox: testing and common mistakes
The sandbox is test.paycom.uz (docs). Create a web cash desk, set the Endpoint URL, then enter the Merchant ID and TEST_KEY in the sandbox and run the tests: Payme sends requests, your server replies. Two scenarios:
- creating and cancelling an unconfirmed transaction, with a security check;
- creating, performing and cancelling a transaction.
Pick the account type correctly: a cumulative account can be paid any number of times, a one-time account is an order paid once. Payme warns that tests on a live server load the system, and accounts with incorrectly working apps get blocked. The order: integration → sandbox tests → how checks are created → production server.

Common Payme integration mistakes
- Soum instead of tiyin.
a=50000in a link is 500 soum, and Payme's amount won't match an order stored in soum, so your server returns −31001. - Status other than 200. A framework returns 401 or 500 by habit; Payme sees system error −32400.
- No authorization check. The security test fails, and anyone could send your server a "payment".
- Payme transaction id not stored. Then you can't answer CheckTransaction, CancelTransaction or GetStatement.
- Forgetting the 12 hours. An unperformed transaction cancels itself (−1, reason 4); the order mustn't stay "paid".
- The wrong docs page. CheckPerformTransaction is described at
/metody-merchant-api/checktransaction, easy to confuse with CheckTransaction.
Saved cards and recurring payments: Subscribe API
One-click payments, subscriptions and monthly charges need the second protocol, Subscribe API, where your server calls Payme:
- addresses: live
https://checkout.paycom.uz/api, testhttps://checkout.test.paycom.uz/api; X-Authheader:{id}on the front end,{id}:{cash desk password}on the back end;- card binding:
cards.createwithsave: true, SMS code viacards.get_verify_codeandcards.verify; the token then works for future payments (the response has arecurrentflag), while withsave: falseit's single-use; - charging:
receipts.createcreates a check,receipts.paypays it with the card token — a new pair of calls from your server for every charge.
Payme requires a "Powered by Payme" label, a link to Payme's offer and a note that card data isn't passed to the merchant. Storing card data in plain text is prohibited; a PIN is recommended for saved cards. In the test dashboard (password qwerty, SMS code 666666) you create a "Virtual terminal" cash desk; its key comes from Payme support.
I set up automatic charges from saved cards — more in recurring card payments in Uzbekistan.
Payme in a Telegram bot
Bots have their own route: @BotFather → /mybots → Bot Settings → Payments → Paycom.Uz. "Connect Paycom Test" works without registration; "Connect Paycom Live" leads to the Payme Business login. A bot needs its own "cash desk for the bot" with minimum and maximum amounts. Websites and bots together: accepting online payments on a website and in a Telegram bot.
Payme in my projects: timing and price
MyPark, my parking service: drivers pay for parking via Payme. Parking is a real-world service, and for such services App Store and Google Play rules require payment outside in-app purchases — via Payme, Click or Uzum.
Qarz Daftar, my debt-book app: in the web version, users pay for the Pro subscription and reminder packages (SMS and calls) via Click, Payme and Uzum.
Timing and price:
- connecting Payme to an existing website, bot, Mini App, app or CRM — from $100;
- my part — 1–3 days: code and sandbox testing;
- cash desk approval is separate, and its timing depends on Payme;
- a new online store — from $500, with Payme, Click and Uzum Bank included;
- I work officially: sole proprietor, contract, bank transfer.
Full breakdown: how much online payment integration costs.
FAQ
Can I connect Payme without a developer?
An on-the-spot payment cash desk works right after connection. For a site, bot or app to learn about payments automatically, you need the Merchant API methods on your server.
How long does cash desk approval take?
That's up to Payme. My part is 1–3 days: code and sandbox testing.
Can I use Payme together with Click and Uzum?
Yes, the customer picks the method — that's how the Qarz Daftar web version works. Each system is a separate integration with its own API.
Do I need to send receipt data to Payme?
By law, the buyer needs an electronic receipt with IKPU codes, and Payme can fiscalize payments from the detail data. What to put there — ask your accountant.
Can I charge a card every month automatically?
Yes, with Subscribe API: the customer binds the card once with an SMS code, then your server charges it via receipts.create and receipts.pay. I set this up.
Bottom line
Payme Merchant API is a dialogue: Payme asks whether an order can be paid, creates a transaction and asks to perform it; your server replies and updates the order. The essentials: tiyin, HTTP 200, a key check, cancellations, statements, and the sandbox before going live. Want to accept Payme on your website, bot or app? Message me and I'll tell you what your project needs.
I’ll connect online payments to your product
Click, Payme, Uzum Bank, Paynet — to a website, bot, Mini App, mobile app or CRM. Connecting to an existing project starts at $100, my part takes 1–3 days, and recurring card payments are available too. Tell me about your project and which systems you need.