# Agent Payment Reconciliation

> Financial reconciliation for AI agent revenue, matching x402 and crypto settlements to a clean, auditable ledger.

Agent Payment Reconciliation is a paid AI agent skill on Agensi by Khristian Kopachelli. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: $12 (one-time purchase)
- Creator: [Khristian Kopachelli](https://www.agensi.io/creators/khristian-kopachelli)
- Version: 1.0
- Last updated: 2026-11-29
- Security: scan passed (2026-11-29); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/agent-payment-reconciliation
- Tags: finance-accounting, crypto, stablecoins, x402, payments

## About this skill

Tracking agent revenue is difficult when dealing with on-chain settlements, facilitator fees, and gas costs. This skill enforces ledger discipline for crypto and stablecoin payments, ensuring every transaction is accounted for and auditable.

### What it does
- **Multi-source reconciliation** matches x402 flows, direct transfers, and exchange payouts into a structured ledger.
- **Automated matching** links settlements to charges using payment-payload hashes or time-window heuristics.
- **Dispute handling** manages refunds and adjustments without modifying original charge records.
- **Fee tracking** records gross and net revenue separately to account for facilitator fees and gas costs.
- **Anomaly detection** flags unmatched inflows and stuck charges for manual review.

### How it works
1. **Log Charges** by recording the logical paid call including the endpoint and intended price.
2. **Ingest Settlements** from on-chain movements, capturing transaction hashes and facilitator fees.
3. **Run Matching** to link settlements to charges, flagging underpayments or unmatched funds.
4. **Generate Reports** using the daily reconciliation checklist to verify revenue and audit trails.

### Frameworks & tools
Works with any append-only store such as SQLite, Postgres, or Cloudflare D1. Designed for x402 payment flows and USDC/stablecoin receipt streams.

### Why this beats prompting it yourself
Generic prompts often fail to maintain strict accounting invariants, leading to "rounded" payments or lost audit trails. This skill enforces an immutable ledger model that prevents double-booking and ensures every cent is tracked from tx_hash to net revenue.

### Use cases
- Reconcile paid API revenue for AI agents.
- Track USDC settlements across multiple chains.
- Audit facilitator fees and gas costs for agent-to-agent transactions.
- Manage refunds and credits for failed agent tasks.

### Known limitations
Does not support chargebacks as they do not exist in crypto. Requires a facilitator-verified payment response for high-trust environments rather than client-side transaction hashes.

## Requires

Nothing beyond your AI agent.

## How to use this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the Agent Payment Reconciliation skill from Agensi" and describe your task.
3. Buy it on the listing or let your agent ask you first; your agent then loads it from Agensi when it needs it. Every paid skill has a money-back guarantee: https://www.agensi.io/docs/money-back-guarantee

## Frequently asked questions

### How does this skill help me manage revenue from Agent-to-Agent (A2A) transactions?

This skill solves the 'missing link' problem in agent-to-agent payments by automatically matching raw on-chain transaction data with your specific API call logs, ensuring gas costs and facilitator fees are correctly accounted for.

### Which AI agent frameworks and databases are compatible with this reconciliation tool?

The skill is designed to work with any agent framework that utilizes x402 payment flows or USDC/stablecoin settlements, and it integrates seamlessly with append-only stores like SQLite, Postgres, or Cloudflare D1.

### Why shouldn't I just use a standard prompt to track my agent's revenue?

Unlike simple prompts, this skill uses an immutable ledger model that prevents common accounting errors like double-booking, rounding discrepancies, or lost audit trails during high-volume settlements.

### What exactly is included in the purchase of the Agent Payment Reconciliation skill?

Upon purchase, you receive the full logic for the reconciliation engine, standardized ledger schemas for your database, and pre-configured report templates for auditing net versus gross revenue.

### How does the skill handle failed payments or unmatched crypto transfers?

The skill handles discrepancies by flagging unmatched inflows and underpayments for manual review, and it manages refunds through a separate adjustment layer that keeps your original charge records intact.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
