01 · Payment
Check the 402 challenge.
Pass the challenge as your agent received it. from is optional, but supplying it enables the balance check and makes the verdict stronger.
Request
curl -X POST https://vex402.online/preflight \ -H "Content-Type: application/json" \ -d '{ "kind": "payment", "from": "0xYourWallet", "payment": { "scheme": "exact", "network": "eip155:84532", "asset": "0x036CbD53842c5426634e7929541eC2318f3dCF7e", "amount": "10000", "payTo": "0xAeEF086DD4e436c69d6d0F684b4c9F43392df9cb", "resource": "https://vex402.online/verify", "maxTimeoutSeconds": 60 }, "policy": { "maxAmountUsd": 0.25, "allowedResourceHosts": ["vex402.online"] } }'
Optional: bind the payout wallet and local obligation state
The public gate has no cross-process payment ledger. If your agent already keeps one, pass it in:
{
"payment": {
"idempotencyKey": "pay-2026-10-24-001",
"payTo": "0x…",
…
},
"policy": {
"sellerPayoutWallets": ["0xSellerPayout"],
"sellerPayoutManifest": {
"url": "https://seller.example/.well-known/verify402.json",
"expectedSigner": "0xSellerSigner"
},
"obligation": {
"settledKeys": ["pay-2026-10-23-014"],
"spentUsd": 0.24,
"grantUsd": 0.25
}
}
}
sellerPayoutWallets is only a caller-supplied allowlist. A match adds payee_payout_allowlist, not a binding. sellerPayoutManifest fetches a seller-signed manifest from a caller-pinned HTTPS origin outside the 402; only a verified manifest match adds payee_payout_binding. A settled key is BLOCK; adding this payment to spentUsd above grantUsd is BLOCK. Without this state, both gaps stay named in notChecked.
Response · abbreviated
{
"verdict": "PASS",
"sign_allowed": true,
"requires_ack": false,
"reasons": [],
"checked": ["scheme", "network", "asset", "amount", "payee", "resource_url", "resource_host", "payer_balance", "block_freshness"],
"notChecked": ["recipient reputation", "sanctions screening", "payment signature / signed payload", "facilitator settlement", "off-chain promises", "counterparty identity / tool metadata", "payTo ownership / proven seller payout wallet", "payee wallet ownership (seller-signed manifest only)", "obligation state (idempotency key, cumulative spend, grant balance)", "prompt injection / hidden Unicode in tool output"],
"payeeBinding": {
"source": "seller_manifest",
"matched": true,
"origin": "https://seller.example",
"signer": "0xSellerSigner",
"expiresAt": "2026-11-24T00:00:00Z",
"manifestHash": "…"
},
"receipt": {
"spec": "verify402/preflight-receipt@1",
"intentHash": "…",
"requestHash": "…",
"blockNumber": 48277717,
"expiresAt": "2026-10-19T…Z",
"signature": "…"
}
}