{
  "openapi": "3.0.3",
  "info": {
    "title": "DefaultVerifier for x402",
    "version": "1.0.0",
    "contact": {
      "email": "keith@defaultverifier.com"
    },
    "x-guidance": "Use the POST x402 endpoints to request bounded Settlement Attestation Receipt verification for x402-paid service flows. These endpoints return an x402 v2 payment challenge before processing. DefaultVerifier sits in the evidence path, not the money path: it does not custody, escrow, release, or settle funds and does not prove payment or legal finality."
  },
  "paths": {
    "/x402/settlement-witness": {
      "post": {
        "summary": "DefaultVerifier for x402 provides bounded Settlement Attestation Receipt verification for x402-paid service flows.",
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true,
                "description": "Optional request body. Current non-enforced x402 challenge flow does not require input fields before payment acknowledgement."
              },
              "example": {}
            }
          }
        },
        "responses": {
          "402": {
            "description": "Payment required (x402)"
          },
          "200": {
            "description": "Payment acknowledged (non-enforcing during early adoption).",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                },
                "example": {
                  "status": "payment_acknowledged",
                  "service": "SettlementWitness",
                  "production_endpoint": "https://defaultverifier.com/settlement-witness",
                  "note": "Production endpoint remains non-enforcing during early adoption."
                }
              }
            }
          }
        },
        "x-payment-info": {
          "protocols": [{"x402": {}}],
          "price": {
            "mode": "fixed",
            "currency": "USD",
            "amount": "0.001"
          }
        }
      }
    },
    "/x402/settlement-witness-solana": {
      "post": {
        "summary": "DefaultVerifier for x402 provides bounded Settlement Attestation Receipt verification for x402-paid service flows.",
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true,
                "description": "Optional request body. Current non-enforced x402 challenge flow does not require input fields before payment acknowledgement."
              },
              "example": {}
            }
          }
        },
        "responses": {
          "402": {
            "description": "Payment required (x402)"
          },
          "200": {
            "description": "Payment acknowledged (non-enforcing during early adoption).",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                },
                "example": {
                  "status": "payment_acknowledged",
                  "service": "SettlementWitness",
                  "production_endpoint": "https://defaultverifier.com/settlement-witness",
                  "note": "Production endpoint remains non-enforcing during early adoption."
                }
              }
            }
          }
        },
        "x-payment-info": {
          "protocols": [{"x402": {}}],
          "price": {
            "mode": "fixed",
            "currency": "USD",
            "amount": "0.001"
          }
        }
      }
    }
  }
}
