Agent owners
For an assistant with MCP support, connect@aifinpay/mcp using the
MCP setup guide. For your own application, install the Node or
Python SDK and follow its versioned package documentation.
MCP
@aifinpay/mcp 2.2.x pays with payable_fetch once the owner enables it,
and Node @aifinpay/agent 2.1.x pays with fetchPaid. Both settle AIFP-1 on
Polygon (splitter v1.4) in native POL; the smallest batch is $0.10 plus gas. The
Python SDK does not pay yet. A quote or invoice alone does not move funds.
See payment support.agent_claim_self tool (MCP 2.2.4+); otherwise use Add
agent by address and have the agent sign the challenge
(signDashboardClaim in Node, sign_dashboard_claim in Python).
Ask the agent to inspect the target origin’s /.well-known/x402.json and its
API catalog. Agree on the resource, receipt scope, batch cost and separate gas
budget before a supported payment is executed. Read discovery
for the difference between general instructions and site-specific routes.
Merchants
Open the dashboard, register your site and follow the merchant onboarding guide. Use theaifinpay-merchant skill to guide integration of @aifinpay/gate.
Publish discovery on the same origin as your protected routes. After a real
payment, verify the merchant, amount and transaction in the dashboard; a
quote or HTTP 402 response is not a completed payment.