{
  "x402Version": 2,
  "id": 12404,
  "slug": "12404",
  "resource": "https://mcp.onchaindiligence.com/x402/preflight-payment",
  "description": "Evaluate a proposed payment against a structured, caller-supplied policy and optional recipient sanctions 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.",
  "type": "http",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0x63c347d7e42b940e79AfEC3D172bFc2921b6c897",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "10000",
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "bazaar": {
      "info": {
        "input": {
          "body": {
            "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
            }
          },
          "bodyType": "json",
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "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"
            }
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "properties": {
                  "action": {
                    "type": "object"
                  },
                  "options": {
                    "type": "object"
                  },
                  "policy": {
                    "type": "object"
                  },
                  "references": {
                    "type": "object"
                  }
                }
              },
              "bodyType": {
                "enum": [
                  "json",
                  "form-data",
                  "text"
                ],
                "type": "string"
              },
              "method": {
                "enum": [
                  "POST"
                ],
                "type": "string"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method",
              "bodyType",
              "body"
            ],
            "type": "object"
          },
          "output": {
            "properties": {
              "example": {
                "properties": {
                  "checks": {
                    "type": "array"
                  },
                  "decision": {
                    "properties": {
                      "authorized": {
                        "type": [
                          "boolean",
                          "null"
                        ]
                      },
                      "reasons": {
                        "items": {
                          "type": "string"
                        },
                        "type": "array"
                      },
                      "status": {
                        "enum": [
                          "ALLOW",
                          "REQUIRE_APPROVAL",
                          "BLOCK",
                          "UNKNOWN"
                        ],
                        "type": "string"
                      }
                    },
                    "type": "object"
                  },
                  "receipt": {
                    "description": "Complete onchaindiligence.public-action-receipt.v1 envelope.",
                    "type": "object"
                  }
                },
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "bazaar"
  ],
  "sourceHost": "mcp.onchaindiligence.com",
  "lastUpdated": "2026-09-17T03:33:10.697Z",
  "quality": {
    "calls30d": 2,
    "uniquePayers30d": 2,
    "lastCalledAt": "2026-09-17T03:33:10.48Z"
  },
  "liveness": {},
  "verified": false,
  "featured": false,
  "provider": {
    "host": "mcp.onchaindiligence.com",
    "manifest_name": "mcp.onchaindiligence.com",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-09-18T22:00:31.484Z"
  }
}