Aitole — Kaspi Pay
Server Details
Accept Kaspi Pay in Kazakhstan: QR, phone invoices, payment links, subscriptions, refunds. Sandbox.
- Status
- Healthy
- Uptime
- 100.0% over the last 24 hours
- OAuth
- Works in Glama
- Last Tested
- Transport
- Streamable HTTP · MCP 2025-11-25
- URL
- Repository
- aitole-kz/aitole-examples
- GitHub Stars
- 0
- ChatGPT
- –
- Claude
- –
TDQS
Scored across 24 tools
Each tool has a clearly distinct purpose: create_qr, create_invoice, create_payment_link, and create_subscription are explicitly differentiated by when to use each, and get/list/cancel/refund/pause/resume tools target distinct resources. The sandbox simulation tools are also clearly separated from production actions. I found no meaningful overlap that would cause misselection.
The set mainly follows a predictable verb_noun snake_case pattern (create_invoice, get_operation, list_subscriptions, cancel_subscription, update_payment_link) and uses a consistent sandbox_ prefix. Minor deviations exist: account_status is noun-only and refund is verb-only, but these are still clear and readable.
At 24 tools the set is on the heavy side, but the tools cover several distinct domains (operations, payment links, subscriptions, sandbox testing, account status) and each seems to earn its place. There is little obvious redundancy, though the four sandbox tools add noticeable surface area.
The surface covers the full payment lifecycle: create/get/list/cancel/refund operations, full payment-link management (including disable via update), and subscription create/get/list/update/pause/resume/cancel plus invoice history. Minor gaps remain, such as webhook management (events are mentioned as a fallback) and account balance/payout reporting, but core workflows are well supported.
Publisher details
- Operator
- Aitole · Publisher source
- Operator website
- https://aitole.kz/ · Publisher source
- Vendor relationship
- Independent · Publisher source
- Documentation
- https://aitole.kz/kaspi-mcp/ · Publisher source
- Privacy policy
- https://aitole.kz/legal/privacy.html · Publisher source
- Trust center
- Not available
- Restrictions
- Requires an Aitole account. Live payments need your own Kaspi Pay merchant account (Kazakhstan) connected through an employee with the Cashier role; sandbox keys (sk_test_) work without Kaspi. 20 payments a month are free with no time limit; higher volumes need a paid plan. Sign in via OAuth, or send an API key in the Authorization header. · Publisher source
Available Tools
24 toolsaccount_statusAccount statusARead-onlyIdempotentInspect
Call this first. Shows whether this connection works in the sandbox (sk_test_, no real money) or live (sk_live_, real money), the plan with its monthly limit and usage, and whether a live Kaspi cashier is connected. If the user wants to accept real payments and Kaspi is not connected, relay the connection steps from the result. Returns key_mode (test or live), the plan with its limit and usage, and kaspi.connected with the connections. Read-only and safe to repeat.
Inputs: no named parameters.
cancel_operationCancel operation (irreversible)ADestructiveInspect
IRREVERSIBLE: cancel an unpaid QR or invoice so the customer can no longer pay it. It cannot be undone; ask the user to confirm the operation id before calling. Does not refund paid operations (use refund for that). Use only for an operation that is not paid yet; for a paid one use refund. Returns the updated operation.
Inputs: operation_id (required), idempotency_key.
cancel_subscriptionCancel recurring invoice (irreversible)ADestructiveInspect
IRREVERSIBLE: cancel a recurring invoice (subscription); no further invoices will be sent to the customer and it cannot be resumed. Ask the user to confirm the subscription id before calling. Its unpaid invoice, if one is open, is cancelled too; already paid invoices are not refunded. To stop only for a while use pause_subscription instead. Returns the subscription with status "cancelled".
Inputs: subscription_id (required), idempotency_key.
create_invoiceSend Kaspi invoice to a phoneAInspect
Send a Kaspi Pay invoice to the customer's phone number; the customer pays it in the Kaspi app. Amounts are whole tenge (KZT) as integers: 5000 means 5,000 tenge, no tiyn/decimals. Phone in E.164 (+77001234567). A payment is confirmed ONLY when the operation status is "paid"; creating a QR or invoice does not mean it was paid. Kaspi may refuse with status "failed" (e.g. the number is not a Kaspi client). Use when you know the customer's Kaspi phone; for a scan-to-pay code use create_qr, for repeating charges use create_subscription. Returns the operation (id, status); follow it with get_operation until it is paid, cancelled or expired.
Inputs: phone (required), amount (required), comment, metadata, +2 more.
create_payment_linkCreate permanent payment linkAInspect
Create a permanent payment page aitole.kz/pay/. Each click on "Pay" creates a fresh Kaspi QR, so the link can be shared in messengers and bios. Set a fixed amount, or omit it so the customer enters the amount within min_amount/max_amount. Amounts are whole tenge (KZT) as integers: 5000 means 5,000 tenge, no tiyn/decimals. Payments through the link are normal operations with payment_link_id; A payment is confirmed ONLY when the operation status is "paid"; creating a QR or invoice does not mean it was paid. Note: this endpoint is not idempotent, so do not retry blindly (a taken slug returns 409 slug_taken). Use for one reusable page shared with many customers; for a single charge use create_qr or create_invoice. Returns the link with id and url, the address to share.
Inputs: title (required), slug, amount, ask_name, +5 more.
create_qrCreate Kaspi QR paymentAInspect
Create a Kaspi Pay QR payment for a given amount. Returns an operation with status "pending", qr_code (what to encode in the QR image; customers of other Kazakh banks can scan it too), qr_token (the link to open on the buyer's phone, it opens the Kaspi app) and expires_at; both live about 5 minutes. Amounts are whole tenge (KZT) as integers: 5000 means 5,000 tenge, no tiyn/decimals. A payment is confirmed ONLY when the operation status is "paid"; creating a QR or invoice does not mean it was paid. Kaspi may refuse with status "failed" and failure_reason/failure_message. Use when the buyer scans a code on a screen or at the counter; to bill a known phone use create_invoice, for a reusable link use create_payment_link. Returns the operation (id, status, qr_code, qr_token, expires_at); then follow it with get_operation until it is paid or expired.
Inputs: amount (required), comment, metadata, connection_id, +1 more.
create_subscriptionCreate recurring invoice (subscription)AInspect
Create a recurring invoice: Kaspi has no auto-debit, so Aitole sends an invoice to the customer's phone on a schedule and the customer pays it in Kaspi in one tap. Amounts are whole tenge (KZT) as integers: 5000 means 5,000 tenge, no tiyn/decimals. Each invoice is a normal operation with subscription_id; it counts as paid only with status "paid". By default the first invoice is sent one period from now; use bill_immediately or first_billing_at to change it. Pass idempotency_key (e.g. "sub-client-77") so a retry does not create a second subscription. Use for repeating charges to the same phone (memberships, courses, rent); for a single charge use create_invoice. Returns the subscription with id, status and next_billing_at; pass that id to get_subscription, list_subscription_invoices, pause_subscription or cancel_subscription.
Inputs: phone (required), amount (required), period (required), metadata, +15 more.
get_operationGet operationARead-onlyIdempotentInspect
Get one payment operation (QR or invoice) by id, with its current status: created, pending, paid, cancelled, expired or failed. A payment is confirmed ONLY when the operation status is "paid"; creating a QR or invoice does not mean it was paid. Also shows refunded_amount and failure_reason/failure_message. For a paid one: payment_method (kaspi_gold, kaspi_red, kaspi_business or other_bank — Kaspi does not say which bank), payer_name when Kaspi gives it, receipt_url (Kaspi receipt) and kaspi_order_number. Amounts in whole tenge. Use to check one payment whose id you have; to find payments by status or date use list_operations. An unknown id returns a 404 not_found error.
Inputs: operation_id (required).
get_payment_linkGet payment linkARead-onlyIdempotentInspect
Get one permanent payment link by id: url, title, amount settings, status (active or disabled) and stats paid_count / paid_total (whole tenge, paid payments only). To see the payments themselves use list_operations. Use when you have the link id; to find it by title use list_payment_links. An unknown id returns a 404 not_found error.
Inputs: payment_link_id (required).
get_subscriptionGet recurring invoiceARead-onlyIdempotentInspect
Get one recurring invoice (subscription) by id: status (active, paused, cancelled, expired) and status_reason, amount (whole tenge), schedule, next_billing_at, cycles_paid, retry settings and a masked phone. Use when you have the subscription id (from create_subscription or list_subscriptions); for the invoices it sent use list_subscription_invoices. An unknown id returns a 404 not_found error.
Inputs: subscription_id (required).
list_eventsList account eventsARead-onlyIdempotentInspect
List the account event log, newest first, with cursor pagination: payment.created, payment.paid, payment.expired, payment.cancelled, payment.refunded, connection.session_expired, connection.restored, billing., subscription. (created, payment_succeeded, payment_failed, grace_period_started, expired, cancelled, paused, resumed) and checkout.* (paid, expired, double_paid, amount_mismatch, notify_failed); all of them work as the type filter. payment.paid is the confirmation that money was received. Use it as a fallback when a webhook was missed. Use to see what happened across the account recently; for the current state of one payment use get_operation. Returns data[], has_more and next_cursor.
Inputs: type, limit, cursor, date_to, +2 more.
list_operationsList operationsARead-onlyIdempotentInspect
List payment operations, newest first, with cursor pagination (has_more / next_cursor). Filter by status (use status "paid" to see confirmed payments), type (qr or invoice) and creation date. Amounts in whole tenge. A payment is confirmed ONLY when the operation status is "paid"; creating a QR or invoice does not mean it was paid. Use when you have no id, e.g. "what was paid today"; for one known id use get_operation. Returns data[], has_more and next_cursor; an empty data[] means nothing matches.
Inputs: type, limit, cursor, status, +3 more.
list_payment_linksList payment linksARead-onlyIdempotentInspect
List permanent payment links with their stats: paid_count and paid_total (whole tenge, counting only paid payments). Cursor pagination. Use to find a link or compare sales across links, newest first; for one known id use get_payment_link, for the individual payments use list_operations. Returns data[], has_more and next_cursor.
Inputs: limit, cursor, status.
list_subscription_invoicesList invoices of a recurring invoiceARead-onlyIdempotentInspect
List the invoices a subscription has sent, each a normal operation with its status. A payment is confirmed ONLY when the operation status is "paid"; creating a QR or invoice does not mean it was paid. Use it to see which periods the customer paid and which are still pending or expired. Use for the payment history of one subscription; for payments across the whole account use list_operations. Returns data[] newest first, up to 100, without paging.
Inputs: subscription_id (required).
list_subscriptionsList recurring invoicesARead-onlyIdempotentInspect
List recurring invoices (subscriptions) with status, amount (whole tenge), period, next_billing_at, cycles_paid and a masked phone. Cursor pagination. Use to find subscriptions when you have no id, newest first, e.g. status "paused"; for one known id use get_subscription, for the invoices it sent use list_subscription_invoices. Returns data[], has_more and next_cursor; an empty data[] means nothing matches.
Inputs: limit, cursor, status.
pause_subscriptionPause recurring invoiceAIdempotentInspect
Pause an active recurring invoice: no new invoices are sent until resume_subscription. An invoice already sent stays payable. Reversible, unlike cancel_subscription. Use when the customer takes a break; to stop for good use cancel_subscription. Returns the subscription with status "paused".
Inputs: subscription_id (required), idempotency_key.
refundRefund a paid operation (moves money)ADestructiveInspect
MOVES MONEY, IRREVERSIBLE: return money to the customer for a paid operation, fully or partially. Always ask the user to confirm the operation id and amount before calling. Omit amount for a full refund of the remaining sum. Amounts are whole tenge (KZT) as integers: 5000 means 5,000 tenge, no tiyn/decimals. Refund window is 90 days; the key needs the "refund" scope. The operation stays "paid" and its refunded_amount grows. Check the returned refund status: Kaspi can refuse with HTTP 200 and status "failed". Pass idempotency_key (e.g. "refund-1024-1") so a retry does not refund twice. Use only for a paid operation; for an unpaid one use cancel_operation. Returns the refund with its status.
Inputs: operation_id (required), amount, reason, idempotency_key.
resume_subscriptionResume recurring invoiceAIdempotentInspect
Resume a paused or expired recurring invoice. Paused within the same period: it continues where it stopped, with the invoice already sent (no second invoice for that period). Otherwise billing continues from the next scheduled date (see next_billing_at in the result): periods skipped meanwhile are not billed, an unpaid invoice of a past period is cancelled, one paid during the pause is counted. A cancelled or fully paid one cannot be resumed. Use after pause_subscription or when an expired subscription should bill again. Returns the subscription with status "active" and the new next_billing_at.
Inputs: subscription_id (required), idempotency_key.
sandbox_bill_nowSandbox: bill subscription nowAInspect
SANDBOX ONLY (sk_test_ key): run the next step of a sandbox recurring invoice right now instead of waiting for its date (sends the next invoice or the next retry). Use in tests after create_subscription with a sk_test_ key; then find the new invoice with list_subscription_invoices and settle it with sandbox_pay. Returns { subscription, note }.
Inputs: subscription_id (required).
sandbox_expireSandbox: expire operationAIdempotentInspect
SANDBOX ONLY (sk_test_ key): simulate a sandbox QR or invoice expiring unpaid. The status changes to "expired" a few seconds later; check with get_operation. Use in tests to see how your flow handles a customer who never pays; for a declined invoice use sandbox_reject.
Inputs: operation_id (required).
sandbox_paySandbox: mark operation paidAIdempotentInspect
SANDBOX ONLY (sk_test_ key): simulate the customer paying a sandbox QR or invoice. No real money. The operation status changes to "paid" a few seconds later (the same poller as in production); check with get_operation. Use in tests after create_qr or create_invoice with a sk_test_ key to play out a successful payment; for the unhappy paths use sandbox_expire or sandbox_reject.
Inputs: operation_id (required).
sandbox_rejectSandbox: customer rejects invoiceAIdempotentInspect
SANDBOX ONLY (sk_test_ key): simulate the customer rejecting the invoice in Kaspi. The operation becomes "cancelled" with failure_reason "payer_refused" a few seconds later; check with get_operation. Use in tests for a declined invoice; for an unpaid timeout use sandbox_expire, for success sandbox_pay.
Inputs: operation_id (required).
update_payment_linkUpdate or disable payment linkAIdempotentInspect
Change a permanent payment link: title, fixed amount or min/max range, description, merchant name, ask_name. Set status "disabled" to stop accepting payments through it (the page then answers "not found") and "active" to turn it back on; nothing is deleted. Pass only the fields to change. Amounts are whole tenge (KZT) as integers: 5000 means 5,000 tenge, no tiyn/decimals. The slug (address) cannot be changed. Use to edit or switch off an existing link; for a different address create a new one with create_payment_link. Returns the updated link.
Inputs: payment_link_id (required), title, amount, status, +5 more.
update_subscriptionUpdate recurring invoiceAIdempotentInspect
Change a recurring invoice that is not cancelled: amount of future invoices, description, billing_time, subscriber_name, external_subscriber_id, metadata. Pass only the fields to change. Amounts are whole tenge (KZT) as integers: 5000 means 5,000 tenge, no tiyn/decimals. Already sent invoices keep their amount. The phone and the period cannot be changed: cancel and create a new one. Use to change future invoices of an existing subscription; to stop it for a while use pause_subscription, for good cancel_subscription. Returns the updated subscription.
Inputs: subscription_id (required), amount, metadata, description, +3 more.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
Related MCP Connectors
Kaspi QR payments (Kazakhstan) via Qut Pay: invoices, refunds, subscriptions, payment links.
Accept Kaspi Pay payments in Kazakhstan: payment links, invoices, products, courses, sites.
Non-custodial crypto payments: charges, invoices and refunds in BTC, XRP, USDC and more.
Crypto payments: create Bitcoin, USDT and other crypto payment links, track payments and refunds.
Related MCP Servers
- AlicenseNot gradedqualityCmaintenanceEnables AI agents to accept Kaspi Pay payments in Kazakhstan by creating payment links and invoices, checking payment status, and managing a catalogue, online courses, paid Telegram channels and store sites. Money-moving and public actions such as publishing, broadcasts and refunds require human approval, and granular API key permissions keep agents within safe limits.1MIT
- AlicenseNot gradedqualityCmaintenanceMCP server for Qut Pay (qut.kz): create Kaspi QR / Kaspi link invoices for Kazakhstan merchants, check status, list, cancel, refund (live needs confirm) and simulate payments in sandbox. 9 tools, 5 doc resources, 2 prompts. npm: npx -y @qutpay/mcp with QUTPAY_API_KEY. Source in examples/mcp. Independent service, not affiliated with Kaspi Bank.MIT
- AlicenseAqualityDmaintenanceEnables managing Kaspi Marketplace orders through AI assistants, including listing, accepting, completing, and canceling orders, with real-time operations directly on production data (no sandbox).811 npmMIT
- AlicenseNot gradedqualityBmaintenanceEnables AI agents to accept payments in Kazakhstan via Freedom Pay hosted checkout, supporting cards, Apple Pay, and Google Pay.MIT
Glama MCP Gateway
Add one secure layer between your agents and this server.