KAMIYO: Multi-Chain Crypto Payment Verification API | x402 Infrastructure

—  エージェント決済レール

Stop building payment infrastructure.
Start shipping features.

Multi-chain payment verification in one line of code. No infrastructure. No parsing. No authentication.

1,000 free verifications/month8 blockchains supported10-minute integration99.9% uptime SLA

Built for Developers

Add crypto payments to your API in 3 steps

1. User Sends Payment
~30 seconds
Customer sends USDC to your wallet on any supported chain
Transfer 10.00 USDC
To: your_wallet_address
Chain: Solana
2. Submit Transaction Hash
<500ms
Call x402 API to verify the payment happened on-chain. No API key required.
$ curl -X POST api.kamiyo.ai/v1/x402/verify
-H "Content-Type: application/json"
-d '{"tx_hash":"..."}'
3. Grant Access
Instant verification
Payment verified. Grant API access to your customer
// Verification response
verified: true
amount: 10.00
currency: "USDC"

Why Developers Choose KAMIYO

Skip the Blockchain Learning Curve
We handle RPC endpoints, transaction parsing, and confirmations across all chains
One API, Every Chain
Solana, Base, Ethereum, Polygon, Arbitrum, Optimism, Avalanche, and BSC with a single integration
Production-Grade from Day One
99.9% uptime SLA, sub-500ms responses, automatic RPC failover
Built for AI Agents
ERC-8004 compatible for autonomous payments, pay-per-use pricing

Developer-Friendly SDKs

Official Python and JavaScript SDKs. TypeScript definitions included. 5-minute quick start.

Python SDK
# Install SDK
pip install x402-python

# Verify payment
result = client.verify_payment(
tx_hash="...",
chain="solana"
)
JavaScript SDK
// Install SDK
npm install @x402/sdk

// Verify payment
const result = await client
.verifyPayment({txHash: "..."})

How It Works

Setup
Add to any API in 10 minutes
Step 1: User sends USDC to your wallet
Step 2: Submit tx hash to x402 API
Step 3: Get instant verification result
Step 4: Grant or deny access
Chains: Solana, Base, Ethereum, Polygon, Arbitrum, Optimism, Avalanche, BSC
Example
# No API key required
from x402 import X402Client
client = X402Client()
result = client.verify_payment(
tx_hash="...",
chain="solana",
expected_amount=10.00
)
if result.verified:
# Grant access

ミタマプロトコル MITAMA

live

Agent Identity & Conflict Resolution

On-chain identity and trustless dispute arbitration for autonomous agents. When payments go wrong, Mitama resolves conflicts through multi-oracle consensus.

Identity
PDA-Based Agent Identities
Stake-backed accountability on Solana. Agents build reputation through successful transactions and fair dispute outcomes.
SOL collateral required for identity creation
On-chain reputation scoring
Deterministic PDA derivation
Resolution
Quality-Based Arbitration
Sliding refund scale (0-100%) based on service quality assessment. Oracles evaluate disputes and determine fair settlements.
Switchboard oracle integration
Automated fund distribution
SPL token support (SOL, USDC, USDT)
Consensus
Multi-Oracle Verification
Decentralized dispute resolution through oracle consensus. No single point of failure or bias in conflict outcomes.
Configurable oracle panel size
Median-based consensus
Anti-collusion mechanisms
Quality-Based Refund Scale
80-100%
Quality Score
Full payment to provider
65-79%
Quality Score
35% refund to agent
50-64%
Quality Score
75% refund to agent
0-49%
Quality Score
Complete refund to agent
Conflict Resolution Flow
1
Agent creates agreement
Funds locked in escrow PDA with configurable time-lock
2
Provider delivers service
Agent releases funds on success or initiates dispute
3
Oracle panel scores quality
Multiple oracles evaluate and reach consensus on 0-100 scale
4
Funds distributed automatically
Refund percentage applied, reputations updated on-chain
SDK Integration
// Create agent identity with stake
import { MitamaClient } from '@mitama/sdk'
const client = new MitamaClient(config)
// Register agent with collateral
await client.createIdentity({
stake: 0.1, // SOL
metadata: { name: "agent-1" }
})
// Create protected agreement
const agreement = await client.createAgreement({
provider: providerPubkey,
amount: 1.0,
token: "SOL", // or "USDC", "USDT"
timeLockHours: 24
})
// On success: release funds
await client.release(agreement.id)
// On dispute: trigger oracle arbitration
await client.dispute(agreement.id)
SDK Packages
@mitama/sdk
Core TypeScript client for identity, agreements, and dispute handling
@mitama/middleware
Express/FastAPI middleware for HTTP 402 payment flows
@mitama/agent-client
Autonomous agent with configurable quality thresholds
@mitama/mcp-server
Model Context Protocol integration for AI systems
@mitama/surfpool
Strategy simulation and pre-flight validation with Surfpool
@mitama/switchboard
Oracle function implementation for quality scoring
programs/mitama
Anchor-based Solana program (Rust)
Autonomous Agent
// Automated service consumption with dispute protection
import { AutonomousServiceAgent } from '@mitama/agent-client'
const agent = new AutonomousServiceAgent({
wallet: keypair,
qualityThreshold: 0.7, // Auto-dispute below 70%
maxPricePerCall: 0.01
})
// Consume API with automatic protection
const result = await agent.consume({
provider: apiEndpoint,
request: { prompt: "..." }
})
HTTP 402 Middleware
// Add payment protection to Express routes
import { mitamaMiddleware } from '@mitama/middleware'
app.use('/api/premium', mitamaMiddleware({
price: 0.001, // SOL per request
token: "USDC",
escrowRequired: true
}))
// Returns 402 Payment Required with
// agreement creation instructions
View on GitHub
npm install @mitama/sdk

Pricing

Start free, scale as you grow

Free

$0forever
  • 1,000 verifications/month
  • Solana & Base support
  • Multi-chain USDC verification
  • Community support
  • Standard rate limits
Most Popular

Starter

$99/mo
  • 50,000 verifications/month
  • Solana, Base & Ethereum
  • Priority verification
  • Email support
  • Higher rate limits
  • 99.9% uptime SLA

Pro

$299/mo
  • 500,000 verifications/month
  • 6 blockchain networks
  • Advanced risk scoring
  • Priority support
  • Custom rate limits
  • 99.95% uptime SLA

Enterprise

from $999/mo
  • Unlimited verifications
  • All supported chains
  • Custom integration support
  • Dedicated support
  • Custom SLA agreements
  • On-premise deployment option

Building for

Monad
PayAI
Hyperliquid
Daydreams
Solana

Frequently Asked Questions

Everything you need to know about x402 Infrastructure

What is x402 Infrastructure?

+

Which blockchains are supported?

+

How fast is payment verification?

+

How do I integrate x402 into my API?

+

Do I need blockchain expertise?

+

What about fraud and payment manipulation?

+

How much does x402 Infrastructure cost?

+

What happens if I exceed my verification limit?

+

Can AI agents use x402 for payments?

+

Still have questions?