{
  "openapi": "3.1.0",
  "info": {
    "title": "Crypto Software Reference API Contract",
    "version": "0.1.0",
    "description": "Reference contract for enterprise discovery/UAT. Not a claim of a currently public production API."
  },
  "servers": [
    {
      "url": "https://sandbox.example.invalid",
      "description": "Placeholder — replace when an authorized sandbox exists"
    }
  ],
  "paths": {
    "/v1/wallets": {
      "post": {
        "summary": "Create wallet request",
        "responses": {
          "202": {
            "description": "Accepted"
          }
        }
      }
    },
    "/v1/transactions": {
      "post": {
        "summary": "Create transaction request",
        "parameters": [
          {
            "in": "header",
            "name": "Idempotency-Key",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "202": {
            "description": "Accepted"
          }
        }
      }
    },
    "/v1/transactions/{id}": {
      "get": {
        "summary": "Get transaction state",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Transaction state"
          }
        }
      }
    },
    "/v1/orderbook": {
      "get": {
        "summary": "Order-book snapshot contract",
        "responses": {
          "200": {
            "description": "Snapshot"
          }
        }
      }
    }
  }
}