Agent skill
commerce-payments
Manage payments, captures, refunds, and payment methods. Use when running `stateset-payments`, `stateset-pay`, or handling payment intents.
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/data/commerce-payments
SKILL.md
Commerce Payments
Create, complete, and refund payments for orders.
How It Works
- Create a payment record tied to an order.
- Complete or fail the payment based on gateway results.
- Issue refunds (full or partial) when needed.
- Record transaction references and update order status.
Usage
- CLI:
stateset-payments ...andstateset-pay ...for stablecoin operations. - Writes require
--apply. - MCP tools:
list_payments,get_payment,create_payment,complete_payment,create_refund.
Output
{"status":"completed","payment_id":"pay_123","amount":129.99}
Present Results to User
- Payment or refund IDs and amounts.
- Method used and transaction references.
- Order status updates if applicable.
Troubleshooting
- Payment already captured: avoid duplicate completion.
- Refund exceeds paid amount: validate remaining balance.
References
- references/payments-flow.md
- /home/dom/stateset-icommerce/cli/.claude/agents/payments.md
- /home/dom/stateset-icommerce/cli/bin/stateset-pay.js
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?