refund-payment

refund-payment is a skill for Claude Code from theYahia/WWmcp. It costs 20 tokens per session (597 once invoked), scanned A, original, MIT.

A payment procedure for refunding a completed T-Kassa payment or cancelling a payment that is still on hold. T-Kassa is a payment service, and the procedure can also send the required closing receipt.

In plain words
What is it for?
It helps check a payment's status, perform full or partial refunds or cancellations, request confirmation, and send a receipt with the result.
Why use it?
Refunding money after it was charged is different from cancelling a temporary hold; choosing the wrong operation can cause the bank to reject it.

Skill for Claude Code

Written for Claude Code: argument-hint in frontmatter.

Good fit It helps check a payment's status, perform full or partial refunds or cancellations, request confirmation, and send a receipt with the result.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/theyahia/wwmcp/refund-payment
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add theYahia/WWmcp --skill refund-payment
Clone the repo
git clone --depth 1 https://github.com/theYahia/WWmcp

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for refund-payment

README.md
[![agentmods](https://agentmods.dev/badge/skills/theyahia/wwmcp/refund-payment/github.svg)](https://agentmods.dev/skills/theyahia/wwmcp/refund-payment)
Your own site
<a href="https://agentmods.dev/skills/theyahia/wwmcp/refund-payment"><img src="https://agentmods.dev/badge/skills/theyahia/wwmcp/refund-payment/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for refund-payment

Your own site · 80×15
<a href="https://agentmods.dev/skills/theyahia/wwmcp/refund-payment"><img src="https://agentmods.dev/badge/skills/theyahia/wwmcp/refund-payment.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 20 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 597 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00020 $0.00597
Opus 5 $0.00010 $0.00298
Sonnet 5 $0.00004 $0.00119
Haiku 4.5 $0.00002 $0.00060

Measured 4d ago against content hash c81dafeb9751, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

refund-payment scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 4d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

servers/tkassa/.claude/skills/refund-payment/SKILL.md · 48 lines

What it actually says

/refund-payment — Возврат и отмена

Алгоритм

  1. get_payment_state (payment_id) — текущий статус платежа. Без этого шага не действовать: от статуса зависит, какой инструмент нужен.
  2. Выбери операцию по статусу:
    • деньги уже списаны (платёж завершён) → refund_payment (payment_id, amount);
    • средства только захолдированы двухстадийным платежом, списания не было → cancel_payment (payment_id, amount);
    • нужно, наоборот, дозавершить холд → confirm_payment (payment_id, amount).
  3. Сумма не указана — возврат полный. Указана меньшая — частичный возврат; сумма всегда в рублях.
  4. Покажи пользователю, что именно вернётся и с какого платежа, и дождись подтверждения. Возврат необратим.
  5. Выполни операцию и перечитай get_payment_state — покажи новый статус.
  6. Если по платежу пробивался чек, отправь закрывающий: send_closing_receipt (payment_id, email, phone, taxation, items — позиции с Name, Price, Quantity, Amount, Tax).

Важно

  • refund_payment и cancel_payment — разные операции, а не синонимы: возврат идёт после списания, отмена — до него. Ошибка выбора даёт отказ банка, а не молчаливый успех.
  • Частичный возврат можно повторять до исчерпания суммы платежа; складывай уже возвращённое, прежде чем назвать доступный остаток.
  • Ставка НДС в позициях чека (Tax) обязана совпадать с исходным чеком продажи, иначе ФНС отклонит.

Формат ответа

## Возврат T-Kassa

**Платёж**: 3812934821 (заказ ORD-1042)
**Статус до**: CONFIRMED · сумма 12 000 ₽
**Операция**: refund_payment, частичный возврат 4 500 ₽
**Статус после**: PARTIAL_REVERSED
**Доступно к возврату**: 7 500 ₽

Закрывающий чек отправлен на [email protected].

Примеры

/refund-payment 3812934821
/refund-payment 3812934821 4500
/refund-payment проверь статус 3812934821
Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 4d ago First seen · 48 lines · 20 tokens per session scan A c81dafeb9751

Subscribe to this mod's changes

refund-payment is a skill published in the GitHub repository theYahia/WWmcp (29 stars, last pushed 2d ago), licensed MIT. It adds 20 tokens to every session and 597 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-06.

Related

Other skills, from other repositories

okx-cex-portfolio

This skill should be used when the user asks about 'account balance', 'how much USDT do I have', 'my funding account', 'show my positions', 'open positions', 'position P&L', 'unrealized PnL', 'closed positions', 'position history', 'realized PnL', 'account bills', 'transaction history', 'trading fees', 'fee tier'…

okx/agent-trade-kit · 236 tokens

pdf-invoice-extractor

OCR a PDF invoice with mistralocr and extract structured line-item data (vendor, date, amounts, VAT) for accounting reconciliation. Use when the user provides an invoice PDF to process.

Swih/mistral-mcp · 39 tokens

french-invoice-reminder

Rédige une relance de facture B2B en français avec un ton contrôlé (poli, ferme, ou final). À utiliser quand l'utilisateur demande une relance facture, un rappel de paiement, un mail de recouvrement, ou une dunning letter en français.

Swih/mistral-mcp · 58 tokens

invompt-local-beta-invoice

Create or manage an Invompt invoice, quote, estimate, or pro forma from natural-language intent in any language, including short follow-ups that reuse earlier facts. Use for explicit billing-document requests across Latin, Cyrillic, RTL, Indic, CJK, and Southeast Asian scripts. Do not use for price or budgeting advice…

Invompt/invompt-mcp · 86 tokens

lemonsqueezy

Operate Lemon Squeezy — the Merchant of Record for digital products and SaaS — via its JSON:API REST endpoints. Covers stores, products, variants, checkouts, orders, subscriptions, customers, and license keys. Use when the user wants MoR billing (EU VAT, chargebacks, sales tax all handled for 5% + fees) instead of…

mnlt/teleport · 84 tokens

before-spend

Use this before any purchase, subscription, money transfer, or API credit top-up. Call sanctionauthorize first; never proceed when it returns false; if status is escalated, wait and follow handle-escalation.

ericlovold/sanction · 48 tokens