Skip to content
Agentmart
Submit a tool

refund

Refund one original Stripe, PayPal or x402 merchant payment with exact native approval and independently checked settlement.

Skill by runxhq

IndexedApache-2.0★ 104
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/runxhq-refund

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Refund one original Stripe, PayPal or x402 merchant payment with exact native approval and independently checked settlement.

Use cases: finance

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/refund

What's inside

Skill name
refund
Description
Refund one original Stripe, PayPal or x402 merchant payment with exact native approval and independently checked settlement.
License
Apache-2.0
Instructions
45 lines in SKILL.md · view on GitHub

Files (11)

  • SKILL.md
  • approval-denied.yaml · fixtures/
  • composes-in-graph.yaml · fixtures/
  • hosted-contract.yaml · fixtures/
  • paypal-refund.yaml · fixtures/
  • paypal-wrong-account.yaml · fixtures/
  • stripe-refund.yaml · fixtures/
  • stripe-wrong-currency.yaml · fixtures/
  • composed.graph · fixtures/support/
  • catalog.md · references/
  • run.yaml

SKILL.md (first lines)

# Refund

Use this when you are the merchant reversing all or part of a confirmed payment.
Choose its original connector and account: Stripe, PayPal or Coinbase CDP for
x402. A buyer paying a merchant uses `pay`; collecting a payment belongs to
`charge`. A refund never changes processor to work around a failed readback.

Inspect `runx connector inspect <connector>` and use the refund operation's
`input_schema` to construct `request`. Supply original account/payment identity,
exact amount and currency, and a stable caller-owned `idempotency_seed`. PayPal
also requires an explicit API host, canonical decimal precision and the original
refundable capture status. Its sandbox host requires a matching sandbox app.
Never put provider keys, wallet keys, card data or tokens in these inputs.

## Confirm the original relationship

Native admission derives the outgoing amount from the exact provider request
before budgeting and approval. There is no rounding or FX conversion. A USD
limit refuses a currency it cannot count. The provider reads the original
payment on its account and atomically enforces the remaining refundable amount,
including prior or concurrent refunds. Local and hosted credential custody use
the same declared connector contract.

Stripe independently confirms the refund against the original PaymentIntent
and currency. PayPal independently confirms the original capture and exact
refund amount, currency and complete capture relationship. Coinbase CDP retains
its original settlement evidence and separate refund readback. Only confirmed
`succeeded`, `COMPLETED` or x402 `settled` evidence completes the respective
lane. The result is that provider's bounded native packet, not a fabricated
universal payment record.

## Unknown and pending outcomes

A provider acknowledgement or HTTP success is not a completed refund. Stop on
unknown payment, wrong account/currency, excess remaining amount, denied
approval, pending/refused refund or unavailable readback. Preserve the original
provider reference, request key and native receipt. Resume the original effect
at readback; do not submit a second refund under another key. An unknown write
without an acknowledgement needs reconciliation, not a new financial action.

A composed caller supplies the same original collection evidence and key. This
skill does not collect again, replace the original payment, send a customer
message or update a ledger on the caller's behalf.

From runxhq/runx, Apache-2.0.

More from runxhq/runx

Signals

Stars
104
Forks
109
Open issues
16
Contributors
16
Last commit (this folder)
Oct 22, 2026 (8 days ago)
Last release
Oct 18, 2026 (12 days ago)

From GitHub (fetched Oct 24, 2026).

Details

License
Apache-2.0
Website
runx.ai
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from runxhq

Cite this page

refund skill. Agent Mart. https://agentmart.dev/skills/runxhq-refund (last updated 2026-10-24)