{
  "format": "delx/discovery-pack/v1",
  "id": "prove-x402-payment-and-delivery",
  "title": "Preserve proof from x402 payment through delivery",
  "description": "Walk a caller-supplied purchase artifact through payment preflight, response-header shape, settlement transaction shape, receipt, delivery hash, idempotency and retry safety. It validates evidence already held by the buyer; it never reconstructs a missing receipt or performs a payment.",
  "audience": "Buyer agents, marketplaces and paid-tool integrators",
  "query": "verify an x402 payment settlement response and delivered result without exposing wallet secrets",
  "keywords": [
    "x402 payment receipt",
    "x402 delivery proof",
    "Payment-Response header",
    "agent purchase audit",
    "settlement transaction proof",
    "idempotent x402 retry"
  ],
  "updated_at": "2026-08-23",
  "canonical_url": "https://commerce.delx.ai/packs/prove-x402-payment-and-delivery",
  "machine_url": "https://commerce.delx.ai/packs/prove-x402-payment-and-delivery.json",
  "entrypoints": {
    "human": "https://commerce.delx.ai/?q=verify%20an%20x402%20payment%20settlement%20response%20and%20delivered%20result%20without%20exposing%20wallet%20secrets",
    "intent_search": "https://api.delx.ai/api/v1/x402/start?q=verify%20an%20x402%20payment%20settlement%20response%20and%20delivered%20result%20without%20exposing%20wallet%20secrets",
    "graph": "https://commerce.delx.ai/discovery.json"
  },
  "attribution": {
    "header": "x-delx-source",
    "value": "discovery-pack-prove-x402-payment-and-delivery"
  },
  "products": [
    {
      "tool_name": "util_x402_payment_preflight",
      "service_name": "x402 Payment Preflight",
      "category": "api-integration",
      "price_usdc": "0.002",
      "method": "POST",
      "route": "/api/v1/x402/payment-preflight",
      "product_url": "https://commerce.delx.ai/products/util-x402-payment-preflight",
      "intent_url": "https://commerce.delx.ai/intents/x402-payment-preflight-api",
      "machine_url": "https://commerce.delx.ai/intents/x402-payment-preflight-api.json",
      "input_schema": {
        "type": "object",
        "properties": {
          "requirements": {
            "type": "object"
          },
          "max_amount_usdc": {
            "type": "number",
            "minimum": 0
          },
          "allowed_networks": {
            "type": "array",
            "minItems": 1,
            "maxItems": 20,
            "items": {
              "type": "string"
            }
          },
          "asset_decimals": {
            "type": "integer",
            "minimum": 0,
            "maximum": 18,
            "default": 6
          },
          "now_epoch_seconds": {
            "type": "integer",
            "minimum": 0
          },
          "min_expiry_seconds": {
            "type": "integer",
            "minimum": 0,
            "maximum": 86400,
            "default": 30
          }
        },
        "required": [
          "requirements",
          "max_amount_usdc",
          "allowed_networks"
        ],
        "additionalProperties": false
      },
      "example_input": {
        "requirements": {
          "accepts": [
            {
              "scheme": "exact",
              "network": "eip155:8453",
              "amount": "1000",
              "payTo": "0x1111111111111111111111111111111111111111",
              "expires": 1786272600
            }
          ]
        },
        "max_amount_usdc": 0.002,
        "allowed_networks": [
          "eip155:8453"
        ],
        "now_epoch_seconds": 1786272500
      },
      "agentcash_buy": "npx agentcash@latest fetch https://api.delx.ai/api/v1/x402/payment-preflight -m POST -H 'x-delx-source: discovery-pack-prove-x402-payment-and-delivery' --max-amount 0.002 -b '{\"requirements\":{\"accepts\":[{\"scheme\":\"exact\",\"network\":\"eip155:8453\",\"amount\":\"1000\",\"payTo\":\"0x1111111111111111111111111111111111111111\",\"expires\":1786272600}]},\"max_amount_usdc\":0.002,\"allowed_networks\":[\"eip155:8453\"],\"now_epoch_seconds\":1786272500}'"
    },
    {
      "tool_name": "util_x402_response_header_shape",
      "service_name": "X402 Response Header Shape",
      "category": "commercial-operations",
      "price_usdc": "0.001",
      "method": "POST",
      "route": "/api/v1/x402/x402-response-header-shape",
      "product_url": "https://commerce.delx.ai/products/util-x402-response-header-shape",
      "intent_url": "https://commerce.delx.ai/intents/x402-response-header-shape-api",
      "machine_url": "https://commerce.delx.ai/intents/x402-response-header-shape-api.json",
      "input_schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "header": {
            "type": "string",
            "maxLength": 8192,
            "description": "Header supplied to X402 Response Header Shape; used only for this bounded calculation and processed in memory without retention."
          }
        },
        "required": [
          "header"
        ],
        "additionalProperties": false
      },
      "example_input": {
        "header": "eyJzdWNjZXNzIjp0cnVlfQ=="
      },
      "agentcash_buy": "npx agentcash@latest fetch https://api.delx.ai/api/v1/x402/x402-response-header-shape -m POST -H 'x-delx-source: discovery-pack-prove-x402-payment-and-delivery' --max-amount 0.001 -b '{\"header\":\"eyJzdWNjZXNzIjp0cnVlfQ==\"}'"
    },
    {
      "tool_name": "util_x402_settlement_tx_shape",
      "service_name": "X402 Settlement Tx Shape",
      "category": "commercial-operations",
      "price_usdc": "0.001",
      "method": "POST",
      "route": "/api/v1/x402/x402-settlement-tx-shape",
      "product_url": "https://commerce.delx.ai/products/util-x402-settlement-tx-shape",
      "intent_url": "https://commerce.delx.ai/intents/x402-settlement-tx-shape-api",
      "machine_url": "https://commerce.delx.ai/intents/x402-settlement-tx-shape-api.json",
      "input_schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "network": {
            "type": "string",
            "maxLength": 8192,
            "description": "Network supplied to X402 Settlement Tx Shape; used only for this bounded calculation and processed in memory without retention."
          },
          "transaction": {
            "type": "string",
            "maxLength": 8192,
            "description": "Transaction supplied to X402 Settlement Tx Shape; used only for this bounded calculation and processed in memory without retention."
          }
        },
        "required": [
          "network",
          "transaction"
        ],
        "additionalProperties": false
      },
      "example_input": {
        "network": "eip155:8453",
        "transaction": "0xaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
      },
      "agentcash_buy": "npx agentcash@latest fetch https://api.delx.ai/api/v1/x402/x402-settlement-tx-shape -m POST -H 'x-delx-source: discovery-pack-prove-x402-payment-and-delivery' --max-amount 0.001 -b '{\"network\":\"eip155:8453\",\"transaction\":\"0xaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa\"}'"
    },
    {
      "tool_name": "util_x402_delivery_receipt_check",
      "service_name": "X402 Delivery Receipt Check",
      "category": "commercial-operations",
      "price_usdc": "0.001",
      "method": "POST",
      "route": "/api/v1/x402/x402-delivery-receipt-check",
      "product_url": "https://commerce.delx.ai/products/util-x402-delivery-receipt-check",
      "intent_url": "https://commerce.delx.ai/intents/x402-delivery-receipt-check-api",
      "machine_url": "https://commerce.delx.ai/intents/x402-delivery-receipt-check-api.json",
      "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
        }
      },
      "agentcash_buy": "npx agentcash@latest fetch https://api.delx.ai/api/v1/x402/x402-delivery-receipt-check -m POST -H 'x-delx-source: discovery-pack-prove-x402-payment-and-delivery' --max-amount 0.001 -b '{\"receipt\":{\"payment_id\":\"pay-1\",\"resource\":\"https://api.delx.ai/x402/utility/example\",\"amount_raw\":\"1000\",\"delivered\":true}}'"
    },
    {
      "tool_name": "util_x402_delivery_hash_check",
      "service_name": "X402 Delivery Hash Check",
      "category": "commercial-operations",
      "price_usdc": "0.001",
      "method": "POST",
      "route": "/api/v1/x402/x402-delivery-hash-check",
      "product_url": "https://commerce.delx.ai/products/util-x402-delivery-hash-check",
      "intent_url": "https://commerce.delx.ai/intents/x402-delivery-hash-check-api",
      "machine_url": "https://commerce.delx.ai/intents/x402-delivery-hash-check-api.json",
      "input_schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "text": {
            "type": "string",
            "maxLength": 8192,
            "description": "Text supplied to X402 Delivery Hash Check; used only for this bounded calculation and processed in memory without retention."
          },
          "expected_sha256": {
            "type": "string",
            "maxLength": 8192,
            "description": "Expected Sha256 supplied to X402 Delivery Hash Check; used only for this bounded calculation and processed in memory without retention."
          }
        },
        "required": [
          "text",
          "expected_sha256"
        ],
        "additionalProperties": false
      },
      "example_input": {
        "text": "delivered-result",
        "expected_sha256": "7ef67e6a0c33e752d9848702556ca7c63ce63718b2e62b10d1b1d2386e4db0cc"
      },
      "agentcash_buy": "npx agentcash@latest fetch https://api.delx.ai/api/v1/x402/x402-delivery-hash-check -m POST -H 'x-delx-source: discovery-pack-prove-x402-payment-and-delivery' --max-amount 0.001 -b '{\"text\":\"delivered-result\",\"expected_sha256\":\"7ef67e6a0c33e752d9848702556ca7c63ce63718b2e62b10d1b1d2386e4db0cc\"}'"
    },
    {
      "tool_name": "util_x402_idempotency_check",
      "service_name": "X402 Idempotency Check",
      "category": "commercial-operations",
      "price_usdc": "0.001",
      "method": "POST",
      "route": "/api/v1/x402/x402-idempotency-check",
      "product_url": "https://commerce.delx.ai/products/util-x402-idempotency-check",
      "intent_url": "https://commerce.delx.ai/intents/x402-idempotency-check-api",
      "machine_url": "https://commerce.delx.ai/intents/x402-idempotency-check-api.json",
      "input_schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "payment_key": {
            "type": "string",
            "maxLength": 8192,
            "description": "Payment Key supplied to X402 Idempotency Check; used only for this bounded calculation and processed in memory without retention."
          },
          "delivery_key": {
            "type": "string",
            "maxLength": 8192,
            "description": "Delivery Key supplied to X402 Idempotency Check; used only for this bounded calculation and processed in memory without retention."
          }
        },
        "required": [
          "payment_key",
          "delivery_key"
        ],
        "additionalProperties": false
      },
      "example_input": {
        "payment_key": "job-42",
        "delivery_key": "job-42"
      },
      "agentcash_buy": "npx agentcash@latest fetch https://api.delx.ai/api/v1/x402/x402-idempotency-check -m POST -H 'x-delx-source: discovery-pack-prove-x402-payment-and-delivery' --max-amount 0.001 -b '{\"payment_key\":\"job-42\",\"delivery_key\":\"job-42\"}'"
    },
    {
      "tool_name": "util_x402_retry_safety_check",
      "service_name": "X402 Retry Safety Check",
      "category": "commercial-operations",
      "price_usdc": "0.001",
      "method": "POST",
      "route": "/api/v1/x402/x402-retry-safety-check",
      "product_url": "https://commerce.delx.ai/products/util-x402-retry-safety-check",
      "intent_url": "https://commerce.delx.ai/intents/x402-retry-safety-check-api",
      "machine_url": "https://commerce.delx.ai/intents/x402-retry-safety-check-api.json",
      "input_schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "payment_settled": {
            "type": "boolean",
            "description": "Payment Settled supplied to X402 Retry Safety Check; used only for this bounded calculation and processed in memory without retention."
          },
          "delivery_received": {
            "type": "boolean",
            "description": "Delivery Received supplied to X402 Retry Safety Check; used only for this bounded calculation and processed in memory without retention."
          },
          "idempotency_key_present": {
            "type": "boolean",
            "description": "Idempotency Key Present supplied to X402 Retry Safety Check; used only for this bounded calculation and processed in memory without retention."
          }
        },
        "required": [
          "payment_settled",
          "delivery_received",
          "idempotency_key_present"
        ],
        "additionalProperties": false
      },
      "example_input": {
        "payment_settled": false,
        "delivery_received": false,
        "idempotency_key_present": true
      },
      "agentcash_buy": "npx agentcash@latest fetch https://api.delx.ai/api/v1/x402/x402-retry-safety-check -m POST -H 'x-delx-source: discovery-pack-prove-x402-payment-and-delivery' --max-amount 0.001 -b '{\"payment_settled\":false,\"delivery_received\":false,\"idempotency_key_present\":true}'"
    }
  ]
}
