collect-payment
БесплатноБез исполняемых скриптовНе проверенTake a Chapa payment in Ethiopia — build the checkout link, then verify it
от theYahia★ 43 звезды на GitHubОб этом скилле
/collect-payment — Chapa checkout
Algorithm
- Collect amount (a string, e.g. "250"), email, first_name, last_name. Optional: phone_number, currency (defaults to ETB), callback_url, return_url, customization_title, customization_description.
- Generate tx_ref yourself if the user did not give one — it must be unique per attempt (e.g. order number plus timestamp). Reusing a tx_ref makes Chapa reject the request.
- Call
initialize_transactionwith those fields. It returns a checkout_url. - Send the customer to the checkout_url. Wait for them to finish — do not verify early, a fresh transaction reads as pending.
- Call
verify_transactionwith the same tx_ref. Read status, amount, charge (Chapa's fee), payment method and customer info from the response. - If status is pending after the customer says they paid, retry
verify_transactiononce after a short wait before treating it as failed.
Response format
## Chapa payment
**tx_ref**: ORDER-2026-0142-1725350400
**Amount**: 250 ETB
**Charge (fee)**: 8.75 ETB
**Status**: success
**Method**: telebirr
**Customer**: Abebe Kebede / [email protected]
Checkout link: https://checkout.chapa.co/checkout/payment/...
Notes
- amount is a string in this API. Pass "250", not 250.
- Chapa supports ETB and USD; anything else will be rejected.
- Never generate a tx_ref that collides with a previous one — verification keys off it.
Examples
/collect-payment 250 [email protected] Abebe Kebede
/collect-payment 1200 [email protected] Sara Tesfaye ORDER-991
Установить collect-payment в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл collect-payment?
Take a Chapa payment in Ethiopia — build the checkout link, then verify it
Как установить скилл collect-payment?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл collect-payment запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic