Expert-level Click payment integration for Uzbekistan's Click SuperApp. Covers SHOP API, Merchant API, checkout.js, CLICK Pass, fiscalization, Telegram payments, mobile SDK, and CMS plugins.
Ships in click-integration. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Use this guide to select and implement Click payment integrations in Uzbekistan. The references are practical, selective guides to official documentation, not a complete verbatim mirror. Source routes and protocol findings were last verified on 2026-10-05; unresolved upstream ambiguities are called out explicitly.
| 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 |
| Standard SHOP API Protocol | HTTP/HTTPS POST, application/x-www-form-urlencoded |
| Advanced / Split Shop Protocol | Separate JSON callbacks, application/json; charset=utf-8 |
| Merchant API Protocol | HTTPS, application/json (also supports application/xml) |
| Currency | UZS: SHOP/Merchant/checkout amounts in so'm; fiscalization and Telegram use tiyin |
| Amount format | float with 2 decimal places (e.g., 1000.00) |
| SHOP auth | MD5 sign_string; standard and JSON variants have different formulas; lookup/reconciliation omissions need clarification |
| 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.
action=0) / Complete (action=1)references/02-shop-api-requests.mdparamssplit: [{cntrg_id, amount}], with allocations summing to the payment totalreferences/16-advanced-shop.md or references/17-split-shop.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 |
| Advanced Shop JSON | Click calls your billing | Configured Click payment flow | Prepayment account lookup, outcome check, reconciliation |
| Split Shop JSON | Click calls your billing | Configured Click payment flow | Allocation to registered counterparties in Prepare |
| 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).
Advanced/Split Shop instead sign MD5(click_paydoc_id + attempt_trans_id + service_id + SECRET_KEY + params-values-in-original-order + action + sign_time). params means concatenated values in transmitted order, not JSON serialization. Their docs omit signing fields on Getinfo/Compare; confirm the access/authentication contract instead of inventing one.
Auth: {merchant_user_id}:{digest}:{timestamp}
digest = SHA1(timestamp + secret_key)timestamp = UNIX timestamp (10-digit seconds)The official card_token/request sample omits Auth, unlike verify/payment/delete. This does not prove the header is forbidden or causes 401/CORS errors. Keep secrets server-side and confirm the endpoint-specific requirement with Click; the client example retains the general authenticated pattern.
| 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.uzerror — a negative CLICK error expects -9, subject to the paid-cancellation ambiguity belowclick_trans_id; Split tracks click_paydoc_id + attempt_trans_id and phase/stateparseInt or ordinary JSON parsing for full-width IDsreferences/04-shop-api-testing.md; neither verifies Advanced/Splitlocalhost won't work in productionDate.now() % 2147483647 causes collisionserror=0 and expects -4; scenario 8 cancels it with error=-5017 and expects -9. The errors page agrees with negative-error cancellation; requests prose leaves tension after successful debit. Do not reorder the example's cancellation-before-paid check speculatively; obtain Click's production clarification.payment/reversal, not a fabricated negative CLICK error.These guides preserve documented distinctions and flag source inconsistencies. Follow their canonical source links for the current enabled-service contract.
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 — Browser Playground, Postman generator, exact 15-scenario matrixreferences/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-Cartreferences/16-advanced-shop.md — JSON Getinfo/Prepare/Complete/Check/Compare, original-order signatures, auth/type caveatsreferences/17-split-shop.md — JSON Getinfo/Prepare/Confirm, allocation sums, retry identity, auth/cancellation caveatsreferences/01-shop-api-overview.md (opens in a new tab)references/02-shop-api-requests.md (opens in a new tab)references/03-shop-api-errors.md (opens in a new tab)references/04-shop-api-testing.md (opens in a new tab)references/05-payment-button.md (opens in a new tab)references/06-inline-checkout.md (opens in a new tab)references/07-merchant-api-overview.md (opens in a new tab)references/08-merchant-api-requests.md (opens in a new tab)references/09-merchant-api-errors.md (opens in a new tab)references/10-click-pass.md (opens in a new tab)references/11-fiscalization.md (opens in a new tab)references/12-telegram-payments.md (opens in a new tab)references/13-mobile-sdk.md (opens in a new tab)references/14-server-examples.md (opens in a new tab)references/15-cms-plugins.md (opens in a new tab)references/16-advanced-shop.md (opens in a new tab)references/17-split-shop.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
click-integration, payment-gateway, uzbekistan, shop-api, merchant-api
/click-integration:click-integrationfrom click-integration
npx claudepluginhub ubranch/uzbekistan-payment-skills --plugin click-integrationOther plugins' skills for the same job