x402 Protocol v2
•
Two-Way Fiat / Crypto Clearing House
Seamless USD x402 Liquidity Rails
Convert fiat bank balances into x402 machine-payable credits for AI agents, or liquidate accumulated x402 API micro-payments instantly back to USD via FedNow and RTP.
Off-Ramp Settlement Config
x402 → USD
$
InterGlobal FedNow Gate
Routing: ****4829 • Account: ****8812
STEP 1
Initiate
STEP 2
Verify
STEP 3
Clear
STEP 4
Settle
clearing-engine.log
IDLE
// InterGlobal Clearing Engine Ready. Select mode and execute simulation.
Bidirectional Fee & Clearing Calculator
Transparent clearing calculations for both agent funding and fiat liquidations.
Input Amount
$10.00 x402
Clearing Spread (0.05%)
$0.0050
Net Output
$9.9950 USD
Off-Ramp Header Spec (x402 $\rightarrow$ USD)
HTTP/1.1 402 Payment Required PAYMENT-REQUIRED: eyJ4NDAyVmVyc2lvbiI6Miw... // Client provides signed permit payload PAYMENT-SIGNATURE: eyJzY2hlbWUiOiJleGFjdC... // InterGlobal settles on-chain & fires RTP USD PAYMENT-RESPONSE: {"status":"SETTLED","rtpRef":"FEDNOW_98231"}
On-Ramp API Spec (USD $\rightarrow$ x402 Credits)
POST /v1/clearing/mint-credits
Content-Type: application/json
{
"fiatSource": "FEDNOW_DEPOSIT",
"usdAmount": 10.00,
"agentAddress": "0x71D8E913780F341A7841D108a8B59E4c7A511F06"
}
// Returns pre-signed x402 voucher token
201 Created -> {"x402CreditBalance": 10.00, "status": "ACTIVE"}