yolfi-payments
NewAdd Yolfi crypto checkout, payment links, and webhook handling to an app through @yolfi/agent or the Yolfi MCP server.
Summary
This skill integrates Yolfi crypto payments into your app, enabling checkout flows, payment links, subscriptions, donations, and webhook-based entitlement handling via the Yolfi MCP server or @yolfi/agent.
- It automates setup, configuration, and verification so you can add crypto payment capabilities quickly and securely.
Overview
Yolfi Payments Skill
Use this when the user asks to add crypto payments, payment links, checkout, subscriptions, donations, or webhook-based entitlements with Yolfi.
Workflow
- Inspect the target app first.
- Identify the framework, env system, server routes, existing checkout code, existing webhook handlers, and entitlement logic.
- Check whether
YOLFI_API_KEYalready exists in ignored env/config. - If no key exists, register with
yolfi auth:agent-registeror the MCP toolyolfi_agent_register; registration is public and does not requireYOLFI_API_KEY. - Ask the user for settlement wallet addresses. Never invent them.
- Ask the user for product name, price, currency, payment type, and recurring interval.
- Configure organization settlement/webhook settings through
PUT /api/private/organization/current. - List existing paylinks before creating a new one.
- Create or reuse a paylink.
- Store paylink ids in env/config, not hard-coded source when avoidable.
- Add checkout UI or a server route that calls
POST /api/public/payments. - Add webhook signature verification for
X-Yolfi-Signature. - Connect webhook events to the app's existing entitlement/business logic when possible.
- Verify payment status with
GET /api/public/payments/:id. - Report changed files and exact verification commands.
Do Not
- •Do not invent wallet addresses.
- •Do not invent prices, plans, currencies, or recurring intervals.
- •Do not commit API keys or webhook secrets.
- •Do not replace existing billing logic unnecessarily.
- •Do not use frontend redirect as proof of payment.
- •Do not disable paylinks without explicit user approval.
- •Do not duplicate webhook business handlers when an existing handler can be reused.
Install & Usage
~/.claude.jsonAdd the configuration to "mcpServers": { "yolfi-payments": { "command": "...", "args": [] } }
/mcpUse Cases
Usage Examples
/yolfi-payments Add a crypto checkout for a $49.99 monthly subscription to my Node.js app.
Set up a Yolfi payment link for a one-time product priced at 0.1 ETH and store the link ID in my environment config.
Implement webhook signature verification for Yolfi payment events and connect them to my existing user entitlement system.
Security Audits
Frequently Asked Questions
What is yolfi-payments?
This skill integrates Yolfi crypto payments into your app, enabling checkout flows, payment links, subscriptions, donations, and webhook-based entitlement handling via the Yolfi MCP server or @yolfi/agent. It automates setup, configuration, and verification so you can add crypto payment capabilities quickly and securely.
How to install yolfi-payments?
To install yolfi-payments: open your mcp config (~/.claude.json), then add the config to "mcpServers": { "yolfi-payments": { "command": "...", "args": [] } }. Finally, /mcp in Claude Code.
What is yolfi-payments best for?
yolfi-payments is a mcp categorized under General. It is designed for: mcp, agent. Created by yolfinance.
What can I use yolfi-payments for?
yolfi-payments is useful for: Add a crypto checkout button to an e-commerce site using Yolfi payment links.; Create a subscription plan with recurring billing for a SaaS product.; Set up a donation widget that accepts multiple cryptocurrencies.; Handle payment confirmation webhooks to grant user access to premium features.; Migrate existing fiat payment flows to support crypto payments with minimal code changes.; Generate and manage payment links for invoices or one-time purchases..