X402 · Rail Economics
What an x402 settlement rail leaves the seller: pass ?amount=0.005 (USDC) and get, per measured rail (PayAI, CDP, OMNIGATE, Stripe, MPP), the fee taken, the net proceeds, the minimum price that clears that rail, and which rails lose money at this amount. GET /api/v1/x402/rail-economics?amount=0.005
GET https://coinop.publicvm.com/api/v1/x402/rail-economics
0.005 USDC on Base · payTo 0xfa0B17D69c75246BFFeAaeBbbFAFE0E82e87Df11
Status: verified · payable
Settlement: via OMNIGATE (https://omnigate.scriptmasterlabs.com) — seller opted in; receipt token per settlement; 0.005 USDC fee inside settlement, waived inside the daily budget
Payment routes
Base · 0.005 USDC · payTo 0xfa0B17D69c75246BFFeAaeBbbFAFE0E82e87Df11 · via omnigate · settles through OMNIGATE
Base · 0.005 USDC · payTo 0xfa0B17D69c75246BFFeAaeBbbFAFE0E82e87Df11 · via omnigate · settles through OMNIGATE
{
"amount": "100",
"rails": "payai_base,omnigate_base"
}{
"amountUsd": "0.005",
"amountAtomic": "5000",
"asset": "USDC",
"rails": [
{
"key": "payai_base",
"facilitator": "PayAI",
"costUsd": "0.00209",
"netUsd": "0.00291",
"netBps": 5820,
"viable": true,
"minimumPriceUsd": "0.003"
}
],
"best": {
"key": "cdp_base",
"netUsd": "0.004"
},
"lossMaking": [
"omnigate_base"
],
"highestMinimumPriceUsd": "0.451",
"base": {
"lossMaking": [
"omnigate_base"
],
"minimumPriceUsd": "0.006",
"minimumPriceRail": "omnigate_base",
"viableEverywhere": false
},
"viableEverywhere": false,
"warning": "string",
"source": "streams/shared/rail-costs.js (measured facilitator fee tables)"
}