X402 · Preflight Payment
Evaluate a proposed payment against a structured, caller-supplied policy and optional OFAC SDN recipient screening, before execution. Returns ALLOW, REQUIRE_APPROVAL, or BLOCK with reasons, plus a signed OCD PREFLIGHT receipt anyone can independently verify. Policy evaluation only: OCD never holds, moves, or authorizes funds. The wallet, PayBox, or x402 client independently authorizes execution afterward; an ALLOW here does not guarantee it will proceed.
POST https://mcp.onchaindiligence.com/x402/preflight-payment
0.01 USDC on Base · payTo 0x63c347d7e42b940e79AfEC3D172bFc2921b6c897
Status: unverified (live-probe)
Operator badge: embed this endpoint's live status badge — it reads "Verified Payable" only while the probe record backs it.
Settlement: direct to the seller's payTo — 0% HIVE402 take
Payment routes
{
"action": {
"amount": "1.00",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"kind": "PAYMENT",
"network": "eip155:8453",
"recipient": "0x000000000000000000000000000000000000dEaD",
"resource": "https://service.example/api",
"sender": null
},
"options": {
"screen_recipient_sanctions": true
},
"policy": {
"allowed_assets": [
"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"
],
"allowed_networks": [
"eip155:8453"
],
"allowed_resource_origins": [
"https://service.example"
],
"expected_recipient": null,
"max_amount": "5.00"
},
"references": {
"mandate_digest": null
}
}{
"checks": [
{
"evidence_digest": null,
"id": "amount-within-max",
"result": "PASS",
"summary": "The proposed amount is within the caller-configured maximum."
}
],
"decision": {
"authorized": true,
"reasons": [
"All configured policy checks passed."
],
"status": "ALLOW"
},
"receipt": {
"proof": {
"algorithm": "ed25519",
"key_id": "ed25519-EXAMPLEKEY000000",
"signature": "UN4TzBvkRsf0eGm4…ZFyElhq1Cg",
"signed": true
},
"receipt": {
"receipt_id": "OCD-RCP-EXAMPLE-0000-0000-0000",
"receipt_type": "PREFLIGHT"
},
"schema": "onchaindiligence.public-action-receipt.v1"
}
}HIVE Repair reads this endpoint's real probe record, writes the exact fix and re-probes until it shows verified · payable, or you get a full refund. Card or USDC.
Script Master Labs LLC · SDVOSB · Kinston, NC · Terms · Refunds · Privacy · Contact
SML network: ScriptMasterLabs — the main site · SML Dual Market — the human storefront · VA Ratings — VA disability ratings, free for veterans
Agent intel 
| Trust score | 16 / 100 · breakdown |
|---|---|
| Probe uptime (30d) | 0.0% over 1 probes · daily |
| Avg 402 latency | — ms |
| Paid calls (30d, on-chain) | 3 calls · 2 buyers · shared price cohort of 2 |
| Facilitator-reported (30d) | 2 calls · 1 payers (CDP Bazaar) |
How to call
POST https://mcp.onchaindiligence.com/x402/preflight-payment · input in body · spec from feed (schema inferred from example)
Input schema
{
"type": "object",
"properties": {
"action": {
"type": "object",
"properties": {
"amount": {
"type": "string"
},
"asset": {
"type": "string"
},
"kind": {
"type": "string"
},
"network": {
"type": "string"
},
"recipient": {
"type": "string"
},
"resource": {
"type": "string"
},
"sender": {
"type": "null"
}
}
},
"options": {
"type": "object",
"properties": {
"screen_recipient_sanctions": {
"type": "boolean"
}
}
},
"policy": {
"type": "object",
"properties": {
"allowed_assets": {
"type": "array",
"items": {
"type": "string"
}
},
"allowed_networks": {
"type": "array",
"items": {
"type": "string"
}
},
"allowed_resource_origins": {
"type": "array",
"items": {
"type": "string"
}
},
"expected_recipient": {
"type": "null"
},
"max_amount": {
"type": "string"
}
}
},
"references": {
"type": "object",
"properties": {
"mandate_digest": {
"type": "null"
}
}
}
}
}Output schema
{
"type": "object",
"properties": {
"checks": {
"type": "array",
"items": {
"type": "object",
"properties": {
"evidence_digest": {
"type": "null"
},
"id": {
"type": "string"
},
"result": {
"type": "string"
},
"summary": {
"type": "string"
}
}
}
},
"decision": {
"type": "object",
"properties": {
"authorized": {
"type": "boolean"
},
"reasons": {
"type": "array",
"items": {
"type": "string"
}
},
"status": {
"type": "string"
}
}
},
"receipt": {
"type": "object",
"properties": {
"proof": {
"type": "object",
"properties": {
"algorithm": {
"type": "string"
},
"key_id": {
"type": "string"
},
"signature": {
"type": "string"
},
"signed": {
"type": "boolean"
}
}
},
"receipt": {
"type": "object",
"properties": {
"receipt_id": {
"type": "string"
},
"receipt_type": {
"type": "string"
}
}
},
"schema": {
"type": "string"
}
}
}
}
}curl -i -X POST 'https://mcp.onchaindiligence.com/x402/preflight-payment' \
-H 'content-type: application/json' -d '{"action":{"amount":"1.00","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","kind":"PAYMENT","network":"eip155:8453","recipient":"0x000000000000000000000000000000000000dEaD","resource":"https://service.example/api","sender":null},"options":{"screen_recipient_sanctions":true},"policy":{"allowed_assets":["0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"],"allowed_networks":["eip155:8453"],"allowed_resource_origins":["https://service.example"],"expected_recipient":null,"max_amount":"5.00"},"references":{"mandate_digest":null}}'
Agents: POST https://hive402.scriptmasterlabs.com/mcp → route_task / proxy_call · SDK /sdk/hive402.mjs
Try-it needs an exact USDC-on-Base route that is verified payable; use your own x402 client or proxy_call.