
IT in Uzbekistan, part 3: online payment — Payme, Click, Uzum Bank, Uzcard, and Humo, API, and receipt fiscalization
🌐 Machine-translated from Russian. Show original
How to accept payment on the website or in the app in Uzbekistan: how Payme, Click, and Uzum Bank differ, how their merchant APIs are structured, what ICPU is, and why connection is not complete without a fiscal receipt.
⚖️ Rules are changing. The post is an overview of official sources for November 2026, not a legal or tax consultation. Before making a decision, check the current versions: lex.uz, it-park.uz, soliq.uz.
In this part:
Who's Who#
- Uzcard and Humo are national payment systems whose cards are owned by almost everyone. An online store usually does not connect directly to them but accepts their cards through a payment service or bank.
- Payme (Payme Business), Click , and Uzum Bank are payment services with apps and APIs for merchants. Through them, the customer pays with an Uzcard or Humo card.
The general principle for all three is that the payment system calls your server itself (webhooks), and you respond to whether the payment can be accepted and whether it has been processed. This differs from the "store calls the bank's API" scheme common in Kazakhstan (see the series about banks in Kazakhstan).
Payme: Merchant API#
Connection#
- Register in the Payme Business account and add a web cash register.
- Enter the Endpoint URL — your billing address where Payme will send requests.
- Get two keys:
keyfor battle mode andTEST_KEYfor sandbox. Merchant ID — in the checkout developer settings. - Take the tests in the
https://test.paycom.uzsandbox, then switch tohttps://checkout.paycom.uz.
Protocol#
- JSON-RPC 2.0,
POSTover HTTPS, named parameters only. - The answer is always HTTP 200, otherwise Payme considers this a
-32400error. - Authorization — Basic:
Authorization: Basic base64(login:key). Login is provided by Payme technical support, password — cash register key. - Requests come only from addresses 185.234.113.1–185.234.113.15. Others can be cut off on the firewall.
- Amounts — in tiyins (1 sum = 100 tiyins).
Methods#
| Method | What your server does |
|---|---|
CheckPerformTransaction | Checks the order and amount; can return data for the fiscal receipt |
CreateTransaction | Creates a transaction, book an order, sets the status "pending payment" |
PerformTransaction | Records payment, issues goods or services, |
CancelTransaction | Cancels a transaction (before or after execution) |
CheckTransaction | Returns the transaction state |
GetStatement | List of transactions for the reconciliation period |
SetFiscalData | Optional: Payme sends fiscal receipt data |
Example of a request from Payme:
{ "method": "CreateTransaction",
"params": { "id": "5305e3bab097f420a62ced0b", "time": 1399114284039,
"amount": 500000, "account": { "order_id": "197" } },
"id": 2032 }
Transaction statuses: 1 — created, awaiting confirmation; 2 — completed; -1 — canceled before processing; -2 — canceled after processing. Payme cancels an unconfirmed transaction after 12 hours (43,200,000 ms) due to 4 — timeout.
Key errors: -31001 — incorrect amount; -31003 — transaction not found; -31007 — cannot be canceled, service provided; -31008 — operation impossible; -31050…-31099 — errors in account (with localized message); -32504 — incorrect authorization.
Payment link#
The check can be opened with a GET link: parameters via ;, are encoded in base64.
m=<ID кассы>;ac.order_id=197;a=500000;l=ru;c=https://shop.example.uz/thanks
→ https://checkout.paycom.uz/<base64 от строки выше>
Click: SHOP API#
Connection#
After contracting with Click, you get service_id, merchant_id, merchant_user_id , and SECRET_KEY, and you pass the Click addresses for the Prepare and Complete requests.
Protocol#
- Click sends
POSTwithContent-Type: application/x-www-form-urlencoded, the response is JSON. - Two stages: Prepare (
action = 0) — check and book, Complete (action = 1) — completion. - Sums are in sums (float-type
amount), not in tiyins as in Payme. - Request signature — MD5:
Prepare: md5(click_trans_id + service_id + SECRET_KEY + merchant_trans_id + amount + action + sign_time)
Complete: md5(click_trans_id + service_id + SECRET_KEY + merchant_trans_id + merchant_prepare_id + amount + action + sign_time)
Node.js signature verification:
const crypto = require("crypto");
function clickSignOk(p, secret) {
const parts = [p.click_trans_id, p.service_id, secret, p.merchant_trans_id];
if (Number(p.action) === 1) parts.push(p.merchant_prepare_id);
parts.push(p.amount, p.action, p.sign_time);
const sign = crypto.createHash("md5").update(parts.join("")).digest("hex");
return sign === p.sign_string;
}
The answer to Prepare contains click_trans_id, merchant_trans_id, merchant_prepare_id, error, error_note; to Complete — the same, but with merchant_confirm_id.
Merchant error codes: 0 — success; -1 — signature invalid; -2 — incorrect amount; -4 — already paid; -5 — order not found; -6 — transaction not found; -9 — transaction canceled. If Click sent Complete with a negative error, cancel the payment and return the -9.
Payment button#
https://my.click.uz/services/pay?service_id=...&merchant_id=...&amount=1000.00&transaction_param=<номер заказа>&return_url=...
transaction_param is the same merchant_trans_idthat will arrive in the SHOP API. The card_type parameter (uzcard, humo) is optional.
Uzum Bank: Merchant API#
According to the developer.uzumbank.uz specification, Uzum Bank calls five webhooks on your server: /check, /create, /confirm, /reverse, /status.
POST,application/json, Basic authorization.- Amounts — in tiyins.
- Answers:
check→status: OK,create→CREATED,confirm→CONFIRMED, in case of error —FAILEDanderrorCode. - If
/confirmdoes not arrive within 30 minutes after creation, the transaction is considered unsuccessful — transfer it toFAILED. - Upon a
/confirmfailure, Uzum asks/statusup to 10 times. - A repeated
/createor/confirmwith the sametransIdare10010and10016errors, not a repeat of a successful answer.
For card payments, Uzum has a separate Checkout product on its website with payment forms, card linking, and refunds.
Comparison#
| Payme | Click | Uzum Bank | |
|---|---|---|---|
| Protocol | JSON-RPC 2.0 | form-urlencoded → JSON | REST JSON |
| Who initiates | Payme → you | Click → you | Uzum → you |
| Basic authorization + whitelist IP | MD5 signature | Basic | |
| Unit of sum | sum | ||
| Steps | Check → Create → Perform | Prepare → Complete | check → create → confirm |
| Timeout | 12 hours | — | 30 minutes |
| Sandbox | test.paycom.uz | Testing section in docs.click.uz | please check when connecting |
Fiscalization: ICPU and OFD#
When making payments to the public through payment organizations, the buyer must be issued an electronic fiscal receipt — this is directly indicated by the tax committee with reference to PCM No. 943 dated 23.11.2019. Click additionally refers to PP-5252 dated 04.10.2021. The receipt is issued by the payment system on your behalf, but you provide the product details.
ICPU (MXIK) is a 17-digit identification code for goods or services from the Unified Electronic Catalog of the tax authority (tasnif.soliq.uz). Each code has a packaging code and a VAT rate.
How to transmit data:
- Payme — in the response
CheckPerformTransactionan objectdetailwith arrayitems:title,price,count,code(ICPU),package_code,vat_percent. Payme sends the receipt registration result using theSetFiscalDatamethod (fiscal_sign,qr_code_url,terminal_id). - Click — a separate
POST https://api.click.uz/v2/merchant/payment/ofd_data/submit_itemsAPI with fieldsSPIC(ICPU),PackageCode,Price,Amount,VAT,VATPercent, andCommissionInfo(TIN or PINFL). Authorization — theAuth: merchant_user_id:sha1(timestamp + secret_key):timestampheader. If the merchant has not submitted the ICPU, Click applies default codes with the receipt type "Sale". - Uzum Bank is a separate Fiscalization product in the documentation.
⚠️ Don't invent ICPU and don't put one code on everything. Take codes from the catalog and your product cards. Arrange delivery as a separate item with your own code.
Connection checklist#
- Contract with the service, cash register ID and keys received
- Endpoint on HTTPS, responsible for fractions of a second, always HTTP 200 (Payme)
- Signature check (Click) or Basic and IP (Payme, Uzum)
- Idempotency: a repeated request with the same ID does not create a second payment
- Booking and timeouts: 12 hours Payme, 30 minutes Uzum
- ICPU and packaging codes for all goods and delivery
- Sandbox tests by service scenarios
- Verification (
GetStatementin Payme) once a day - The keys are in secrets, not in the repository
Comments · 0
No comments yet.Sign in to comment, rate and see all comments.