{
  "format": "delx/intent-card/v1",
  "id": "x402-delivery-receipt-check-api",
  "intent": "verify that an x402 payment produced a usable delivery receipt for the buyer",
  "title": "Verify an x402 payment produced a usable delivery receipt",
  "description": "Validate the structure and binding fields of a caller-supplied x402 delivery receipt while the outcome is still fresh. It helps buyers preserve proof without exposing wallet secrets and does not look up or fabricate a settlement.",
  "keywords": [
    "x402 delivery receipt",
    "payment proof validation",
    "agent purchase receipt",
    "x402 outcome proof",
    "settlement evidence"
  ],
  "updated_at": "2026-08-23",
  "canonical_url": "https://commerce.delx.ai/intents/x402-delivery-receipt-check-api",
  "machine_url": "https://commerce.delx.ai/intents/x402-delivery-receipt-check-api.json",
  "recommendation": {
    "tool_name": "util_x402_delivery_receipt_check",
    "service_name": "X402 Delivery Receipt Check",
    "method": "POST",
    "resource": "https://api.delx.ai/api/v1/x402/x402-delivery-receipt-check",
    "price_usdc": "0.001",
    "payment_protocols": [
      "x402",
      "mpp"
    ],
    "input_schema": {
      "$schema": "https://json-schema.org/draft/2020-12/schema",
      "type": "object",
      "properties": {
        "receipt": {
          "type": "object",
          "maxProperties": 128,
          "additionalProperties": true,
          "description": "Receipt supplied to X402 Delivery Receipt Check; used only for this bounded calculation and processed in memory without retention."
        }
      },
      "required": [
        "receipt"
      ],
      "additionalProperties": false
    },
    "example_input": {
      "receipt": {
        "payment_id": "pay-1",
        "resource": "https://api.delx.ai/x402/utility/example",
        "amount_raw": "1000",
        "delivered": true
      }
    },
    "example_output": {
      "schema": "delx/util-x402-delivery-receipt-check/v1",
      "operation": "delivery_contract:x402_delivery_receipt_check",
      "status": "pass",
      "result": {
        "missing_fields": [],
        "shape_valid": true,
        "receipt": {
          "payment_id": "pay-1",
          "resource": "https://api.delx.ai/x402/utility/example",
          "amount_raw": "1000",
          "delivered": true
        }
      },
      "evidence": {
        "input_sha256": "834990994a10325e5e595578ebbcf61447f6bc3ccd77c2008ce768f630056c28",
        "retained": false,
        "external_calls": 0
      }
    },
    "agentcash": {
      "buy": "npx agentcash@latest fetch https://api.delx.ai/api/v1/x402/x402-delivery-receipt-check -m POST -H 'x-delx-source: intent-card-x402-delivery-receipt-check-api' --max-amount 0.001 -b '{\"receipt\":{\"payment_id\":\"pay-1\",\"resource\":\"https://api.delx.ai/x402/utility/example\",\"amount_raw\":\"1000\",\"delivered\":true}}'",
      "max_amount_usdc": "0.001"
    }
  },
  "attribution": {
    "header": "x-delx-source",
    "value": "intent-card-x402-delivery-receipt-check-api"
  },
  "evidence": {
    "paid_openapi": "https://api.delx.ai/openapi.x402.json",
    "governed_portfolio": "https://api.delx.ai/x402-portfolio.json",
    "live_contract": "https://api.delx.ai/api/v1/x402/x402-delivery-receipt-check"
  }
}
