Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

refund-request

БесплатноБез исполняемых скриптовНе проверен

Refund a MercadoPago payment — locate it, verify it is refundable, refund full or partial

theYahiaот theYahia★ 43 звезды на GitHub

Об этом скилле

/refund-request — Refund

Algorithm

  1. Locate the payment. If the user gave a payment_id, call get_payment with it. If they gave an order reference, call search_payments with external_reference set to it.
  2. Check the status. Only approved payments can be refunded. If it is pending, rejected or already refunded, stop and report that — do not attempt the refund.
  3. Check what is already refunded on the payment record. A second full refund on a partially refunded payment will fail or over-refund.
  4. Confirm the amount with the user. Omit amount for a full refund; pass a number for a partial one.
  5. Call refund_payment with payment_id and, for a partial, amount.
  6. Call get_payment again to read back the resulting status and refunds list.

Response format

## MercadoPago refund

**Payment**: 1315432109 (ORDER-2026-0142)
**Original**: 17,000 ARS — approved
**Previously refunded**: 0
**This refund**: 8,500 ARS (partial)
**New status**: partially_refunded

Notes

  • Refunds are irreversible. Always confirm the amount with the user before calling.
  • MercadoPago's own fee is generally not returned on a refund — do not tell the user they get the full gross back unless the response says so.
  • A charged_back payment is a dispute, not a refund. Refunding it on top of the chargeback double-pays; check status first.

Examples

/refund-request 1315432109
/refund-request ORDER-2026-0142 8500

Установить refund-request в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

FAQ

Что делает скилл refund-request?

Refund a MercadoPago payment — locate it, verify it is refundable, refund full or partial

Как установить скилл refund-request?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл refund-request запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить refund-request с