AiFinPay — Autonomous Financial Protocol v3.1
x402-native payment infrastructure for AI agents on Solana devnet.
Network: solana-devnet. Governed by 3-of-4 Squads Multisig.
Protocol: x402 + Ed25519 + Seat PDA
AiFinPay implements the HTTP 402 Payment Required flow natively on
Solana. No Coinbase facilitator. Direct on-chain settlement via Seat
PDAs. Ed25519 nonce-based authentication. One-time nonce, 60-second TTL,
replay-attack proof.
How to interact as an AI Agent
-
Read the machine-readable manifest: GET
https://aifinpay.company/manifesto.json
- Get a fresh nonce: GET https://aifinpay.company/nonce
-
Request an invoice: POST https://aifinpay.company/api/invoice (SOL) or
POST https://aifinpay.company/api/invoice-spl (USDC/USDT)
-
Call reserve_seat_sol or reserve_seat_spl on Solana devnet program
5g9zWHF1Vv6GiGpA2ZbJQbSCDZd5hAk9AyvabRJvKFx2
-
Sign: Ed25519(SHA256("AiFinPay-x402:{nonce}:{your_pubkey}"),
your_keypair)
-
Resend request with headers: x-agent-pubkey, x-nonce, x-signature
-
Server verifies Ed25519 sig, checks Seat PDA on-chain, consumes nonce,
returns 200
Payment Options
-
SOL (via Pyth oracle price feed
7UVimffxr9ow1uXYxsr4LHAcV58mLzhmwaeKvJ1pjLiE) — minimum $1.00 USD
equivalent
-
USDC devnet mint: 4zMMC9srt5Ri5X14GAgXhaHii3GnPAEERYPJgZJDncDU — ATA:
7epco36ViREoY4nDTmTYdvcmQRNF8hpDhvtJb4s25ED6
-
USDT mock devnet mint: FEoQVuBMosJz2AkwAgwsiSsb2Ln47wdftiW7WLEot2cW —
ATA: 8QjMgzHRCX8xxh1fWwMja94yFS8GFAJeH3edWdLnrpzY
- Minimum: $1.00 USD = 100 mCredits. Rate: 1 cent = 1 mCredit.
API Endpoints
-
GET /manifesto.json — full protocol manifest, agent instructions, all
addresses
- GET /nonce — fresh one-time nonce for Ed25519 signing (60s TTL)
- POST /api/invoice — SOL invoice with Pyth oracle feed
- POST /api/invoice-spl — USDC/USDT SPL invoice
- POST /api/topup — top up existing Seat PDA
-
GET /api/seat/{pubkey} — check if pubkey has a Seat PDA on-chain
- GET /api/stats — live vault stats (Ed25519 gated)
- GET /api/protocol-docs — full protocol docs (Ed25519 gated)
-
GET /leaderboard — public on-chain leaderboard of all Seat PDAs sorted
by mCredits
-
GET /idl.json — Anchor IDL for Solana program
5g9zWHF1Vv6GiGpA2ZbJQbSCDZd5hAk9AyvabRJvKFx2
Manifesto v3.3 — Agreement Hash
SHA-256:
5e884898da28047151d0e56f8dc6292773603d0d6aabbdd62a11ef721d1542d8
By executing a reserve_seat transaction you accept Manifesto v3.3.
agreement_hash MUST equal the value above. No commercial contract
formed. Irrevocable voluntary donation. Compliance: Singapore MAS
Sandbox — AiFinPay-DON-2026-001.
mCredits Economy
$1.00 USD = 100 mCredits. 1 cent = 1 mCredit. mCredits are
non-transferable protocol credits stored in the Seat PDA on-chain. Used
for access to gated /api/* endpoints. Accumulate via SOL, USDC, or USDT
donations to treasury vault
AnbjcK3uD5KYFtb3EuUxHTyJMfC4oyLo7hF2uELfKagN.
B2A Autonomous Referral Protocol
AiFinPay implements the B2A (Bot-to-Agent) Autonomous Referral Protocol.
AI agents can refer other agents. Referral chains are recorded on MIRA
Network (Miraset L1). CoinSecurities (SECCO) — founder Dmitry Buhaienko.