Skip to content

AiFinPay: AI Agent Payments

AiFinPay logo

Non-custodial pay-per-call payments for autonomous AI agents

Give agents a way to pay for digital services one request at a time, without subscriptions or a custodial payment intermediary.

AiFinPay website · Developer documentation · AI agent integration guide


What is AiFinPay?

AiFinPay gives any AI agent a wallet so it can pay for services and receive payments on-chain. Built on the open x402 protocol and AIFP standards, it enables autonomous machine-to-machine commerce with exact, per-call settlement across multiple blockchains.

  • Pay-per-call — agents settle each invocation exactly, no subscriptions, no pre-funding.
  • Non-custodial — payments flow directly wallet-to-wallet; no intermediary holds funds.
  • Multi-chain — EVM, Solana, Aptos and more (and growing).
  • Agent-first — MCP server and SDK make it straightforward to integrate with agent frameworks.

Why AiFinPay?

AI agents increasingly need access to resources that cost money: an API call, a premium research article, a dataset, a search result, a software tool, or a machine-readable service.

AiFinPay gives developers the building blocks to turn that access into an owner-controlled payment workflow.

Capability What it enables
Agent payments Buy access to AiFinPay-enabled websites, APIs, data, content, and tools.
Non-custodial Agent Wallet Keep signing keys with the agent owner or operator instead of handing them to a payment intermediary.
Agent Passport (AIFP-3) A portable agent identity model with verifiable wallet ownership; global passport issuance is being rolled out.
14-network infrastructure inventory Multi-chain wallet and payment architecture with network-specific readiness checks; not every listed network is payment-enabled.
HTTP 402 / x402-compatible architecture Discover paid resources, authorize supported payment routes, and reuse verified access receipts.
0% AiFinPay fee on AIFP-2 / x402 The current AIFP-2 protocol fee is 0%; payment availability and external network costs are separate.
Budget controls Configure allowed merchants, spending limits, and payment permissions.
Receipts and payment history Track settled payments and access entitlements.
Merchant monetization Charge AI agents for eligible access to websites, APIs, MCP tools, and premium resources.

Protocol & Standards

Repo Description
AIFP_1 Open protocol for AI-native payments, paywalls, agent identity, and autonomous M2M commerce.
AIFP_2 Core agent payment protocol — routing, wallet policy, settlement verification and receipts; x402 v2 compatibility profile.
AIFP_3 Global Agent Passport — immutable identity, issuer/holder keys, lifecycle, and verified wallet bindings.
AIFP_4 Open organization / corporation protocol.
AIFP_5 Quantum-safe authorization envelopes — classical, hybrid, and post-quantum cryptographic authorization.
AIFP_6 Agentic financial governance — machine-readable authority, limits, delegation, approvals, emergency controls and audit decisions.

On-Chain Contracts

Repo Chain Language Highlights
evm-contract See supported Solidity AiFinPayCore v1.1 with Pyth Pull Oracle.
solana-contract Solana Rust Anchor program — Seat PDAs, b2b_pay, b2b_pay_with_split. Live on mainnet.

Tools & Integrations

Repo Description
sdk TypeScript SDK for embedding AiFinPay into agents and services.
aifinpay-cli Agent-first CLI (Go). Pay-per-call x402 + on-chain settlement; wraps @aifinpay/mcp.
aifinpay-agent-integration Official integration guide — give any AI agent a wallet (MCP + SDK).
stellar-x402-facilitator Open-source x402 facilitator & Bazaar discovery layer for Stellar.

Documentation

Network Coverage and Status

AiFinPay tracks 14 mainnet networks. Payment support and deployment status vary by chain, protocol, asset, and route; check the live capabilities and network status before integrating.

EVM compatible

Arc
Arc
Avalanche
Avalanche
Arbitrum
Arbitrum
Polygon
Polygon
BNB Chain
BNB Chain
Base
Base
Robinhood
Robinhood
Optimism
Optimism
XRPL EVM
XRPL EVM
Unichain
Unichain
BOT Chain
BOT Chain

Non EVM

Solana
Solana
NEAR
NEAR
Aptos
Aptos

Live state varies per chain — see the network source-of-truth for the per-layer status matrix.

Getting Started

Install the package(s) you need and give your agent a funded wallet:

# MCP server — plug any agent framework into AiFinPay
npm install @aifinpay/mcp

# Opinionated agent runtime (optional)
npm install @aifinpay/agents

# Or scaffold a full integration
npx @aifinpay/cli init

Then point your agent at the MCP server and give it a funded wallet. See the integration guide for details.

Built for the developer ecosystem

Use AiFinPay with JavaScript/TypeScript applications, supported Python workflows, MCP-enabled AI systems, and agents that support the Agent Skills format. Pick the integration that matches your runtime:

Need Start here
Node.js / TypeScript agent SDK npm install @aifinpay/agent
AI agent skill npx skills add AiFinPay/skill
MCP tools npx -y @aifinpay/mcp@latest
Python agent SDK pip install aifinpay-agent
Node merchant paywall npm install @aifinpay/gate
Python merchant paywall pip install aifinpay-gate
Dashboard dash.aifinpay.io

Developer-first security

AiFinPay's non-custodial approach keeps key ownership local. Supported payment clients check merchant identity, configured owner limits, route activation, the chosen asset, and settlement evidence before treating access as paid.

  • No secret keys in the public passport, request metadata, or README examples.
  • No assumption that a 402 response, quote, or invoice means money moved.
  • No automatic settlement on a disabled or unverified network.
  • No second payment when the outcome of an earlier signed transaction is unresolved; follow the recovery process.

Read payment authorization and recovery details

Documentation and links

For builders: equip your agents to pay for the resources they need.

For merchants: turn eligible AI traffic into paid access to your content, APIs, and services.

AiFinPay — the payment infrastructure layer for AI.

License

MIT. See LICENSE.

Pinned Loading

  1. sdk sdk Public

    TypeScript 3 2

  2. AIFP-1 AIFP-1 Public

    Open protocol for AI-native payments, paywalls, agent identity, and autonomous machine-to-machine commerce.

    Python 2 1

Repositories

Showing 10 of 18 repositories
  • docs Public

    AiFinPay developer documentation (Mintlify)

    AiFinPay/docs's past year of commit activity
    MDX 0 0 0 2 Updated Oct 29, 2026
  • sdk Public
    AiFinPay/sdk's past year of commit activity
    TypeScript 3 MIT 2 0 1 Updated Oct 29, 2026
  • skill Public

    AiFinPay agent skills: pay for x402-gated APIs as an agent (aifinpay) and charge agents for your API as a merchant (aifinpay-merchant).

    AiFinPay/skill's past year of commit activity
    JavaScript 0 MIT 0 0 0 Updated Oct 29, 2026
  • .github Public
    AiFinPay/.github's past year of commit activity
    0 0 3 0 Updated Oct 28, 2026
  • solana-contract Public

    AiFinPay Solana program — Anchor program for Seat PDAs, b2b_pay, b2b_pay_with_split. Live on mainnet.

    AiFinPay/solana-contract's past year of commit activity
    Rust 1 1 0 0 Updated Oct 27, 2026
  • evm-contract Public

    AiFinPayCore v1.4 — EVM settlement contract for AI-agent pay-per-call payments on EVM compatible chains. x402 + AIFP1.

    AiFinPay/evm-contract's past year of commit activity
    TypeScript 0 0 5 1 Updated Oct 27, 2026
  • aifinpay-avalanche Public

    AiFinPay AI-agent payment protocol on Avalanche C-Chain — live & verified on mainnet (chain 43114). Non-custodial per-call settlement via Pyth + on-chain splitter.

    AiFinPay/aifinpay-avalanche's past year of commit activity
    Solidity 1 MIT 2 1 0 Updated Oct 3, 2026
  • casper-contract Public archive

    Payment infrastructure for autonomous AI agents — the AiFinPay x402 protocol, settled on Casper. Live testnet contract, x402 bridge, SDK examples & MCP server.

    AiFinPay/casper-contract's past year of commit activity
    Rust 1 MIT 2 1 1 Updated Oct 3, 2026
  • AIFP-3 Public

    Global Agent Passport protocol for portable identity, permissions, financial reputation and multi-chain wallet bindings.

    AiFinPay/AIFP-3's past year of commit activity
    0 Apache-2.0 1 1 0 Updated Sep 22, 2026
  • AiFinPay/THE-PI-COVENANT's past year of commit activity
    0 0 0 0 Updated Aug 29, 2026