From click-integration
Expert-level Click payment integration skill for Uzbekistan's Click SuperApp. Use whenever user mentions Click, click.uz, SHOP API, Merchant API, Click to'lov, Click integratsiya, Click callback, prepare/complete, click_trans_id, merchant_trans_id, Click fiscalization, Click button, Click invoice, card token, Click Pass, checkout.js, createPaymentRequest, Click Telegram, mobile SDK, merchant.click.uz, my.click.uz, api.click.uz, or Click error codes (-1 to -9). Covers SHOP API (Prepare/Complete), Merchant API (invoices, payments, tokens, reversal), payment button, inline checkout, CLICK Pass (QR POS), fiscalization (OFD/IKPU), Telegram bot payments, mobile SDK, CMS plugins (WooCommerce, OpenCart, 1C-Bitrix), testing, and deployment. Trigger for partial mentions like "click", "shop api", "click payment", "click pass", "click telegram", "click plugin" in Uzbek, Russian, or English.
npx claudepluginhub ubranch/my-marketplace --plugin click-integrationThis skill uses the workspace's default tool permissions.
This skill makes you a **super-expert** on Click payment system integration in Uzbekistan. Every page from docs.click.uz is captured in the reference files below — nothing is cut or summarized.
references/01-shop-api-overview.mdreferences/02-shop-api-requests.mdreferences/03-shop-api-errors.mdreferences/04-shop-api-testing.mdreferences/05-payment-button.mdreferences/06-inline-checkout.mdreferences/07-merchant-api-overview.mdreferences/08-merchant-api-requests.mdreferences/09-merchant-api-errors.mdreferences/10-click-pass.mdreferences/11-fiscalization.mdreferences/12-telegram-payments.mdreferences/13-mobile-sdk.mdreferences/14-server-examples.mdreferences/15-cms-plugins.mdExpert-level Payme payment system integration skill for Uzbekistan's Payme Business platform. Use this skill whenever the user mentions Payme, Paycom, payment integration in Uzbekistan, Merchant API, Subscribe API, to'lov tizimi, to'lov integratsiyasi, Payme checkout, Payme kassa, online to'lov, plastik karta to'lovi, chek yaratish, tranzaksiya, or any payment-related development for Uzbek market. Also trigger when user asks about JSON-RPC payment APIs, fiscalization (fiskalizatsiya), IKPU codes, or O'zbekiston to'lov tizimlari. This skill covers both Merchant API (server-to-server) and Subscribe API (card tokenization + receipts), sandbox testing, error handling, and production deployment. Trigger even for partial mentions like "payme", "paycom", "checkout.paycom.uz", or "merchant api" in any language (Uzbek, Russian, English).
Integrates PAYUNi UPP payment gateway using AES-256 encryption, form submission, order creation, and callback handling for Laravel, Next.js, Django, Express, and similar frameworks.
Integrates Stripe, PayPal, Square for secure checkout flows, subscriptions, webhooks, PCI compliance, and idempotent handling.
Share bugs, ideas, or general feedback.
This skill makes you a super-expert on Click payment system integration in Uzbekistan. Every page from docs.click.uz is captured in the reference files below — nothing is cut or summarized.
| Item | Value |
|---|---|
| Payment page URL | https://my.click.uz/services/pay |
| Merchant API endpoint | https://api.click.uz/v2/merchant/ |
| Merchant cabinet | https://merchant.click.uz |
| Documentation | https://docs.click.uz |
| SHOP API Protocol | HTTP/HTTPS POST, application/x-www-form-urlencoded |
| Merchant API Protocol | HTTPS, application/json (also supports application/xml) |
| Currency | UZS, amounts in so'm (NOT tiyin — unlike Payme!) |
| Amount format | float with 2 decimal places (e.g., 1000.00) |
| SHOP API auth | MD5 sign_string hash |
| Merchant API auth | SHA1 digest in Auth header |
| Checkout.js CDN | https://my.click.uz/pay/checkout.js |
| Android SDK | https://github.com/click-llc/android-msdk |
Click offers multiple ways to accept payments. Read the appropriate reference file for full details.
references/02-shop-api-requests.mdreferences/05-payment-button.mdcheckout.js widget — payment form opens as overlayreferences/06-inline-checkout.mdreferences/08-merchant-api-requests.mdreferences/10-click-pass.mdreferences/12-telegram-payments.mdreferences/13-mobile-sdk.md| Method | Who initiates | Where user pays | Best for |
|---|---|---|---|
| SHOP API + Payment Button | User clicks link | Click web/app | E-commerce, web |
| SHOP API + Inline Checkout | User on your site | Overlay on your site | SPA, custom UX |
| Merchant API Invoice | Merchant sends invoice | User confirms in Click app | Subscriptions, push billing |
| Merchant API Card Token | Merchant charges token | No user interaction | Recurring, card-on-file |
| CLICK Pass | Merchant scans QR | Already in Click app | Physical retail, POS |
| Telegram Payments | User in Telegram | Telegram payment UI | Telegram bots |
| Mobile SDK / Deep Link | User in your app | Click app or browser | Mobile apps |
| Request | Formula |
|---|---|
| Prepare (action=0) | MD5(click_trans_id + service_id + SECRET_KEY + merchant_trans_id + amount + action + sign_time) |
| Complete (action=1) | MD5(click_trans_id + service_id + SECRET_KEY + merchant_trans_id + merchant_prepare_id + amount + action + sign_time) |
CRITICAL: Parameters concatenated WITHOUT separators. Use constant-time comparison (e.g., crypto.timingSafeEqual).
Auth: {merchant_user_id}:{digest}:{timestamp}
digest = SHA1(timestamp + secret_key)timestamp = UNIX timestamp (10-digit seconds)| error | error_note | Description |
|---|---|---|
| 0 | Success | OK |
| -1 | SIGN CHECK FAILED! | Signature verification failed |
| -2 | Incorrect parameter amount | Wrong amount |
| -3 | Action not found | Unknown action |
| -4 | Already paid | Duplicate payment |
| -5 | User does not exist | Order/user not found |
| -6 | Transaction does not exist | Payment record not found |
| -7 | Failed to update user | DB/balance update error |
| -8 | Error in request from click | Malformed request |
| -9 | Transaction cancelled | Previously cancelled |
| Code | Description |
|---|---|
| 200, 201 | OK |
| 400 | Bad request (malformed data or URI) |
| 401 | Not authorized (auth error) |
| 403 | Forbidden (method not allowed) |
| 404 | Not found (method not found) |
| 406 | Not acceptable (invalid data type) |
| 410 | Gone (deprecated method) |
| 500 | Internal server error |
| 502 | Service is down or being upgraded |
merchant_id, service_id, SECRET_KEY, merchant_user_idmerchant.click.uzapplication/x-www-form-urlencoded, NOT JSON50000.00error field in requests — if Click sends error ≤ -1, respond with error -9localhost won't work in productionDate.now() % 2147483647 causes collisionsEach file corresponds 1:1 to a docs.click.uz page. Nothing is cut.
references/01-shop-api-overview.md — General provisions, terms, flow diagramreferences/02-shop-api-requests.md — Prepare & Complete full spec with code examplesreferences/03-shop-api-errors.md — All error codes (Click-side and merchant-side)references/04-shop-api-testing.md — Testing software, scenarios, report generationreferences/05-payment-button.md — Payment link URL and HTML form (with redirect)references/06-inline-checkout.md — checkout.js widget, createPaymentRequest() JS APIreferences/07-merchant-api-overview.md — General provisions, terms, flow diagram, contract inforeferences/08-merchant-api-requests.md — All endpoints: invoice, payment status, reversal, card tokenreferences/09-merchant-api-errors.md — HTTP status codesreferences/10-click-pass.md — QR-code POS payments, confirm modereferences/11-fiscalization.md — OFD submit_items, submit_qrcode, get fiscal datareferences/12-telegram-payments.md — Bot setup, sendInvoice, pre_checkout_query, live modereferences/13-mobile-sdk.md — Android SDK, iOS deep links, return_url handlingreferences/14-server-examples.md — Official PHP, Django repos + community Node.js/TypeScriptreferences/15-cms-plugins.md — WooCommerce, OpenCart, Drupal, 1C-Bitrix, Joomla, CS-Cart