{
  "openapi": "3.1.0",
  "info": {
    "title": "Azums V2 M30 local developer and support API",
    "version": "0.1.0-m30",
    "description": "Cumulative local/sandbox engineering contract. Illustrative tariffs, source-derived usage, separate balanced company receivables, immutable invoice/credit history and authenticated local PSP evidence. Approved commercial prices, finance signature, approved PSP sandbox and production invoices remain disabled."
  },
  "servers": [
    {
      "url": "http://127.0.0.1:18080"
    },
    {
      "url": "http://127.0.0.1:18090",
      "description": "Independent sandbox; separate session cookie and data"
    }
  ],
  "paths": {
    "/v1/auth/register": {
      "post": {
        "summary": "Create local-fixture account and limited pre-MFA session",
        "operationId": "post_v1_auth_register",
        "responses": {
          "201": {
            "description": "Successful sandbox operation",
            "headers": {
              "X-Request-ID": {
                "schema": {
                  "type": "string",
                  "format": "uuid"
                }
              },
              "Cache-Control": {
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Envelope"
                }
              }
            }
          },
          "default": {
            "description": "Bounded problem response. 401 invalid/expired credential; 403 missing MFA, role/scope, production denial or CSRF; 404 foreign/missing object; 409 conflict; 429 rate limited; 503 persistence unavailable.",
            "headers": {
              "X-Request-ID": {
                "schema": {
                  "type": "string",
                  "format": "uuid"
                }
              },
              "Cache-Control": {
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              }
            }
          }
        },
        "security": [],
        "parameters": [
          {
            "name": "X-Azums-CSRF",
            "in": "header",
            "description": "Required for browser/password-session mutations; value 1. Bearer-key clients do not require it.",
            "schema": {
              "type": "string",
              "enum": [
                "1"
              ]
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Register"
              }
            }
          }
        }
      }
    },
    "/v1/auth/login": {
      "post": {
        "summary": "Password authentication; MFA still required",
        "operationId": "post_v1_auth_login",
        "responses": {
          "200": {
            "description": "Successful sandbox operation",
            "headers": {
              "X-Request-ID": {
                "schema": {
                  "type": "string",
                  "format": "uuid"
                }
              },
              "Cache-Control": {
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Envelope"
                }
              }
            }
          },
          "default": {
            "description": "Bounded problem response. 401 invalid/expired credential; 403 missing MFA, role/scope, production denial or CSRF; 404 foreign/missing object; 409 conflict; 429 rate limited; 503 persistence unavailable.",
            "headers": {
              "X-Request-ID": {
                "schema": {
                  "type": "string",
                  "format": "uuid"
                }
              },
              "Cache-Control": {
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              }
            }
          }
        },
        "security": [],
        "parameters": [
          {
            "name": "X-Azums-CSRF",
            "in": "header",
            "description": "Required for browser/password-session mutations; value 1. Bearer-key clients do not require it.",
            "schema": {
              "type": "string",
              "enum": [
                "1"
              ]
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Login"
              }
            }
          }
        }
      }
    },
    "/v1/auth/logout": {
      "post": {
        "summary": "Immediately revoke current session",
        "operationId": "post_v1_auth_logout",
        "responses": {
          "200": {
            "description": "Successful sandbox operation",
            "headers": {
              "X-Request-ID": {
                "schema": {
                  "type": "string",
                  "format": "uuid"
                }
              },
              "Cache-Control": {
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Envelope"
                }
              }
            }
          },
          "default": {
            "description": "Bounded problem response. 401 invalid/expired credential; 403 missing MFA, role/scope, production denial or CSRF; 404 foreign/missing object; 409 conflict; 429 rate limited; 503 persistence unavailable.",
            "headers": {
              "X-Request-ID": {
                "schema": {
                  "type": "string",
                  "format": "uuid"
                }
              },
              "Cache-Control": {
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              }
            }
          }
        },
        "security": [
          {
            "sessionCookie": []
          },
          {
            "SandboxSession": []
          }
        ],
        "parameters": [
          {
            "name": "X-Azums-CSRF",
            "in": "header",
            "description": "Required for browser/password-session mutations; value 1. Bearer-key clients do not require it.",
            "schema": {
              "type": "string",
              "enum": [
                "1"
              ]
            }
          }
        ]
      }
    },
    "/v1/auth/verify-email": {
      "post": {
        "summary": "Consume local verification token; does not certify real mail delivery",
        "operationId": "post_v1_auth_verify-email",
        "responses": {
          "200": {
            "description": "Successful sandbox operation",
            "headers": {
              "X-Request-ID": {
                "schema": {
                  "type": "string",
                  "format": "uuid"
                }
              },
              "Cache-Control": {
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Envelope"
                }
              }
            }
          },
          "default": {
            "description": "Bounded problem response. 401 invalid/expired credential; 403 missing MFA, role/scope, production denial or CSRF; 404 foreign/missing object; 409 conflict; 429 rate limited; 503 persistence unavailable.",
            "headers": {
              "X-Request-ID": {
                "schema": {
                  "type": "string",
                  "format": "uuid"
                }
              },
              "Cache-Control": {
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              }
            }
          }
        },
        "security": [
          {
            "sessionCookie": []
          },
          {
            "SandboxSession": []
          }
        ],
        "parameters": [
          {
            "name": "X-Azums-CSRF",
            "in": "header",
            "description": "Required for browser/password-session mutations; value 1. Bearer-key clients do not require it.",
            "schema": {
              "type": "string",
              "enum": [
                "1"
              ]
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Token"
              }
            }
          }
        }
      }
    },
    "/v1/auth/resend-verification": {
      "post": {
        "summary": "Replace local verification challenge",
        "operationId": "post_v1_auth_resend-verification",
        "responses": {
          "200": {
            "description": "Successful sandbox operation",
            "headers": {
              "X-Request-ID": {
                "schema": {
                  "type": "string",
                  "format": "uuid"
                }
              },
              "Cache-Control": {
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Envelope"
                }
              }
            }
          },
          "default": {
            "description": "Bounded problem response. 401 invalid/expired credential; 403 missing MFA, role/scope, production denial or CSRF; 404 foreign/missing object; 409 conflict; 429 rate limited; 503 persistence unavailable.",
            "headers": {
              "X-Request-ID": {
                "schema": {
                  "type": "string",
                  "format": "uuid"
                }
              },
              "Cache-Control": {
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              }
            }
          }
        },
        "security": [
          {
            "sessionCookie": []
          },
          {
            "SandboxSession": []
          }
        ],
        "parameters": [
          {
            "name": "X-Azums-CSRF",
            "in": "header",
            "description": "Required for browser/password-session mutations; value 1. Bearer-key clients do not require it.",
            "schema": {
              "type": "string",
              "enum": [
                "1"
              ]
            }
          }
        ]
      }
    },
    "/v1/auth/mfa/enroll": {
      "post": {
        "summary": "Return a new pending authenticator seed once",
        "operationId": "post_v1_auth_mfa_enroll",
        "responses": {
          "200": {
            "description": "Successful sandbox operation",
            "headers": {
              "X-Request-ID": {
                "schema": {
                  "type": "string",
                  "format": "uuid"
                }
              },
              "Cache-Control": {
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Envelope"
                }
              }
            }
          },
          "default": {
            "description": "Bounded problem response. 401 invalid/expired credential; 403 missing MFA, role/scope, production denial or CSRF; 404 foreign/missing object; 409 conflict; 429 rate limited; 503 persistence unavailable.",
            "headers": {
              "X-Request-ID": {
                "schema": {
                  "type": "string",
                  "format": "uuid"
                }
              },
              "Cache-Control": {
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              }
            }
          }
        },
        "security": [
          {
            "sessionCookie": []
          },
          {
            "SandboxSession": []
          }
        ],
        "parameters": [
          {
            "name": "X-Azums-CSRF",
            "in": "header",
            "description": "Required for browser/password-session mutations; value 1. Bearer-key clients do not require it.",
            "schema": {
              "type": "string",
              "enum": [
                "1"
              ]
            }
          }
        ]
      }
    },
    "/v1/auth/mfa/confirm": {
      "post": {
        "summary": "Confirm enrollment and return one-time recovery codes",
        "operationId": "post_v1_auth_mfa_confirm",
        "responses": {
          "200": {
            "description": "Successful sandbox operation",
            "headers": {
              "X-Request-ID": {
                "schema": {
                  "type": "string",
                  "format": "uuid"
                }
              },
              "Cache-Control": {
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Envelope"
                }
              }
            }
          },
          "default": {
            "description": "Bounded problem response. 401 invalid/expired credential; 403 missing MFA, role/scope, production denial or CSRF; 404 foreign/missing object; 409 conflict; 429 rate limited; 503 persistence unavailable.",
            "headers": {
              "X-Request-ID": {
                "schema": {
                  "type": "string",
                  "format": "uuid"
                }
              },
              "Cache-Control": {
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              }
            }
          }
        },
        "security": [
          {
            "sessionCookie": []
          },
          {
            "SandboxSession": []
          }
        ],
        "parameters": [
          {
            "name": "X-Azums-CSRF",
            "in": "header",
            "description": "Required for browser/password-session mutations; value 1. Bearer-key clients do not require it.",
            "schema": {
              "type": "string",
              "enum": [
                "1"
              ]
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/EnrollmentConfirm"
              }
            }
          }
        }
      }
    },
    "/v1/auth/mfa/verify": {
      "post": {
        "summary": "Verify a fresh OTP or consume one recovery code and rotate the session",
        "operationId": "post_v1_auth_mfa_verify",
        "responses": {
          "200": {
            "description": "Successful sandbox operation",
            "headers": {
              "X-Request-ID": {
                "schema": {
                  "type": "string",
                  "format": "uuid"
                }
              },
              "Cache-Control": {
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Envelope"
                }
              }
            }
          },
          "default": {
            "description": "Bounded problem response. 401 invalid/expired credential; 403 missing MFA, role/scope, production denial or CSRF; 404 foreign/missing object; 409 conflict; 429 rate limited; 503 persistence unavailable.",
            "headers": {
              "X-Request-ID": {
                "schema": {
                  "type": "string",
                  "format": "uuid"
                }
              },
              "Cache-Control": {
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              }
            }
          }
        },
        "security": [
          {
            "sessionCookie": []
          },
          {
            "SandboxSession": []
          }
        ],
        "parameters": [
          {
            "name": "X-Azums-CSRF",
            "in": "header",
            "description": "Required for browser/password-session mutations; value 1. Bearer-key clients do not require it.",
            "schema": {
              "type": "string",
              "enum": [
                "1"
              ]
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/MfaCode"
              }
            }
          }
        }
      }
    },
    "/v1/auth/me": {
      "get": {
        "summary": "Own account state; organizations hidden until MFA",
        "operationId": "get_v1_auth_me",
        "responses": {
          "200": {
            "description": "Successful sandbox operation",
            "headers": {
              "X-Request-ID": {
                "schema": {
                  "type": "string",
                  "format": "uuid"
                }
              },
              "Cache-Control": {
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Envelope"
                }
              }
            }
          },
          "default": {
            "description": "Bounded problem response. 401 invalid/expired credential; 403 missing MFA, role/scope, production denial or CSRF; 404 foreign/missing object; 409 conflict; 429 rate limited; 503 persistence unavailable.",
            "headers": {
              "X-Request-ID": {
                "schema": {
                  "type": "string",
                  "format": "uuid"
                }
              },
              "Cache-Control": {
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              }
            }
          }
        },
        "security": [
          {
            "sessionCookie": []
          },
          {
            "SandboxSession": []
          }
        ],
        "parameters": []
      }
    },
    "/v1/organizations": {
      "get": {
        "summary": "List only active memberships after verified email/MFA",
        "operationId": "get_v1_organizations",
        "responses": {
          "200": {
            "description": "Successful sandbox operation",
            "headers": {
              "X-Request-ID": {
                "schema": {
                  "type": "string",
                  "format": "uuid"
                }
              },
              "Cache-Control": {
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Envelope"
                }
              }
            }
          },
          "default": {
            "description": "Bounded problem response. 401 invalid/expired credential; 403 missing MFA, role/scope, production denial or CSRF; 404 foreign/missing object; 409 conflict; 429 rate limited; 503 persistence unavailable.",
            "headers": {
              "X-Request-ID": {
                "schema": {
                  "type": "string",
                  "format": "uuid"
                }
              },
              "Cache-Control": {
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              }
            }
          }
        },
        "security": [
          {
            "sessionCookie": []
          },
          {
            "SandboxSession": []
          }
        ],
        "parameters": []
      },
      "post": {
        "summary": "Create sandbox organization with pending legal status",
        "operationId": "post_v1_organizations",
        "responses": {
          "201": {
            "description": "Successful sandbox operation",
            "headers": {
              "X-Request-ID": {
                "schema": {
                  "type": "string",
                  "format": "uuid"
                }
              },
              "Cache-Control": {
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Envelope"
                }
              }
            }
          },
          "default": {
            "description": "Bounded problem response. 401 invalid/expired credential; 403 missing MFA, role/scope, production denial or CSRF; 404 foreign/missing object; 409 conflict; 429 rate limited; 503 persistence unavailable.",
            "headers": {
              "X-Request-ID": {
                "schema": {
                  "type": "string",
                  "format": "uuid"
                }
              },
              "Cache-Control": {
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              }
            }
          }
        },
        "security": [
          {
            "sessionCookie": []
          },
          {
            "SandboxSession": []
          }
        ],
        "parameters": [
          {
            "name": "X-Azums-CSRF",
            "in": "header",
            "description": "Required for browser/password-session mutations; value 1. Bearer-key clients do not require it.",
            "schema": {
              "type": "string",
              "enum": [
                "1"
              ]
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/OrganizationCreate"
              }
            }
          }
        }
      }
    },
    "/v1/invitations/accept": {
      "post": {
        "summary": "Accept only the verified recipient?s unexpired invitation",
        "operationId": "post_v1_invitations_accept",
        "responses": {
          "200": {
            "description": "Successful sandbox operation",
            "headers": {
              "X-Request-ID": {
                "schema": {
                  "type": "string",
                  "format": "uuid"
                }
              },
              "Cache-Control": {
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Envelope"
                }
              }
            }
          },
          "default": {
            "description": "Bounded problem response. 401 invalid/expired credential; 403 missing MFA, role/scope, production denial or CSRF; 404 foreign/missing object; 409 conflict; 429 rate limited; 503 persistence unavailable.",
            "headers": {
              "X-Request-ID": {
                "schema": {
                  "type": "string",
                  "format": "uuid"
                }
              },
              "Cache-Control": {
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              }
            }
          }
        },
        "security": [
          {
            "sessionCookie": []
          },
          {
            "SandboxSession": []
          }
        ],
        "parameters": [
          {
            "name": "X-Azums-CSRF",
            "in": "header",
            "description": "Required for browser/password-session mutations; value 1. Bearer-key clients do not require it.",
            "schema": {
              "type": "string",
              "enum": [
                "1"
              ]
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Token"
              }
            }
          }
        }
      }
    },
    "/v1/organizations/{org}": {
      "get": {
        "summary": "Read authorized organization metadata",
        "operationId": "get_v1_organizations_org",
        "responses": {
          "200": {
            "description": "Successful sandbox operation",
            "headers": {
              "X-Request-ID": {
                "schema": {
                  "type": "string",
                  "format": "uuid"
                }
              },
              "Cache-Control": {
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Envelope"
                }
              }
            }
          },
          "default": {
            "description": "Bounded problem response. 401 invalid/expired credential; 403 missing MFA, role/scope, production denial or CSRF; 404 foreign/missing object; 409 conflict; 429 rate limited; 503 persistence unavailable.",
            "headers": {
              "X-Request-ID": {
                "schema": {
                  "type": "string",
                  "format": "uuid"
                }
              },
              "Cache-Control": {
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              }
            }
          }
        },
        "security": [
          {
            "sessionCookie": []
          },
          {
            "sandboxKey": []
          },
          {
            "SandboxSession": []
          }
        ],
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ]
      }
    },
    "/v1/organizations/{org}/members": {
      "get": {
        "summary": "List own organization members",
        "operationId": "get_v1_organizations_org_members",
        "responses": {
          "200": {
            "description": "Successful sandbox operation",
            "headers": {
              "X-Request-ID": {
                "schema": {
                  "type": "string",
                  "format": "uuid"
                }
              },
              "Cache-Control": {
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Envelope"
                }
              }
            }
          },
          "default": {
            "description": "Bounded problem response. 401 invalid/expired credential; 403 missing MFA, role/scope, production denial or CSRF; 404 foreign/missing object; 409 conflict; 429 rate limited; 503 persistence unavailable.",
            "headers": {
              "X-Request-ID": {
                "schema": {
                  "type": "string",
                  "format": "uuid"
                }
              },
              "Cache-Control": {
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              }
            }
          }
        },
        "security": [
          {
            "sessionCookie": []
          },
          {
            "sandboxKey": []
          },
          {
            "SandboxSession": []
          }
        ],
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ]
      }
    },
    "/v1/organizations/{org}/members/{member}": {
      "patch": {
        "summary": "Change a non-owner membership; owner/admin policy applies",
        "operationId": "patch_v1_organizations_org_members_member",
        "responses": {
          "200": {
            "description": "Successful sandbox operation",
            "headers": {
              "X-Request-ID": {
                "schema": {
                  "type": "string",
                  "format": "uuid"
                }
              },
              "Cache-Control": {
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Envelope"
                }
              }
            }
          },
          "default": {
            "description": "Bounded problem response. 401 invalid/expired credential; 403 missing MFA, role/scope, production denial or CSRF; 404 foreign/missing object; 409 conflict; 429 rate limited; 503 persistence unavailable.",
            "headers": {
              "X-Request-ID": {
                "schema": {
                  "type": "string",
                  "format": "uuid"
                }
              },
              "Cache-Control": {
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              }
            }
          }
        },
        "security": [
          {
            "sessionCookie": []
          },
          {
            "SandboxSession": []
          }
        ],
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "member",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "X-Azums-CSRF",
            "in": "header",
            "description": "Required for browser/password-session mutations; value 1. Bearer-key clients do not require it.",
            "schema": {
              "type": "string",
              "enum": [
                "1"
              ]
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/MemberChange"
              }
            }
          }
        }
      }
    },
    "/v1/organizations/{org}/invitations": {
      "post": {
        "summary": "Create recipient-bound local-fixture invitation",
        "operationId": "post_v1_organizations_org_invitations",
        "responses": {
          "201": {
            "description": "Successful sandbox operation",
            "headers": {
              "X-Request-ID": {
                "schema": {
                  "type": "string",
                  "format": "uuid"
                }
              },
              "Cache-Control": {
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Envelope"
                }
              }
            }
          },
          "default": {
            "description": "Bounded problem response. 401 invalid/expired credential; 403 missing MFA, role/scope, production denial or CSRF; 404 foreign/missing object; 409 conflict; 429 rate limited; 503 persistence unavailable.",
            "headers": {
              "X-Request-ID": {
                "schema": {
                  "type": "string",
                  "format": "uuid"
                }
              },
              "Cache-Control": {
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              }
            }
          }
        },
        "security": [
          {
            "sessionCookie": []
          },
          {
            "SandboxSession": []
          }
        ],
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "X-Azums-CSRF",
            "in": "header",
            "description": "Required for browser/password-session mutations; value 1. Bearer-key clients do not require it.",
            "schema": {
              "type": "string",
              "enum": [
                "1"
              ]
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/InvitationCreate"
              }
            }
          }
        }
      }
    },
    "/v1/organizations/{org}/keys": {
      "get": {
        "summary": "List permitted key metadata, never full secrets",
        "operationId": "get_v1_organizations_org_keys",
        "responses": {
          "200": {
            "description": "Successful sandbox operation",
            "headers": {
              "X-Request-ID": {
                "schema": {
                  "type": "string",
                  "format": "uuid"
                }
              },
              "Cache-Control": {
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Envelope"
                }
              }
            }
          },
          "default": {
            "description": "Bounded problem response. 401 invalid/expired credential; 403 missing MFA, role/scope, production denial or CSRF; 404 foreign/missing object; 409 conflict; 429 rate limited; 503 persistence unavailable.",
            "headers": {
              "X-Request-ID": {
                "schema": {
                  "type": "string",
                  "format": "uuid"
                }
              },
              "Cache-Control": {
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              }
            }
          }
        },
        "security": [
          {
            "sessionCookie": []
          },
          {
            "SandboxSession": []
          }
        ],
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ]
      },
      "post": {
        "summary": "Issue a sandbox key no broader than current role",
        "operationId": "post_v1_organizations_org_keys",
        "responses": {
          "201": {
            "description": "One-time credential",
            "headers": {
              "X-Request-ID": {
                "schema": {
                  "type": "string",
                  "format": "uuid"
                }
              },
              "Cache-Control": {
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OneTimeKey"
                }
              }
            }
          },
          "default": {
            "description": "Bounded problem response. 401 invalid/expired credential; 403 missing MFA, role/scope, production denial or CSRF; 404 foreign/missing object; 409 conflict; 429 rate limited; 503 persistence unavailable.",
            "headers": {
              "X-Request-ID": {
                "schema": {
                  "type": "string",
                  "format": "uuid"
                }
              },
              "Cache-Control": {
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              }
            }
          }
        },
        "security": [
          {
            "sessionCookie": []
          },
          {
            "SandboxSession": []
          }
        ],
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "X-Azums-CSRF",
            "in": "header",
            "description": "Required for browser/password-session mutations; value 1. Bearer-key clients do not require it.",
            "schema": {
              "type": "string",
              "enum": [
                "1"
              ]
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/KeyCreate"
              }
            }
          }
        }
      }
    },
    "/v1/organizations/{org}/keys/{key}": {
      "delete": {
        "summary": "Revoke immediately; repeated revocation is idempotent",
        "operationId": "delete_v1_organizations_org_keys_key",
        "responses": {
          "200": {
            "description": "Successful sandbox operation",
            "headers": {
              "X-Request-ID": {
                "schema": {
                  "type": "string",
                  "format": "uuid"
                }
              },
              "Cache-Control": {
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Envelope"
                }
              }
            }
          },
          "default": {
            "description": "Bounded problem response. 401 invalid/expired credential; 403 missing MFA, role/scope, production denial or CSRF; 404 foreign/missing object; 409 conflict; 429 rate limited; 503 persistence unavailable.",
            "headers": {
              "X-Request-ID": {
                "schema": {
                  "type": "string",
                  "format": "uuid"
                }
              },
              "Cache-Control": {
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              }
            }
          }
        },
        "security": [
          {
            "sessionCookie": []
          },
          {
            "SandboxSession": []
          }
        ],
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "key",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "X-Azums-CSRF",
            "in": "header",
            "description": "Required for browser/password-session mutations; value 1. Bearer-key clients do not require it.",
            "schema": {
              "type": "string",
              "enum": [
                "1"
              ]
            }
          }
        ]
      }
    },
    "/v1/organizations/{org}/keys/{key}/rotate": {
      "post": {
        "summary": "Atomically replace an unexpired key, preserving expiry",
        "operationId": "post_v1_organizations_org_keys_key_rotate",
        "responses": {
          "201": {
            "description": "One-time credential",
            "headers": {
              "X-Request-ID": {
                "schema": {
                  "type": "string",
                  "format": "uuid"
                }
              },
              "Cache-Control": {
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OneTimeKey"
                }
              }
            }
          },
          "default": {
            "description": "Bounded problem response. 401 invalid/expired credential; 403 missing MFA, role/scope, production denial or CSRF; 404 foreign/missing object; 409 conflict; 429 rate limited; 503 persistence unavailable.",
            "headers": {
              "X-Request-ID": {
                "schema": {
                  "type": "string",
                  "format": "uuid"
                }
              },
              "Cache-Control": {
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              }
            }
          }
        },
        "security": [
          {
            "sessionCookie": []
          },
          {
            "SandboxSession": []
          }
        ],
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "key",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "X-Azums-CSRF",
            "in": "header",
            "description": "Required for browser/password-session mutations; value 1. Bearer-key clients do not require it.",
            "schema": {
              "type": "string",
              "enum": [
                "1"
              ]
            }
          }
        ]
      }
    },
    "/v1/organizations/{org}/audit": {
      "get": {
        "summary": "Latest 100 tenant audit events",
        "operationId": "get_v1_organizations_org_audit",
        "responses": {
          "200": {
            "description": "Successful sandbox operation",
            "headers": {
              "X-Request-ID": {
                "schema": {
                  "type": "string",
                  "format": "uuid"
                }
              },
              "Cache-Control": {
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Envelope"
                }
              }
            }
          },
          "default": {
            "description": "Bounded problem response. 401 invalid/expired credential; 403 missing MFA, role/scope, production denial or CSRF; 404 foreign/missing object; 409 conflict; 429 rate limited; 503 persistence unavailable.",
            "headers": {
              "X-Request-ID": {
                "schema": {
                  "type": "string",
                  "format": "uuid"
                }
              },
              "Cache-Control": {
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              }
            }
          }
        },
        "security": [
          {
            "sessionCookie": []
          },
          {
            "sandboxKey": []
          },
          {
            "SandboxSession": []
          }
        ],
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ]
      }
    },
    "/v1/organizations/{org}/sandbox/jobs": {
      "get": {
        "summary": "Latest 50 own-tenant diagnostic jobs",
        "operationId": "get_v1_organizations_org_sandbox_jobs",
        "responses": {
          "200": {
            "description": "Successful sandbox operation",
            "headers": {
              "X-Request-ID": {
                "schema": {
                  "type": "string",
                  "format": "uuid"
                }
              },
              "Cache-Control": {
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Envelope"
                }
              }
            }
          },
          "default": {
            "description": "Bounded problem response. 401 invalid/expired credential; 403 missing MFA, role/scope, production denial or CSRF; 404 foreign/missing object; 409 conflict; 429 rate limited; 503 persistence unavailable.",
            "headers": {
              "X-Request-ID": {
                "schema": {
                  "type": "string",
                  "format": "uuid"
                }
              },
              "Cache-Control": {
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              }
            }
          }
        },
        "security": [
          {
            "sessionCookie": []
          },
          {
            "sandboxKey": []
          },
          {
            "SandboxSession": []
          }
        ],
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ]
      },
      "post": {
        "summary": "Durable tenant diagnostic; Base USDT and process crashes rejected",
        "operationId": "post_v1_organizations_org_sandbox_jobs",
        "responses": {
          "202": {
            "description": "Successful sandbox operation",
            "headers": {
              "X-Request-ID": {
                "schema": {
                  "type": "string",
                  "format": "uuid"
                }
              },
              "Cache-Control": {
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Envelope"
                }
              }
            }
          },
          "default": {
            "description": "Bounded problem response. 401 invalid/expired credential; 403 missing MFA, role/scope, production denial or CSRF; 404 foreign/missing object; 409 conflict; 429 rate limited; 503 persistence unavailable.",
            "headers": {
              "X-Request-ID": {
                "schema": {
                  "type": "string",
                  "format": "uuid"
                }
              },
              "Cache-Control": {
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              }
            }
          }
        },
        "security": [
          {
            "sessionCookie": []
          },
          {
            "sandboxKey": []
          },
          {
            "SandboxSession": []
          }
        ],
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "X-Azums-CSRF",
            "in": "header",
            "description": "Required for browser/password-session mutations; value 1. Bearer-key clients do not require it.",
            "schema": {
              "type": "string",
              "enum": [
                "1"
              ]
            }
          },
          {
            "name": "Idempotency-Key",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string",
              "pattern": "^[A-Za-z0-9_.-]{1,128}$"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/DiagnosticRequest"
              }
            }
          }
        }
      }
    },
    "/v1/organizations/{org}/sandbox/jobs/{job}": {
      "get": {
        "summary": "Read a job only within its authorized organization",
        "operationId": "get_v1_organizations_org_sandbox_jobs_job",
        "responses": {
          "200": {
            "description": "Successful sandbox operation",
            "headers": {
              "X-Request-ID": {
                "schema": {
                  "type": "string",
                  "format": "uuid"
                }
              },
              "Cache-Control": {
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Envelope"
                }
              }
            }
          },
          "default": {
            "description": "Bounded problem response. 401 invalid/expired credential; 403 missing MFA, role/scope, production denial or CSRF; 404 foreign/missing object; 409 conflict; 429 rate limited; 503 persistence unavailable.",
            "headers": {
              "X-Request-ID": {
                "schema": {
                  "type": "string",
                  "format": "uuid"
                }
              },
              "Cache-Control": {
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              }
            }
          }
        },
        "security": [
          {
            "sessionCookie": []
          },
          {
            "sandboxKey": []
          },
          {
            "SandboxSession": []
          }
        ],
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "job",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ]
      }
    },
    "/v1/organizations/{org}/production/activate": {
      "post": {
        "summary": "Always deny live activation; authenticated authorized active members generate a committed denial audit event",
        "operationId": "post_v1_organizations_org_production_activate",
        "responses": {
          "403": {
            "description": "Production activation is disabled",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              }
            }
          }
        },
        "security": [
          {
            "sessionCookie": []
          },
          {
            "SandboxSession": []
          }
        ],
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "X-Azums-CSRF",
            "in": "header",
            "description": "Required for browser/password-session mutations; value 1. Bearer-key clients do not require it.",
            "schema": {
              "type": "string",
              "enum": [
                "1"
              ]
            }
          }
        ]
      }
    },
    "/v1/organizations/{org}/onboarding": {
      "get": {
        "summary": "Read declared profile, current revision, fixture KYB, unpriced catalog, action permissions and always-blocked live eligibility",
        "operationId": "get_v1_organizations_org_onboarding",
        "responses": {
          "200": {
            "description": "Successful sandbox operation",
            "headers": {
              "X-Request-ID": {
                "schema": {
                  "type": "string",
                  "format": "uuid"
                }
              },
              "Cache-Control": {
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Envelope"
                }
              }
            }
          },
          "default": {
            "description": "Bounded problem response. 401 invalid/expired credential; 403 missing MFA, role/scope, production denial or CSRF; 404 foreign/missing object; 409 conflict; 429 rate limited; 503 persistence unavailable.",
            "headers": {
              "X-Request-ID": {
                "schema": {
                  "type": "string",
                  "format": "uuid"
                }
              },
              "Cache-Control": {
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              }
            }
          }
        },
        "security": [
          {
            "sessionCookie": []
          },
          {
            "sandboxKey": []
          },
          {
            "SandboxSession": []
          }
        ],
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ]
      }
    },
    "/v1/organizations/{org}/onboarding/profile": {
      "patch": {
        "summary": "Save a declaration and invalidate current review; owner/admin MFA sessions only",
        "operationId": "patch_v1_organizations_org_onboarding_profile",
        "responses": {
          "200": {
            "description": "Successful sandbox operation",
            "headers": {
              "X-Request-ID": {
                "schema": {
                  "type": "string",
                  "format": "uuid"
                }
              },
              "Cache-Control": {
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Envelope"
                }
              }
            }
          },
          "default": {
            "description": "Bounded problem response. 401 invalid/expired credential; 403 missing MFA, role/scope, production denial or CSRF; 404 foreign/missing object; 409 conflict; 429 rate limited; 503 persistence unavailable.",
            "headers": {
              "X-Request-ID": {
                "schema": {
                  "type": "string",
                  "format": "uuid"
                }
              },
              "Cache-Control": {
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              }
            }
          }
        },
        "security": [
          {
            "sessionCookie": []
          },
          {
            "SandboxSession": []
          }
        ],
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "X-Azums-CSRF",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string",
              "const": "1"
            },
            "description": "Onboarding writes require a verified MFA user session. Service API keys cannot perform them."
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/BusinessDeclaration"
              }
            }
          }
        }
      }
    },
    "/v1/organizations/{org}/onboarding/plan": {
      "put": {
        "summary": "Select an unpriced sandbox profile; owner/admin/finance MFA sessions only",
        "operationId": "put_v1_organizations_org_onboarding_plan",
        "responses": {
          "200": {
            "description": "Successful sandbox operation",
            "headers": {
              "X-Request-ID": {
                "schema": {
                  "type": "string",
                  "format": "uuid"
                }
              },
              "Cache-Control": {
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Envelope"
                }
              }
            }
          },
          "default": {
            "description": "Bounded problem response. 401 invalid/expired credential; 403 missing MFA, role/scope, production denial or CSRF; 404 foreign/missing object; 409 conflict; 429 rate limited; 503 persistence unavailable.",
            "headers": {
              "X-Request-ID": {
                "schema": {
                  "type": "string",
                  "format": "uuid"
                }
              },
              "Cache-Control": {
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              }
            }
          }
        },
        "security": [
          {
            "sessionCookie": []
          },
          {
            "SandboxSession": []
          }
        ],
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "X-Azums-CSRF",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string",
              "const": "1"
            },
            "description": "Onboarding writes require a verified MFA user session. Service API keys cannot perform them."
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SandboxPlanSelection"
              }
            }
          }
        }
      }
    },
    "/v1/organizations/{org}/onboarding/kyb": {
      "get": {
        "summary": "List up to 20 organization-scoped immutable submission snapshots and fixture review statuses",
        "operationId": "get_v1_organizations_org_onboarding_kyb",
        "responses": {
          "200": {
            "description": "Successful sandbox operation",
            "headers": {
              "X-Request-ID": {
                "schema": {
                  "type": "string",
                  "format": "uuid"
                }
              },
              "Cache-Control": {
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Envelope"
                }
              }
            }
          },
          "default": {
            "description": "Bounded problem response. 401 invalid/expired credential; 403 missing MFA, role/scope, production denial or CSRF; 404 foreign/missing object; 409 conflict; 429 rate limited; 503 persistence unavailable.",
            "headers": {
              "X-Request-ID": {
                "schema": {
                  "type": "string",
                  "format": "uuid"
                }
              },
              "Cache-Control": {
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              }
            }
          }
        },
        "security": [
          {
            "sessionCookie": []
          },
          {
            "sandboxKey": []
          },
          {
            "SandboxSession": []
          }
        ],
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ]
      },
      "post": {
        "summary": "Submit a current declaration to the sandbox fixture; owner/admin MFA sessions only",
        "operationId": "post_v1_organizations_org_onboarding_kyb",
        "responses": {
          "default": {
            "description": "Bounded problem response. 401 invalid/expired credential; 403 missing MFA, role/scope, production denial or CSRF; 404 foreign/missing object; 409 conflict; 429 rate limited; 503 persistence unavailable.",
            "headers": {
              "X-Request-ID": {
                "schema": {
                  "type": "string",
                  "format": "uuid"
                }
              },
              "Cache-Control": {
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              }
            }
          },
          "201": {
            "description": "Successful sandbox operation",
            "headers": {
              "X-Request-ID": {
                "schema": {
                  "type": "string",
                  "format": "uuid"
                }
              },
              "Cache-Control": {
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Envelope"
                }
              }
            }
          }
        },
        "security": [
          {
            "sessionCookie": []
          },
          {
            "SandboxSession": []
          }
        ],
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "X-Azums-CSRF",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string",
              "const": "1"
            },
            "description": "Onboarding writes require a verified MFA user session. Service API keys cannot perform them."
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/KybSubmission"
              }
            }
          }
        }
      }
    },
    "/v1/organizations/{org}/onboarding/kyb/{submission}": {
      "get": {
        "summary": "Read one submission only within its authorized organization",
        "operationId": "get_v1_organizations_org_onboarding_kyb_submission",
        "responses": {
          "200": {
            "description": "Successful sandbox operation",
            "headers": {
              "X-Request-ID": {
                "schema": {
                  "type": "string",
                  "format": "uuid"
                }
              },
              "Cache-Control": {
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Envelope"
                }
              }
            }
          },
          "default": {
            "description": "Bounded problem response. 401 invalid/expired credential; 403 missing MFA, role/scope, production denial or CSRF; 404 foreign/missing object; 409 conflict; 429 rate limited; 503 persistence unavailable.",
            "headers": {
              "X-Request-ID": {
                "schema": {
                  "type": "string",
                  "format": "uuid"
                }
              },
              "Cache-Control": {
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              }
            }
          }
        },
        "security": [
          {
            "sessionCookie": []
          },
          {
            "sandboxKey": []
          },
          {
            "SandboxSession": []
          }
        ],
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "submission",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ]
      }
    },
    "/v1/organizations/{org}/registry": {
      "get": {
        "summary": "GET exact registry",
        "operationId": "get__v1_organizations_org_registry",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "security": [
          {
            "sessionCookie": []
          },
          {
            "sandboxKey": []
          },
          {
            "SandboxSession": []
          }
        ],
        "responses": {
          "200": {
            "description": "Local registry response with server-owned request_id; source report is fixture metadata, never payment verification"
          },
          "400": {
            "description": "Strict identity, version, amount or fixture scenario validation failed"
          },
          "401": {
            "description": "Authentication required"
          },
          "403": {
            "description": "Insufficient scope/current role or MFA"
          },
          "404": {
            "description": "Tenant or source-check object inaccessible"
          },
          "429": {
            "description": "Rate limit"
          },
          "503": {
            "description": "Persistence unavailable"
          }
        }
      }
    },
    "/v1/organizations/{org}/registry/resolve": {
      "post": {
        "summary": "POST exact registry/resolve",
        "operationId": "post__v1_organizations_org_registry_resolve",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "X-Azums-CSRF",
            "in": "header",
            "schema": {
              "const": "1"
            },
            "description": "Required for cookie-authenticated writes; scoped Bearer credentials use their existing flow."
          }
        ],
        "security": [
          {
            "sessionCookie": []
          },
          {
            "sandboxKey": []
          },
          {
            "SandboxSession": []
          }
        ],
        "responses": {
          "200": {
            "description": "Local registry response with server-owned request_id; source report is fixture metadata, never payment verification"
          },
          "400": {
            "description": "Strict identity, version, amount or fixture scenario validation failed"
          },
          "401": {
            "description": "Authentication required"
          },
          "403": {
            "description": "Insufficient scope/current role or MFA"
          },
          "404": {
            "description": "Tenant or source-check object inaccessible"
          },
          "429": {
            "description": "Rate limit"
          },
          "503": {
            "description": "Persistence unavailable"
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/RegistryIdentity"
              }
            }
          }
        }
      }
    },
    "/v1/organizations/{org}/registry/convert": {
      "post": {
        "summary": "POST exact registry/convert",
        "operationId": "post__v1_organizations_org_registry_convert",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "X-Azums-CSRF",
            "in": "header",
            "schema": {
              "const": "1"
            },
            "description": "Required for cookie-authenticated writes; scoped Bearer credentials use their existing flow."
          }
        ],
        "security": [
          {
            "sessionCookie": []
          },
          {
            "sandboxKey": []
          },
          {
            "SandboxSession": []
          }
        ],
        "responses": {
          "200": {
            "description": "Local registry response with server-owned request_id; source report is fixture metadata, never payment verification"
          },
          "400": {
            "description": "Strict identity, version, amount or fixture scenario validation failed"
          },
          "401": {
            "description": "Authentication required"
          },
          "403": {
            "description": "Insufficient scope/current role or MFA"
          },
          "404": {
            "description": "Tenant or source-check object inaccessible"
          },
          "429": {
            "description": "Rate limit"
          },
          "503": {
            "description": "Persistence unavailable"
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/RegistryConversion"
              }
            }
          }
        }
      }
    },
    "/v1/organizations/{org}/registry/source-checks": {
      "get": {
        "summary": "GET exact registry/source-checks",
        "operationId": "get__v1_organizations_org_registry_source_checks",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "security": [
          {
            "sessionCookie": []
          },
          {
            "sandboxKey": []
          },
          {
            "SandboxSession": []
          }
        ],
        "responses": {
          "200": {
            "description": "Local registry response with server-owned request_id; source report is fixture metadata, never payment verification"
          },
          "400": {
            "description": "Strict identity, version, amount or fixture scenario validation failed"
          },
          "401": {
            "description": "Authentication required"
          },
          "403": {
            "description": "Insufficient scope/current role or MFA"
          },
          "404": {
            "description": "Tenant or source-check object inaccessible"
          },
          "429": {
            "description": "Rate limit"
          },
          "503": {
            "description": "Persistence unavailable"
          }
        }
      },
      "post": {
        "summary": "POST exact registry/source-checks",
        "operationId": "post__v1_organizations_org_registry_source_checks",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "X-Azums-CSRF",
            "in": "header",
            "schema": {
              "const": "1"
            },
            "description": "Required for cookie-authenticated writes; scoped Bearer credentials use their existing flow."
          }
        ],
        "security": [
          {
            "sessionCookie": []
          },
          {
            "sandboxKey": []
          },
          {
            "SandboxSession": []
          }
        ],
        "responses": {
          "201": {
            "description": "Local registry response with server-owned request_id; source report is fixture metadata, never payment verification"
          },
          "400": {
            "description": "Strict identity, version, amount or fixture scenario validation failed"
          },
          "401": {
            "description": "Authentication required"
          },
          "403": {
            "description": "Insufficient scope/current role or MFA"
          },
          "404": {
            "description": "Tenant or source-check object inaccessible"
          },
          "429": {
            "description": "Rate limit"
          },
          "503": {
            "description": "Persistence unavailable"
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/RegistrySourceCheck"
              }
            }
          }
        }
      }
    },
    "/v1/organizations/{org}/registry/source-checks/{check}": {
      "get": {
        "summary": "GET exact registry/source-checks/{check}",
        "operationId": "get__v1_organizations_org_registry_source_checks_check",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "check",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "security": [
          {
            "sessionCookie": []
          },
          {
            "sandboxKey": []
          },
          {
            "SandboxSession": []
          }
        ],
        "responses": {
          "200": {
            "description": "Local registry response with server-owned request_id; source report is fixture metadata, never payment verification"
          },
          "400": {
            "description": "Strict identity, version, amount or fixture scenario validation failed"
          },
          "401": {
            "description": "Authentication required"
          },
          "403": {
            "description": "Insufficient scope/current role or MFA"
          },
          "404": {
            "description": "Tenant or source-check object inaccessible"
          },
          "429": {
            "description": "Rate limit"
          },
          "503": {
            "description": "Persistence unavailable"
          }
        }
      }
    },
    "/v1/organizations/{org}/signers/catalog": {
      "get": {
        "summary": "GET fixture signer/catalog",
        "operationId": "get__v1_organizations_org_signers_catalog",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "security": [
          {
            "sessionCookie": []
          },
          {
            "sandboxKey": []
          },
          {
            "SandboxSession": []
          }
        ],
        "description": "Requires organization:read and signers:read; mutations additionally signers:write. Connection management/receipt, local disable and revocation require an owner/admin human MFA session. Customer external proof is separate from IAM.",
        "responses": {
          "200": {
            "description": "Fixture protocol metadata/result only, never customer asset signing or live eligibility"
          },
          "400": {
            "description": "Invalid package, strict schema, expiry or proof"
          },
          "401": {
            "description": "Authentication required"
          },
          "403": {
            "description": "Role/scope/MFA or observe-only restriction"
          },
          "404": {
            "description": "Foreign or missing tenant object"
          },
          "409": {
            "description": "Revision change, voided package or immutable evidence conflict"
          },
          "429": {
            "description": "Rate limit"
          },
          "503": {
            "description": "Configuration, capability negotiation or persistence unavailable"
          }
        }
      }
    },
    "/v1/organizations/{org}/signers/bindings": {
      "get": {
        "summary": "GET fixture signer/bindings",
        "operationId": "get__v1_organizations_org_signers_bindings",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "security": [
          {
            "sessionCookie": []
          },
          {
            "sandboxKey": []
          },
          {
            "SandboxSession": []
          }
        ],
        "description": "Requires organization:read and signers:read; mutations additionally signers:write. Connection management/receipt, local disable and revocation require an owner/admin human MFA session. Customer external proof is separate from IAM.",
        "responses": {
          "200": {
            "description": "Fixture protocol metadata/result only, never customer asset signing or live eligibility"
          },
          "400": {
            "description": "Invalid package, strict schema, expiry or proof"
          },
          "401": {
            "description": "Authentication required"
          },
          "403": {
            "description": "Role/scope/MFA or observe-only restriction"
          },
          "404": {
            "description": "Foreign or missing tenant object"
          },
          "409": {
            "description": "Revision change, voided package or immutable evidence conflict"
          },
          "429": {
            "description": "Rate limit"
          },
          "503": {
            "description": "Configuration, capability negotiation or persistence unavailable"
          }
        }
      },
      "post": {
        "summary": "POST fixture signer/bindings",
        "operationId": "post__v1_organizations_org_signers_bindings",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "security": [
          {
            "sessionCookie": []
          },
          {
            "sandboxKey": []
          },
          {
            "SandboxSession": []
          }
        ],
        "description": "Requires organization:read and signers:read; mutations additionally signers:write. Connection management/receipt, local disable and revocation require an owner/admin human MFA session. Customer external proof is separate from IAM.",
        "responses": {
          "201": {
            "description": "Fixture protocol metadata/result only, never customer asset signing or live eligibility"
          },
          "400": {
            "description": "Invalid package, strict schema, expiry or proof"
          },
          "401": {
            "description": "Authentication required"
          },
          "403": {
            "description": "Role/scope/MFA or observe-only restriction"
          },
          "404": {
            "description": "Foreign or missing tenant object"
          },
          "409": {
            "description": "Revision change, voided package or immutable evidence conflict"
          },
          "429": {
            "description": "Rate limit"
          },
          "503": {
            "description": "Configuration, capability negotiation or persistence unavailable"
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SignerConnection"
              }
            }
          }
        }
      }
    },
    "/v1/organizations/{org}/signers/bindings/{binding}": {
      "get": {
        "summary": "GET fixture signer/bindings/{binding}",
        "operationId": "get__v1_organizations_org_signers_bindings_binding",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "binding",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "security": [
          {
            "sessionCookie": []
          },
          {
            "sandboxKey": []
          },
          {
            "SandboxSession": []
          }
        ],
        "description": "Requires organization:read and signers:read; mutations additionally signers:write. Connection management/receipt, local disable and revocation require an owner/admin human MFA session. Customer external proof is separate from IAM.",
        "responses": {
          "200": {
            "description": "Fixture protocol metadata/result only, never customer asset signing or live eligibility"
          },
          "400": {
            "description": "Invalid package, strict schema, expiry or proof"
          },
          "401": {
            "description": "Authentication required"
          },
          "403": {
            "description": "Role/scope/MFA or observe-only restriction"
          },
          "404": {
            "description": "Foreign or missing tenant object"
          },
          "409": {
            "description": "Revision change, voided package or immutable evidence conflict"
          },
          "429": {
            "description": "Rate limit"
          },
          "503": {
            "description": "Configuration, capability negotiation or persistence unavailable"
          }
        }
      }
    },
    "/v1/organizations/{org}/signers/bindings/{binding}/requests": {
      "post": {
        "summary": "POST fixture signer/bindings/{binding}/requests",
        "operationId": "post__v1_organizations_org_signers_bindings_binding_requests",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "binding",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "security": [
          {
            "sessionCookie": []
          },
          {
            "sandboxKey": []
          },
          {
            "SandboxSession": []
          }
        ],
        "description": "Requires organization:read and signers:read; mutations additionally signers:write. Connection management/receipt, local disable and revocation require an owner/admin human MFA session. Customer external proof is separate from IAM.",
        "responses": {
          "201": {
            "description": "Fixture protocol metadata/result only, never customer asset signing or live eligibility"
          },
          "400": {
            "description": "Invalid package, strict schema, expiry or proof"
          },
          "401": {
            "description": "Authentication required"
          },
          "403": {
            "description": "Role/scope/MFA or observe-only restriction"
          },
          "404": {
            "description": "Foreign or missing tenant object"
          },
          "409": {
            "description": "Revision change, voided package or immutable evidence conflict"
          },
          "429": {
            "description": "Rate limit"
          },
          "503": {
            "description": "Configuration, capability negotiation or persistence unavailable"
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SignerRequest"
              }
            }
          }
        }
      }
    },
    "/v1/organizations/{org}/signers/bindings/{binding}/disable": {
      "post": {
        "summary": "POST fixture signer/bindings/{binding}/disable",
        "operationId": "post__v1_organizations_org_signers_bindings_binding_disable",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "binding",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "security": [
          {
            "sessionCookie": []
          },
          {
            "sandboxKey": []
          },
          {
            "SandboxSession": []
          }
        ],
        "description": "Requires organization:read and signers:read; mutations additionally signers:write. Connection management/receipt, local disable and revocation require an owner/admin human MFA session. Customer external proof is separate from IAM.",
        "responses": {
          "200": {
            "description": "Fixture protocol metadata/result only, never customer asset signing or live eligibility"
          },
          "400": {
            "description": "Invalid package, strict schema, expiry or proof"
          },
          "401": {
            "description": "Authentication required"
          },
          "403": {
            "description": "Role/scope/MFA or observe-only restriction"
          },
          "404": {
            "description": "Foreign or missing tenant object"
          },
          "409": {
            "description": "Revision change, voided package or immutable evidence conflict"
          },
          "429": {
            "description": "Rate limit"
          },
          "503": {
            "description": "Configuration, capability negotiation or persistence unavailable"
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SignerRevision"
              }
            }
          }
        }
      }
    },
    "/v1/organizations/{org}/signers/bindings/{binding}/revoke-challenge": {
      "post": {
        "summary": "POST fixture signer/bindings/{binding}/revoke-challenge",
        "operationId": "post__v1_organizations_org_signers_bindings_binding_revoke_challenge",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "binding",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "security": [
          {
            "sessionCookie": []
          },
          {
            "SandboxSession": []
          }
        ],
        "description": "Requires organization:read and signers:read; mutations additionally signers:write. Connection management/receipt, local disable and revocation require an owner/admin human MFA session. Customer external proof is separate from IAM.",
        "responses": {
          "201": {
            "description": "Fixture protocol metadata/result only, never customer asset signing or live eligibility"
          },
          "400": {
            "description": "Invalid package, strict schema, expiry or proof"
          },
          "401": {
            "description": "Authentication required"
          },
          "403": {
            "description": "Role/scope/MFA or observe-only restriction"
          },
          "404": {
            "description": "Foreign or missing tenant object"
          },
          "409": {
            "description": "Revision change, voided package or immutable evidence conflict"
          },
          "429": {
            "description": "Rate limit"
          },
          "503": {
            "description": "Configuration, capability negotiation or persistence unavailable"
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SignerRevision"
              }
            }
          }
        }
      }
    },
    "/v1/organizations/{org}/signers/operations": {
      "get": {
        "summary": "GET fixture signer/operations",
        "operationId": "get__v1_organizations_org_signers_operations",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "security": [
          {
            "sessionCookie": []
          },
          {
            "sandboxKey": []
          },
          {
            "SandboxSession": []
          }
        ],
        "description": "Requires organization:read and signers:read; mutations additionally signers:write. Connection management/receipt, local disable and revocation require an owner/admin human MFA session. Customer external proof is separate from IAM.",
        "responses": {
          "200": {
            "description": "Fixture protocol metadata/result only, never customer asset signing or live eligibility"
          },
          "400": {
            "description": "Invalid package, strict schema, expiry or proof"
          },
          "401": {
            "description": "Authentication required"
          },
          "403": {
            "description": "Role/scope/MFA or observe-only restriction"
          },
          "404": {
            "description": "Foreign or missing tenant object"
          },
          "409": {
            "description": "Revision change, voided package or immutable evidence conflict"
          },
          "429": {
            "description": "Rate limit"
          },
          "503": {
            "description": "Configuration, capability negotiation or persistence unavailable"
          }
        }
      }
    },
    "/v1/organizations/{org}/signers/operations/{operation}": {
      "get": {
        "summary": "GET fixture signer/operations/{operation}",
        "operationId": "get__v1_organizations_org_signers_operations_operation",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "operation",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "security": [
          {
            "sessionCookie": []
          },
          {
            "sandboxKey": []
          },
          {
            "SandboxSession": []
          }
        ],
        "description": "Requires organization:read and signers:read; mutations additionally signers:write. Connection management/receipt, local disable and revocation require an owner/admin human MFA session. Customer external proof is separate from IAM.",
        "responses": {
          "200": {
            "description": "Fixture protocol metadata/result only, never customer asset signing or live eligibility"
          },
          "400": {
            "description": "Invalid package, strict schema, expiry or proof"
          },
          "401": {
            "description": "Authentication required"
          },
          "403": {
            "description": "Role/scope/MFA or observe-only restriction"
          },
          "404": {
            "description": "Foreign or missing tenant object"
          },
          "409": {
            "description": "Revision change, voided package or immutable evidence conflict"
          },
          "429": {
            "description": "Rate limit"
          },
          "503": {
            "description": "Configuration, capability negotiation or persistence unavailable"
          }
        }
      },
      "post": {
        "summary": "POST fixture signer/operations/{operation}",
        "operationId": "post__v1_organizations_org_signers_operations_operation",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "operation",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "security": [
          {
            "sessionCookie": []
          },
          {
            "sandboxKey": []
          },
          {
            "SandboxSession": []
          }
        ],
        "description": "Requires organization:read and signers:read; mutations additionally signers:write. Connection management/receipt, local disable and revocation require an owner/admin human MFA session. Customer external proof is separate from IAM.",
        "responses": {
          "200": {
            "description": "Fixture protocol metadata/result only, never customer asset signing or live eligibility"
          },
          "400": {
            "description": "Invalid package, strict schema, expiry or proof"
          },
          "401": {
            "description": "Authentication required"
          },
          "403": {
            "description": "Role/scope/MFA or observe-only restriction"
          },
          "404": {
            "description": "Foreign or missing tenant object"
          },
          "409": {
            "description": "Revision change, voided package or immutable evidence conflict"
          },
          "429": {
            "description": "Rate limit"
          },
          "503": {
            "description": "Configuration, capability negotiation or persistence unavailable"
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SignerReceipt"
              }
            }
          }
        }
      }
    },
    "/v1/organizations/{org}/wallets/capabilities": {
      "get": {
        "summary": "Inspect fixture provisioning boundaries and supported metadata networks",
        "operationId": "get_v1_organizations_org_wallets_capabilities",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "security": [
          {
            "sessionCookie": []
          },
          {
            "sandboxKey": []
          },
          {
            "SandboxSession": []
          }
        ],
        "description": "Requires organization:read and wallets:read. Mutations additionally require wallets:write. Current membership, role, key expiry and revocation enforced. Fixture evidence never enables live deposits.",
        "responses": {
          "200": {
            "description": "Fixture protocol metadata/result only, never customer asset signing or live eligibility"
          },
          "400": {
            "description": "Invalid package, strict schema, expiry or proof"
          },
          "401": {
            "description": "Authentication required"
          },
          "403": {
            "description": "Role/scope/MFA or observe-only restriction"
          },
          "404": {
            "description": "Foreign or missing tenant object"
          },
          "409": {
            "description": "Revision change, voided package or immutable evidence conflict"
          },
          "429": {
            "description": "Rate limit"
          },
          "503": {
            "description": "Configuration, capability negotiation or persistence unavailable"
          }
        }
      }
    },
    "/v1/organizations/{org}/wallets": {
      "get": {
        "summary": "List latest 200 simulated provisioning records",
        "operationId": "get_v1_organizations_org_wallets",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "security": [
          {
            "sessionCookie": []
          },
          {
            "sandboxKey": []
          },
          {
            "SandboxSession": []
          }
        ],
        "description": "Requires organization:read and wallets:read. Mutations additionally require wallets:write. Current membership, role, key expiry and revocation enforced. Fixture evidence never enables live deposits.",
        "responses": {
          "200": {
            "description": "Fixture protocol metadata/result only, never customer asset signing or live eligibility",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FixtureWalletList"
                }
              }
            }
          },
          "400": {
            "description": "Invalid package, strict schema, expiry or proof"
          },
          "401": {
            "description": "Authentication required"
          },
          "403": {
            "description": "Role/scope/MFA or observe-only restriction"
          },
          "404": {
            "description": "Foreign or missing tenant object"
          },
          "409": {
            "description": "Revision change, voided package or immutable evidence conflict"
          },
          "429": {
            "description": "Rate limit"
          },
          "503": {
            "description": "Configuration, capability negotiation or persistence unavailable"
          }
        }
      },
      "post": {
        "summary": "Queue durable simulated provisioning with customer/network mapping",
        "operationId": "post_v1_organizations_org_wallets",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "Idempotency-Key",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string",
              "pattern": "^[A-Za-z0-9_-]{8,80}$"
            }
          }
        ],
        "security": [
          {
            "sessionCookie": []
          },
          {
            "sandboxKey": []
          },
          {
            "SandboxSession": []
          }
        ],
        "description": "Requires organization:read and wallets:read. Mutations additionally require wallets:write. Current membership, role, key expiry and revocation enforced. Fixture evidence never enables live deposits. One mapping per organization/network/customer. Changed key reuse or duplicate mapping conflicts. API returns before external dispatch.",
        "responses": {
          "400": {
            "description": "Invalid package, strict schema, expiry or proof"
          },
          "401": {
            "description": "Authentication required"
          },
          "403": {
            "description": "Role/scope/MFA or observe-only restriction"
          },
          "404": {
            "description": "Foreign or missing tenant object"
          },
          "409": {
            "description": "Revision change, voided package or immutable evidence conflict"
          },
          "429": {
            "description": "Rate limit"
          },
          "503": {
            "description": "Configuration, capability negotiation or persistence unavailable"
          },
          "202": {
            "description": "Fixture protocol metadata/result only, never customer asset signing or live eligibility",
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Envelope"
                    },
                    {
                      "type": "object",
                      "required": [
                        "wallet_id",
                        "state",
                        "fixture_only",
                        "live_deposits_enabled"
                      ],
                      "properties": {
                        "wallet_id": {
                          "type": "string",
                          "format": "uuid"
                        },
                        "state": {
                          "const": "queued"
                        },
                        "fixture_only": {
                          "const": true
                        },
                        "live_deposits_enabled": {
                          "const": false
                        }
                      }
                    }
                  ]
                }
              }
            }
          },
          "200": {
            "description": "Exact replay returns original wallet_id; no additional create dispatch.",
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Envelope"
                    },
                    {
                      "type": "object",
                      "required": [
                        "wallet_id",
                        "replayed",
                        "fixture_only"
                      ],
                      "properties": {
                        "wallet_id": {
                          "type": "string",
                          "format": "uuid"
                        },
                        "replayed": {
                          "const": true
                        },
                        "fixture_only": {
                          "const": true
                        }
                      }
                    }
                  ]
                }
              }
            }
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "customer_reference",
                  "network_id",
                  "binding_id"
                ],
                "properties": {
                  "customer_reference": {
                    "type": "string",
                    "pattern": "^[A-Za-z0-9_-]{2,80}$",
                    "description": "Opaque fintech customer identifier; no email or personal name."
                  },
                  "network_id": {
                    "type": "string",
                    "enum": [
                      "solana-mainnet",
                      "base-mainnet"
                    ]
                  },
                  "binding_id": {
                    "type": "string",
                    "format": "uuid"
                  },
                  "fixture_scenario": {
                    "type": "string",
                    "default": "success",
                    "enum": [
                      "success",
                      "commit_then_timeout",
                      "unavailable_before_create",
                      "crash_after_dispatch"
                    ]
                  }
                }
              }
            }
          }
        }
      }
    },
    "/v1/organizations/{org}/wallets/{wallet}": {
      "get": {
        "summary": "Inspect tenant-scoped wallet state and signed fixture receipt; address is null",
        "operationId": "get_v1_organizations_org_wallets_wallet",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "wallet",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "security": [
          {
            "sessionCookie": []
          },
          {
            "sandboxKey": []
          },
          {
            "SandboxSession": []
          }
        ],
        "description": "Requires organization:read and wallets:read. Mutations additionally require wallets:write. Current membership, role, key expiry and revocation enforced. Fixture evidence never enables live deposits.",
        "responses": {
          "200": {
            "description": "Fixture protocol metadata/result only, never customer asset signing or live eligibility",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FixtureWalletList"
                }
              }
            }
          },
          "400": {
            "description": "Invalid package, strict schema, expiry or proof"
          },
          "401": {
            "description": "Authentication required"
          },
          "403": {
            "description": "Role/scope/MFA or observe-only restriction"
          },
          "404": {
            "description": "Foreign or missing tenant object"
          },
          "409": {
            "description": "Revision change, voided package or immutable evidence conflict"
          },
          "429": {
            "description": "Rate limit"
          },
          "503": {
            "description": "Configuration, capability negotiation or persistence unavailable"
          }
        }
      }
    },
    "/v1/organizations/{org}/wallets/{wallet}/reconcile": {
      "post": {
        "summary": "Read provider result by original wallet ID; never create again",
        "operationId": "post_v1_organizations_org_wallets_wallet_reconcile",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "wallet",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "security": [
          {
            "sessionCookie": []
          },
          {
            "sandboxKey": []
          },
          {
            "SandboxSession": []
          }
        ],
        "description": "Requires organization:read and wallets:read. Mutations additionally require wallets:write. Current membership, role, key expiry and revocation enforced. Fixture evidence never enables live deposits.",
        "responses": {
          "200": {
            "description": "Fixture protocol metadata/result only, never customer asset signing or live eligibility",
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Envelope"
                    },
                    {
                      "oneOf": [
                        {
                          "type": "object",
                          "required": [
                            "wallet_id",
                            "state",
                            "provider_receipt_verified",
                            "external_create_retried"
                          ],
                          "properties": {
                            "wallet_id": {
                              "type": "string",
                              "format": "uuid"
                            },
                            "state": {
                              "enum": [
                                "unknown_outcome",
                                "provisioned_fixture"
                              ]
                            },
                            "provider_receipt_verified": {
                              "type": "boolean"
                            },
                            "external_create_retried": {
                              "const": false
                            }
                          }
                        },
                        {
                          "type": "object",
                          "required": [
                            "wallet_id",
                            "state",
                            "replayed"
                          ],
                          "properties": {
                            "wallet_id": {
                              "type": "string",
                              "format": "uuid"
                            },
                            "state": {
                              "const": "provisioned_fixture"
                            },
                            "replayed": {
                              "const": true
                            }
                          }
                        }
                      ]
                    }
                  ]
                }
              }
            }
          },
          "400": {
            "description": "Invalid package, strict schema, expiry or proof"
          },
          "401": {
            "description": "Authentication required"
          },
          "403": {
            "description": "Role/scope/MFA or observe-only restriction"
          },
          "404": {
            "description": "Foreign or missing tenant object"
          },
          "409": {
            "description": "Revision change, voided package or immutable evidence conflict"
          },
          "429": {
            "description": "Rate limit"
          },
          "503": {
            "description": "Configuration, capability negotiation or persistence unavailable"
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": false
              }
            }
          }
        }
      }
    },
    "/v1/organizations/{org}/deposit-destinations/capabilities": {
      "get": {
        "summary": "Inspect fixture model and explicit address/account/rent blockers",
        "operationId": "get_v1_organizations_org_deposit-destinations_capabilities",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "security": [
          {
            "sessionCookie": []
          },
          {
            "sandboxKey": []
          },
          {
            "SandboxSession": []
          }
        ],
        "description": "Requires organization:read and destinations:read. Mutations additionally require destinations:write and current writer role. Fixture evidence never credits funds or enables live deposits.",
        "responses": {
          "200": {
            "description": "Inspect fixture model and explicit address/account/rent blockers",
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Envelope"
                    },
                    {
                      "type": "object",
                      "required": [
                        "supported_models",
                        "address_derivation",
                        "receiving_address",
                        "token_accounts_created",
                        "rent_lamports",
                        "base_account_model",
                        "live_deposits_enabled",
                        "key_control_certified",
                        "source_mode",
                        "ledger_credits"
                      ],
                      "properties": {
                        "supported_models": {
                          "const": [
                            "fixture_wallet_asset"
                          ]
                        },
                        "address_derivation": {
                          "const": false
                        },
                        "receiving_address": {
                          "type": "null"
                        },
                        "token_accounts_created": {
                          "const": false
                        },
                        "rent_lamports": {
                          "type": "null"
                        },
                        "base_account_model": {
                          "const": "unverified"
                        },
                        "live_deposits_enabled": {
                          "const": false
                        },
                        "key_control_certified": {
                          "const": false
                        },
                        "source_mode": {
                          "const": "synthetic_fixture"
                        },
                        "ledger_credits": {
                          "const": false
                        }
                      }
                    }
                  ]
                }
              }
            }
          },
          "400": {
            "description": "Invalid package, strict schema, expiry or proof"
          },
          "401": {
            "description": "Authentication required"
          },
          "403": {
            "description": "Role/scope/MFA or observe-only restriction"
          },
          "404": {
            "description": "Foreign or missing tenant object"
          },
          "409": {
            "description": "Revision change, voided package or immutable evidence conflict"
          },
          "429": {
            "description": "Rate limit"
          },
          "503": {
            "description": "Configuration, capability negotiation or persistence unavailable"
          }
        }
      }
    },
    "/v1/organizations/{org}/deposit-destinations": {
      "get": {
        "summary": "List latest 200 tenant fixture destination mappings",
        "operationId": "get_v1_organizations_org_deposit-destinations",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "security": [
          {
            "sessionCookie": []
          },
          {
            "sandboxKey": []
          },
          {
            "SandboxSession": []
          }
        ],
        "description": "Requires organization:read and destinations:read. Mutations additionally require destinations:write and current writer role. Fixture evidence never credits funds or enables live deposits.",
        "responses": {
          "200": {
            "description": "List latest 200 tenant fixture destination mappings",
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Envelope"
                    },
                    {
                      "type": "object",
                      "required": [
                        "destinations",
                        "limit",
                        "source_mode",
                        "live_deposits_enabled"
                      ],
                      "properties": {
                        "destinations": {
                          "type": "array",
                          "maxItems": 200,
                          "items": {
                            "$ref": "#/components/schemas/FixtureDepositDestination"
                          }
                        },
                        "limit": {
                          "const": 200
                        },
                        "source_mode": {
                          "const": "synthetic_fixture"
                        },
                        "live_deposits_enabled": {
                          "const": false
                        }
                      }
                    }
                  ]
                }
              }
            }
          },
          "400": {
            "description": "Invalid package, strict schema, expiry or proof"
          },
          "401": {
            "description": "Authentication required"
          },
          "403": {
            "description": "Role/scope/MFA or observe-only restriction"
          },
          "404": {
            "description": "Foreign or missing tenant object"
          },
          "409": {
            "description": "Revision change, voided package or immutable evidence conflict"
          },
          "429": {
            "description": "Rate limit"
          },
          "503": {
            "description": "Configuration, capability negotiation or persistence unavailable"
          }
        }
      },
      "post": {
        "summary": "Assign immutable customer wallet/token mapping; no address is generated",
        "operationId": "post_v1_organizations_org_deposit-destinations",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "Idempotency-Key",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string",
              "pattern": "^[A-Za-z0-9_-]{8,80}$"
            }
          }
        ],
        "security": [
          {
            "sessionCookie": []
          },
          {
            "sandboxKey": []
          },
          {
            "SandboxSession": []
          }
        ],
        "description": "Requires organization:read and destinations:read. Mutations additionally require destinations:write and current writer role. Fixture evidence never credits funds or enables live deposits.",
        "responses": {
          "200": {
            "description": "Exact immutable assignment replay",
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Envelope"
                    },
                    {
                      "type": "object",
                      "required": [
                        "destination_id",
                        "replayed",
                        "receiving_address",
                        "live_deposits_enabled"
                      ],
                      "properties": {
                        "destination_id": {
                          "type": "string",
                          "format": "uuid"
                        },
                        "replayed": {
                          "const": true
                        },
                        "receiving_address": {
                          "type": "null"
                        },
                        "live_deposits_enabled": {
                          "const": false
                        }
                      }
                    }
                  ]
                }
              }
            }
          },
          "400": {
            "description": "Invalid package, strict schema, expiry or proof"
          },
          "401": {
            "description": "Authentication required"
          },
          "403": {
            "description": "Role/scope/MFA or observe-only restriction"
          },
          "404": {
            "description": "Foreign or missing tenant object"
          },
          "409": {
            "description": "Revision change, voided package or immutable evidence conflict"
          },
          "429": {
            "description": "Rate limit"
          },
          "503": {
            "description": "Configuration, capability negotiation or persistence unavailable"
          },
          "201": {
            "description": "Assign immutable customer wallet/token mapping; no address is generated",
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Envelope"
                    },
                    {
                      "type": "object",
                      "required": [
                        "destination_id",
                        "provider_wallet_reference",
                        "receiving_address",
                        "token_accounts_created",
                        "rent_lamports",
                        "live_deposits_enabled",
                        "mode"
                      ],
                      "properties": {
                        "destination_id": {
                          "type": "string",
                          "format": "uuid"
                        },
                        "provider_wallet_reference": {
                          "type": "string"
                        },
                        "receiving_address": {
                          "type": "null"
                        },
                        "token_accounts_created": {
                          "const": false
                        },
                        "rent_lamports": {
                          "type": "null"
                        },
                        "live_deposits_enabled": {
                          "const": false
                        },
                        "mode": {
                          "const": "fixture_wallet_asset"
                        }
                      }
                    }
                  ]
                }
              }
            }
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "wallet_id",
                  "asset_id",
                  "asset_version",
                  "model"
                ],
                "properties": {
                  "wallet_id": {
                    "type": "string",
                    "format": "uuid"
                  },
                  "asset_id": {
                    "enum": [
                      "USDC_SOL",
                      "USDT_SOL",
                      "USDC_BASE"
                    ]
                  },
                  "asset_version": {
                    "type": "string"
                  },
                  "model": {
                    "const": "fixture_wallet_asset"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/v1/organizations/{org}/deposit-destinations/{destination}": {
      "get": {
        "summary": "Read one tenant-scoped immutable fixture mapping",
        "operationId": "get_v1_organizations_org_deposit-destinations_destination",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "destination",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "security": [
          {
            "sessionCookie": []
          },
          {
            "sandboxKey": []
          },
          {
            "SandboxSession": []
          }
        ],
        "description": "Requires organization:read and destinations:read. Mutations additionally require destinations:write and current writer role. Fixture evidence never credits funds or enables live deposits.",
        "responses": {
          "200": {
            "description": "Read one tenant-scoped immutable fixture mapping",
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Envelope"
                    },
                    {
                      "type": "object",
                      "required": [
                        "destinations",
                        "limit",
                        "source_mode",
                        "live_deposits_enabled"
                      ],
                      "properties": {
                        "destinations": {
                          "type": "array",
                          "maxItems": 200,
                          "items": {
                            "$ref": "#/components/schemas/FixtureDepositDestination"
                          }
                        },
                        "limit": {
                          "const": 200
                        },
                        "source_mode": {
                          "const": "synthetic_fixture"
                        },
                        "live_deposits_enabled": {
                          "const": false
                        }
                      }
                    }
                  ]
                }
              }
            }
          },
          "400": {
            "description": "Invalid package, strict schema, expiry or proof"
          },
          "401": {
            "description": "Authentication required"
          },
          "403": {
            "description": "Role/scope/MFA or observe-only restriction"
          },
          "404": {
            "description": "Foreign or missing tenant object"
          },
          "409": {
            "description": "Revision change, voided package or immutable evidence conflict"
          },
          "429": {
            "description": "Rate limit"
          },
          "503": {
            "description": "Configuration, capability negotiation or persistence unavailable"
          }
        }
      }
    },
    "/v1/organizations/{org}/deposit-destinations/observations": {
      "get": {
        "summary": "List latest 200 synthetic tenant attribution records",
        "operationId": "get_v1_organizations_org_deposit-destinations_observations",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "security": [
          {
            "sessionCookie": []
          },
          {
            "sandboxKey": []
          },
          {
            "SandboxSession": []
          }
        ],
        "description": "Requires organization:read and destinations:read. Mutations additionally require destinations:write and current writer role. Fixture evidence never credits funds or enables live deposits.",
        "responses": {
          "200": {
            "description": "List latest 200 synthetic tenant attribution records",
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Envelope"
                    },
                    {
                      "type": "object",
                      "required": [
                        "observations",
                        "limit",
                        "live_deposits_enabled"
                      ],
                      "properties": {
                        "observations": {
                          "type": "array",
                          "maxItems": 200,
                          "items": {
                            "$ref": "#/components/schemas/FixtureDepositObservation"
                          }
                        },
                        "limit": {
                          "const": 200
                        },
                        "live_deposits_enabled": {
                          "const": false
                        }
                      }
                    }
                  ]
                }
              }
            }
          },
          "400": {
            "description": "Invalid package, strict schema, expiry or proof"
          },
          "401": {
            "description": "Authentication required"
          },
          "403": {
            "description": "Role/scope/MFA or observe-only restriction"
          },
          "404": {
            "description": "Foreign or missing tenant object"
          },
          "409": {
            "description": "Revision change, voided package or immutable evidence conflict"
          },
          "429": {
            "description": "Rate limit"
          },
          "503": {
            "description": "Configuration, capability negotiation or persistence unavailable"
          }
        }
      },
      "post": {
        "summary": "Record synthetic observation; exact duplicate replay has no additional attribution",
        "operationId": "post_v1_organizations_org_deposit-destinations_observations",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "security": [
          {
            "sessionCookie": []
          },
          {
            "sandboxKey": []
          },
          {
            "SandboxSession": []
          }
        ],
        "description": "Requires organization:read and destinations:read. Mutations additionally require destinations:write and current writer role. Fixture evidence never credits funds or enables live deposits.",
        "responses": {
          "200": {
            "description": "Exact event identity/input replay",
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Envelope"
                    },
                    {
                      "type": "object",
                      "required": [
                        "observation_id",
                        "replayed",
                        "credited",
                        "source_mode"
                      ],
                      "properties": {
                        "observation_id": {
                          "type": "string",
                          "format": "uuid"
                        },
                        "replayed": {
                          "const": true
                        },
                        "credited": {
                          "const": false
                        },
                        "source_mode": {
                          "const": "synthetic_fixture"
                        }
                      }
                    }
                  ]
                }
              }
            }
          },
          "400": {
            "description": "Invalid package, strict schema, expiry or proof"
          },
          "401": {
            "description": "Authentication required"
          },
          "403": {
            "description": "Role/scope/MFA or observe-only restriction"
          },
          "404": {
            "description": "Foreign or missing tenant object"
          },
          "409": {
            "description": "Revision change, voided package or immutable evidence conflict"
          },
          "429": {
            "description": "Rate limit"
          },
          "503": {
            "description": "Configuration, capability negotiation or persistence unavailable"
          },
          "201": {
            "description": "Record synthetic observation; exact duplicate replay has no additional attribution",
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Envelope"
                    },
                    {
                      "type": "object",
                      "required": [
                        "observation_id",
                        "destination_id",
                        "customer_reference",
                        "status",
                        "credited",
                        "source_mode",
                        "rent_lamports"
                      ],
                      "properties": {
                        "observation_id": {
                          "type": "string",
                          "format": "uuid"
                        },
                        "destination_id": {
                          "type": "string",
                          "format": "uuid"
                        },
                        "customer_reference": {
                          "type": "string"
                        },
                        "status": {
                          "enum": [
                            "attributed_fixture",
                            "blocked_fixture_unfunded",
                            "blocked_fixture_rent_required"
                          ]
                        },
                        "credited": {
                          "const": false
                        },
                        "source_mode": {
                          "const": "synthetic_fixture"
                        },
                        "rent_lamports": {
                          "type": "null"
                        }
                      }
                    }
                  ]
                }
              }
            }
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": false,
                "properties": {
                  "event_id": {
                    "type": "string",
                    "format": "uuid"
                  },
                  "provider_wallet_reference": {
                    "type": "string",
                    "pattern": "^fixture_provisioned_[0-9a-f]{32}$"
                  },
                  "network_id": {
                    "enum": [
                      "solana-mainnet",
                      "base-mainnet"
                    ]
                  },
                  "asset_id": {
                    "enum": [
                      "USDC_SOL",
                      "USDT_SOL",
                      "USDC_BASE"
                    ]
                  },
                  "asset_version": {
                    "type": "string"
                  },
                  "token_identifier": {
                    "type": "string"
                  },
                  "amount_raw": {
                    "type": "string",
                    "pattern": "^[1-9][0-9]*$",
                    "description": "Bounded by the exact asset registry u64/u256 limit."
                  },
                  "account_status": {
                    "enum": [
                      "fixture_funded",
                      "fixture_unfunded",
                      "fixture_rent_required"
                    ],
                    "description": "Synthetic account condition only; Solana rent state rejected on Base."
                  }
                },
                "required": [
                  "event_id",
                  "provider_wallet_reference",
                  "network_id",
                  "asset_id",
                  "asset_version",
                  "token_identifier",
                  "amount_raw",
                  "account_status"
                ]
              }
            }
          }
        }
      }
    },
    "/v1/organizations/{org}/deposit-destinations/observations/{observation}": {
      "get": {
        "summary": "Inspect one tenant-scoped synthetic attribution record",
        "operationId": "get_v1_organizations_org_deposit-destinations_observations_observation",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "observation",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "security": [
          {
            "sessionCookie": []
          },
          {
            "sandboxKey": []
          },
          {
            "SandboxSession": []
          }
        ],
        "description": "Requires organization:read and destinations:read. Mutations additionally require destinations:write and current writer role. Fixture evidence never credits funds or enables live deposits.",
        "responses": {
          "200": {
            "description": "Inspect one tenant-scoped synthetic attribution record",
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Envelope"
                    },
                    {
                      "type": "object",
                      "required": [
                        "observations",
                        "limit",
                        "live_deposits_enabled"
                      ],
                      "properties": {
                        "observations": {
                          "type": "array",
                          "maxItems": 200,
                          "items": {
                            "$ref": "#/components/schemas/FixtureDepositObservation"
                          }
                        },
                        "limit": {
                          "const": 200
                        },
                        "live_deposits_enabled": {
                          "const": false
                        }
                      }
                    }
                  ]
                }
              }
            }
          },
          "400": {
            "description": "Invalid package, strict schema, expiry or proof"
          },
          "401": {
            "description": "Authentication required"
          },
          "403": {
            "description": "Role/scope/MFA or observe-only restriction"
          },
          "404": {
            "description": "Foreign or missing tenant object"
          },
          "409": {
            "description": "Revision change, voided package or immutable evidence conflict"
          },
          "429": {
            "description": "Rate limit"
          },
          "503": {
            "description": "Configuration, capability negotiation or persistence unavailable"
          }
        }
      }
    },
    "/v1/organizations/{org}/solana-indexer/capabilities": {
      "get": {
        "summary": "Inspect fixture formats and explicit certification boundaries",
        "operationId": "get_v1_organizations_org_solana-indexer_capabilities",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "security": [
          {
            "sessionCookie": []
          },
          {
            "sandboxKey": []
          },
          {
            "SandboxSession": []
          }
        ],
        "description": "Requires organization:read and solana:read. Mutations additionally require solana:write and current owner/admin/developer/operator role. Public RPC-shaped fixtures only. No signature verification, customer ownership, live finality, deposit attribution or financial credit.",
        "responses": {
          "200": {
            "description": "Inspect fixture formats and explicit certification boundaries",
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Envelope"
                    },
                    {
                      "type": "object",
                      "required": [
                        "source_mode",
                        "assets",
                        "formats",
                        "transaction_signature_verified",
                        "independent_rpc_providers",
                        "live_ingestion",
                        "customer_address_ownership_verified",
                        "deposit_credited",
                        "live_deposits_enabled",
                        "fixture_body_limit"
                      ],
                      "properties": {
                        "source_mode": {
                          "const": "rpc_shaped_fixture"
                        },
                        "assets": {
                          "const": [
                            "USDC_SOL",
                            "USDT_SOL"
                          ]
                        },
                        "formats": {
                          "type": "array",
                          "items": {
                            "type": "string"
                          }
                        },
                        "transaction_signature_verified": {
                          "const": false
                        },
                        "independent_rpc_providers": {
                          "const": false
                        },
                        "live_ingestion": {
                          "const": false
                        },
                        "customer_address_ownership_verified": {
                          "const": false
                        },
                        "deposit_credited": {
                          "const": false
                        },
                        "live_deposits_enabled": {
                          "const": false
                        },
                        "fixture_body_limit": {
                          "const": 1048576
                        }
                      }
                    }
                  ]
                }
              }
            }
          },
          "400": {
            "description": "Invalid package, strict schema, expiry or proof"
          },
          "401": {
            "description": "Authentication required"
          },
          "403": {
            "description": "Role/scope/MFA or observe-only restriction"
          },
          "404": {
            "description": "Foreign or missing tenant object"
          },
          "409": {
            "description": "Revision change, voided package or immutable evidence conflict"
          },
          "429": {
            "description": "Rate limit"
          },
          "503": {
            "description": "Configuration, capability negotiation or persistence unavailable"
          }
        }
      }
    },
    "/v1/organizations/{org}/solana-indexer/examples": {
      "get": {
        "summary": "Load public synthetic watch and stream/backfill/fork/finality fixtures",
        "operationId": "get_v1_organizations_org_solana-indexer_examples",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "security": [
          {
            "sessionCookie": []
          },
          {
            "sandboxKey": []
          },
          {
            "SandboxSession": []
          }
        ],
        "description": "Requires organization:read and solana:read. Mutations additionally require solana:write and current owner/admin/developer/operator role. Public RPC-shaped fixtures only. No signature verification, customer ownership, live finality, deposit attribution or financial credit.",
        "responses": {
          "200": {
            "description": "Load public synthetic watch and stream/backfill/fork/finality fixtures",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "description": "Public synthetic identifiers and deliberately non-transaction signature bytes. Example stream config and five page scenarios; expected_revision must match selected stream."
                }
              }
            }
          },
          "400": {
            "description": "Invalid package, strict schema, expiry or proof"
          },
          "401": {
            "description": "Authentication required"
          },
          "403": {
            "description": "Role/scope/MFA or observe-only restriction"
          },
          "404": {
            "description": "Foreign or missing tenant object"
          },
          "409": {
            "description": "Revision change, voided package or immutable evidence conflict"
          },
          "429": {
            "description": "Rate limit"
          },
          "503": {
            "description": "Configuration, capability negotiation or persistence unavailable"
          }
        }
      }
    },
    "/v1/organizations/{org}/solana-indexer/streams": {
      "get": {
        "summary": "List latest 50 tenant fixture streams",
        "operationId": "get_v1_organizations_org_solana-indexer_streams",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "security": [
          {
            "sessionCookie": []
          },
          {
            "sandboxKey": []
          },
          {
            "SandboxSession": []
          }
        ],
        "description": "Requires organization:read and solana:read. Mutations additionally require solana:write and current owner/admin/developer/operator role. Public RPC-shaped fixtures only. No signature verification, customer ownership, live finality, deposit attribution or financial credit.",
        "responses": {
          "200": {
            "description": "List latest 50 tenant fixture streams",
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Envelope"
                    },
                    {
                      "type": "object",
                      "required": [
                        "streams",
                        "limit",
                        "live_deposits_enabled"
                      ],
                      "properties": {
                        "streams": {
                          "type": "array",
                          "maxItems": 50,
                          "items": {
                            "$ref": "#/components/schemas/SolanaFixtureStream"
                          }
                        },
                        "limit": {
                          "const": 50
                        },
                        "live_deposits_enabled": {
                          "const": false
                        }
                      }
                    }
                  ]
                }
              }
            }
          },
          "400": {
            "description": "Invalid package, strict schema, expiry or proof"
          },
          "401": {
            "description": "Authentication required"
          },
          "403": {
            "description": "Role/scope/MFA or observe-only restriction"
          },
          "404": {
            "description": "Foreign or missing tenant object"
          },
          "409": {
            "description": "Revision change, voided package or immutable evidence conflict"
          },
          "429": {
            "description": "Rate limit"
          },
          "503": {
            "description": "Configuration, capability negotiation or persistence unavailable"
          }
        }
      },
      "post": {
        "summary": "Create immutable fixture observation filters and anchor",
        "operationId": "post_v1_organizations_org_solana-indexer_streams",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "security": [
          {
            "sessionCookie": []
          },
          {
            "sandboxKey": []
          },
          {
            "SandboxSession": []
          }
        ],
        "description": "Requires organization:read and solana:read. Mutations additionally require solana:write and current owner/admin/developer/operator role. Public RPC-shaped fixtures only. No signature verification, customer ownership, live finality, deposit attribution or financial credit.",
        "responses": {
          "200": {
            "description": "Fixture protocol metadata/result only, never customer asset signing or live eligibility",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FixtureWalletList"
                }
              }
            }
          },
          "400": {
            "description": "Invalid package, strict schema, expiry or proof"
          },
          "401": {
            "description": "Authentication required"
          },
          "403": {
            "description": "Role/scope/MFA or observe-only restriction"
          },
          "404": {
            "description": "Foreign or missing tenant object"
          },
          "409": {
            "description": "Revision change, voided package or immutable evidence conflict"
          },
          "429": {
            "description": "Rate limit"
          },
          "503": {
            "description": "Configuration, capability negotiation or persistence unavailable"
          },
          "201": {
            "description": "Create immutable fixture observation filters and anchor",
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Envelope"
                    },
                    {
                      "type": "object",
                      "required": [
                        "stream_id",
                        "revision",
                        "source_mode",
                        "live_ingestion",
                        "deposit_credited"
                      ],
                      "properties": {
                        "stream_id": {
                          "type": "string",
                          "format": "uuid"
                        },
                        "revision": {
                          "const": 0
                        },
                        "source_mode": {
                          "const": "rpc_shaped_fixture"
                        },
                        "live_ingestion": {
                          "const": false
                        },
                        "deposit_credited": {
                          "const": false
                        }
                      }
                    }
                  ]
                }
              }
            }
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SolanaFixtureStreamInput"
              }
            }
          }
        }
      }
    },
    "/v1/organizations/{org}/solana-indexer/streams/{stream}": {
      "get": {
        "summary": "Read one tenant fixture stream",
        "operationId": "get_v1_organizations_org_solana-indexer_streams_stream",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "stream",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "security": [
          {
            "sessionCookie": []
          },
          {
            "sandboxKey": []
          },
          {
            "SandboxSession": []
          }
        ],
        "description": "Requires organization:read and solana:read. Mutations additionally require solana:write and current owner/admin/developer/operator role. Public RPC-shaped fixtures only. No signature verification, customer ownership, live finality, deposit attribution or financial credit.",
        "responses": {
          "200": {
            "description": "Read one tenant fixture stream",
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Envelope"
                    },
                    {
                      "type": "object",
                      "required": [
                        "streams",
                        "limit",
                        "live_deposits_enabled"
                      ],
                      "properties": {
                        "streams": {
                          "type": "array",
                          "maxItems": 50,
                          "items": {
                            "$ref": "#/components/schemas/SolanaFixtureStream"
                          }
                        },
                        "limit": {
                          "const": 50
                        },
                        "live_deposits_enabled": {
                          "const": false
                        }
                      }
                    }
                  ]
                }
              }
            }
          },
          "400": {
            "description": "Invalid package, strict schema, expiry or proof"
          },
          "401": {
            "description": "Authentication required"
          },
          "403": {
            "description": "Role/scope/MFA or observe-only restriction"
          },
          "404": {
            "description": "Foreign or missing tenant object"
          },
          "409": {
            "description": "Revision change, voided package or immutable evidence conflict"
          },
          "429": {
            "description": "Rate limit"
          },
          "503": {
            "description": "Configuration, capability negotiation or persistence unavailable"
          }
        }
      }
    },
    "/v1/organizations/{org}/solana-indexer/streams/{stream}/control": {
      "post": {
        "summary": "Pause or resume replay with a separate control revision",
        "operationId": "post_v1_organizations_org_solana-indexer_streams_stream_control",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "stream",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "security": [
          {
            "sessionCookie": []
          },
          {
            "SandboxSession": []
          }
        ],
        "description": "Requires organization:read and solana:read. Mutations additionally require solana:write and current owner/admin/developer/operator role. Public RPC-shaped fixtures only. No signature verification, customer ownership, live finality, deposit attribution or financial credit.",
        "responses": {
          "200": {
            "description": "Pause or resume replay with a separate control revision",
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Envelope"
                    },
                    {
                      "type": "object",
                      "required": [
                        "paused",
                        "control_revision"
                      ],
                      "properties": {
                        "paused": {
                          "type": "boolean"
                        },
                        "control_revision": {
                          "type": "integer",
                          "minimum": 0,
                          "maximum": 9223372036854775807
                        }
                      }
                    }
                  ]
                }
              }
            }
          },
          "400": {
            "description": "Invalid package, strict schema, expiry or proof"
          },
          "401": {
            "description": "Authentication required"
          },
          "403": {
            "description": "Role/scope/MFA or observe-only restriction"
          },
          "404": {
            "description": "Foreign or missing tenant object"
          },
          "409": {
            "description": "Revision change, voided package or immutable evidence conflict"
          },
          "429": {
            "description": "Rate limit"
          },
          "503": {
            "description": "Configuration, capability negotiation or persistence unavailable"
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SolanaFixtureControl"
              }
            }
          }
        }
      }
    },
    "/v1/organizations/{org}/solana-indexer/streams/{stream}/events": {
      "get": {
        "summary": "Read latest 200 canonical and retained orphaned inclusions",
        "operationId": "get_v1_organizations_org_solana-indexer_streams_stream_events",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "stream",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "security": [
          {
            "sessionCookie": []
          },
          {
            "sandboxKey": []
          },
          {
            "SandboxSession": []
          }
        ],
        "description": "Requires organization:read and solana:read. Mutations additionally require solana:write and current owner/admin/developer/operator role. Public RPC-shaped fixtures only. No signature verification, customer ownership, live finality, deposit attribution or financial credit.",
        "responses": {
          "200": {
            "description": "Read latest 200 canonical and retained orphaned inclusions",
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Envelope"
                    },
                    {
                      "type": "object",
                      "required": [
                        "events",
                        "limit",
                        "customer_attribution_verified",
                        "live_deposits_enabled"
                      ],
                      "properties": {
                        "events": {
                          "type": "array",
                          "maxItems": 200,
                          "items": {
                            "$ref": "#/components/schemas/SolanaFixtureTransfer"
                          }
                        },
                        "limit": {
                          "const": 200
                        },
                        "customer_attribution_verified": {
                          "const": false
                        },
                        "live_deposits_enabled": {
                          "const": false
                        }
                      }
                    }
                  ]
                }
              }
            }
          },
          "400": {
            "description": "Invalid package, strict schema, expiry or proof"
          },
          "401": {
            "description": "Authentication required"
          },
          "403": {
            "description": "Role/scope/MFA or observe-only restriction"
          },
          "404": {
            "description": "Foreign or missing tenant object"
          },
          "409": {
            "description": "Revision change, voided package or immutable evidence conflict"
          },
          "429": {
            "description": "Rate limit"
          },
          "503": {
            "description": "Configuration, capability negotiation or persistence unavailable"
          }
        }
      }
    },
    "/v1/organizations/{org}/solana-indexer/streams/{stream}/pages": {
      "get": {
        "summary": "Read latest 100 durable page outcomes",
        "operationId": "get_v1_organizations_org_solana-indexer_streams_stream_pages",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "stream",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "security": [
          {
            "sessionCookie": []
          },
          {
            "sandboxKey": []
          },
          {
            "SandboxSession": []
          }
        ],
        "description": "Requires organization:read and solana:read. Mutations additionally require solana:write and current owner/admin/developer/operator role. Public RPC-shaped fixtures only. No signature verification, customer ownership, live finality, deposit attribution or financial credit.",
        "responses": {
          "200": {
            "description": "Read latest 100 durable page outcomes",
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Envelope"
                    },
                    {
                      "type": "object",
                      "required": [
                        "pages",
                        "limit"
                      ],
                      "properties": {
                        "pages": {
                          "type": "array",
                          "maxItems": 100,
                          "items": {
                            "$ref": "#/components/schemas/SolanaFixturePage"
                          }
                        },
                        "limit": {
                          "const": 100
                        }
                      }
                    }
                  ]
                }
              }
            }
          },
          "400": {
            "description": "Invalid package, strict schema, expiry or proof"
          },
          "401": {
            "description": "Authentication required"
          },
          "403": {
            "description": "Role/scope/MFA or observe-only restriction"
          },
          "404": {
            "description": "Foreign or missing tenant object"
          },
          "409": {
            "description": "Revision change, voided package or immutable evidence conflict"
          },
          "429": {
            "description": "Rate limit"
          },
          "503": {
            "description": "Configuration, capability negotiation or persistence unavailable"
          }
        }
      },
      "post": {
        "summary": "Queue one bounded public page for atomic background replay",
        "operationId": "post_v1_organizations_org_solana-indexer_streams_stream_pages",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "stream",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "Idempotency-Key",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string",
              "pattern": "^[A-Za-z0-9_-]{8,80}$"
            }
          }
        ],
        "security": [
          {
            "sessionCookie": []
          },
          {
            "sandboxKey": []
          },
          {
            "SandboxSession": []
          }
        ],
        "description": "Requires organization:read and solana:read. Mutations additionally require solana:write and current owner/admin/developer/operator role. Public RPC-shaped fixtures only. No signature verification, customer ownership, live finality, deposit attribution or financial credit.",
        "responses": {
          "200": {
            "description": "Exact typed input and key replay; no new page",
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Envelope"
                    },
                    {
                      "type": "object",
                      "required": [
                        "page_id",
                        "replayed"
                      ],
                      "properties": {
                        "page_id": {
                          "type": "string",
                          "format": "uuid"
                        },
                        "replayed": {
                          "const": true
                        }
                      }
                    }
                  ]
                }
              }
            }
          },
          "400": {
            "description": "Invalid package, strict schema, expiry or proof"
          },
          "401": {
            "description": "Authentication required"
          },
          "403": {
            "description": "Role/scope/MFA or observe-only restriction"
          },
          "404": {
            "description": "Foreign or missing tenant object"
          },
          "409": {
            "description": "Revision change, voided package or immutable evidence conflict"
          },
          "429": {
            "description": "Rate limit"
          },
          "503": {
            "description": "Configuration, capability negotiation or persistence unavailable"
          },
          "202": {
            "description": "Queue one bounded public page for atomic background replay",
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Envelope"
                    },
                    {
                      "type": "object",
                      "required": [
                        "page_id",
                        "state",
                        "source_mode"
                      ],
                      "properties": {
                        "page_id": {
                          "type": "string",
                          "format": "uuid"
                        },
                        "state": {
                          "const": "queued"
                        },
                        "source_mode": {
                          "const": "rpc_shaped_fixture"
                        }
                      }
                    }
                  ]
                }
              }
            }
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SolanaFixturePageInput"
              }
            }
          }
        }
      }
    },
    "/v1/organizations/{org}/solana-indexer/pages/{page}": {
      "get": {
        "summary": "Inspect one tenant durable page outcome",
        "operationId": "get_v1_organizations_org_solana-indexer_pages_page",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "page",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "security": [
          {
            "sessionCookie": []
          },
          {
            "sandboxKey": []
          },
          {
            "SandboxSession": []
          }
        ],
        "description": "Requires organization:read and solana:read. Mutations additionally require solana:write and current owner/admin/developer/operator role. Public RPC-shaped fixtures only. No signature verification, customer ownership, live finality, deposit attribution or financial credit.",
        "responses": {
          "200": {
            "description": "Inspect one tenant durable page outcome",
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Envelope"
                    },
                    {
                      "type": "object",
                      "required": [
                        "id",
                        "stream_id",
                        "state",
                        "error_code",
                        "result",
                        "input_digest",
                        "source_mode",
                        "deposit_credited"
                      ],
                      "properties": {
                        "id": {
                          "type": "string",
                          "format": "uuid"
                        },
                        "stream_id": {
                          "type": "string",
                          "format": "uuid"
                        },
                        "state": {
                          "enum": [
                            "queued",
                            "applied",
                            "rejected"
                          ]
                        },
                        "error_code": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "result": {
                          "type": [
                            "object",
                            "null"
                          ]
                        },
                        "input_digest": {
                          "type": "string"
                        },
                        "source_mode": {
                          "const": "rpc_shaped_fixture"
                        },
                        "deposit_credited": {
                          "const": false
                        }
                      }
                    }
                  ]
                }
              }
            }
          },
          "400": {
            "description": "Invalid package, strict schema, expiry or proof"
          },
          "401": {
            "description": "Authentication required"
          },
          "403": {
            "description": "Role/scope/MFA or observe-only restriction"
          },
          "404": {
            "description": "Foreign or missing tenant object"
          },
          "409": {
            "description": "Revision change, voided package or immutable evidence conflict"
          },
          "429": {
            "description": "Rate limit"
          },
          "503": {
            "description": "Configuration, capability negotiation or persistence unavailable"
          }
        }
      }
    },
    "/v1/organizations/{org}/base-indexer/capabilities": {
      "get": {
        "summary": "Inspect fixture formats and explicit certification boundaries",
        "operationId": "get_v1_organizations_org_base-indexer_capabilities",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "security": [
          {
            "sessionCookie": []
          },
          {
            "sandboxKey": []
          },
          {
            "SandboxSession": []
          }
        ],
        "description": "Requires organization:read and base:read; mutations also base:write and owner/admin/developer/operator. Public RPC fixtures only. Semantic receipt/provider/finality failures persist as rejected page outcomes with no checkpoint advance. No cryptographic receipt proof, transaction signature verification, L1 derivation, live mempool, customer address ownership or financial credit. Promotions distinguish safe and finalized; finalized ancestry cannot be rewound.",
        "responses": {
          "200": {
            "description": "Inspect fixture formats and explicit certification boundaries",
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Envelope"
                    },
                    {
                      "type": "object",
                      "required": [
                        "source_mode",
                        "assets",
                        "formats",
                        "transaction_signature_verified",
                        "receipt_proof_verified",
                        "l1_derivation_verified",
                        "live_mempool_observation",
                        "independent_rpc_providers",
                        "live_ingestion",
                        "customer_address_ownership_verified",
                        "deposit_credited",
                        "live_deposits_enabled",
                        "fixture_body_limit"
                      ],
                      "properties": {
                        "source_mode": {
                          "const": "rpc_shaped_fixture"
                        },
                        "assets": {
                          "const": [
                            "USDC_BASE"
                          ]
                        },
                        "formats": {
                          "const": [
                            "erc20_transfer_logs",
                            "positive_receipts",
                            "sender_nonce_history"
                          ]
                        },
                        "transaction_signature_verified": {
                          "const": false
                        },
                        "receipt_proof_verified": {
                          "const": false
                        },
                        "l1_derivation_verified": {
                          "const": false
                        },
                        "live_mempool_observation": {
                          "const": false
                        },
                        "independent_rpc_providers": {
                          "const": false
                        },
                        "live_ingestion": {
                          "const": false
                        },
                        "customer_address_ownership_verified": {
                          "const": false
                        },
                        "deposit_credited": {
                          "const": false
                        },
                        "live_deposits_enabled": {
                          "const": false
                        },
                        "fixture_body_limit": {
                          "const": 1048576
                        }
                      }
                    }
                  ]
                }
              }
            }
          },
          "400": {
            "description": "Invalid package, strict schema, expiry or proof"
          },
          "401": {
            "description": "Authentication required"
          },
          "403": {
            "description": "Role/scope/MFA or observe-only restriction"
          },
          "404": {
            "description": "Foreign or missing tenant object"
          },
          "409": {
            "description": "Revision change, voided package or immutable evidence conflict"
          },
          "429": {
            "description": "Rate limit"
          },
          "503": {
            "description": "Configuration, capability negotiation or persistence unavailable"
          }
        }
      }
    },
    "/v1/organizations/{org}/base-indexer/examples": {
      "get": {
        "summary": "Load public synthetic watch and stream/backfill/fork/finality fixtures",
        "operationId": "get_v1_organizations_org_base-indexer_examples",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "security": [
          {
            "sessionCookie": []
          },
          {
            "sandboxKey": []
          },
          {
            "SandboxSession": []
          }
        ],
        "description": "Requires organization:read and base:read; mutations also base:write and owner/admin/developer/operator. Public RPC fixtures only. Semantic receipt/provider/finality failures persist as rejected page outcomes with no checkpoint advance. No cryptographic receipt proof, transaction signature verification, L1 derivation, live mempool, customer address ownership or financial credit. Promotions distinguish safe and finalized; finalized ancestry cannot be rewound.",
        "responses": {
          "200": {
            "description": "Load public synthetic watch and stream/backfill/fork/finality fixtures",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "description": "Public synthetic identifiers and deliberately non-transaction signature bytes. Example stream config and five page scenarios; expected_revision must match selected stream."
                }
              }
            }
          },
          "400": {
            "description": "Invalid package, strict schema, expiry or proof"
          },
          "401": {
            "description": "Authentication required"
          },
          "403": {
            "description": "Role/scope/MFA or observe-only restriction"
          },
          "404": {
            "description": "Foreign or missing tenant object"
          },
          "409": {
            "description": "Revision change, voided package or immutable evidence conflict"
          },
          "429": {
            "description": "Rate limit"
          },
          "503": {
            "description": "Configuration, capability negotiation or persistence unavailable"
          }
        }
      }
    },
    "/v1/organizations/{org}/base-indexer/streams": {
      "get": {
        "summary": "List latest 50 tenant fixture streams",
        "operationId": "get_v1_organizations_org_base-indexer_streams",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "security": [
          {
            "sessionCookie": []
          },
          {
            "sandboxKey": []
          },
          {
            "SandboxSession": []
          }
        ],
        "description": "Requires organization:read and base:read; mutations also base:write and owner/admin/developer/operator. Public RPC fixtures only. Semantic receipt/provider/finality failures persist as rejected page outcomes with no checkpoint advance. No cryptographic receipt proof, transaction signature verification, L1 derivation, live mempool, customer address ownership or financial credit. Promotions distinguish safe and finalized; finalized ancestry cannot be rewound.",
        "responses": {
          "200": {
            "description": "List latest 50 tenant fixture streams",
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Envelope"
                    },
                    {
                      "type": "object",
                      "required": [
                        "streams",
                        "limit",
                        "live_deposits_enabled"
                      ],
                      "properties": {
                        "streams": {
                          "type": "array",
                          "maxItems": 50,
                          "items": {
                            "$ref": "#/components/schemas/BaseFixtureStream"
                          }
                        },
                        "limit": {
                          "const": 50
                        },
                        "live_deposits_enabled": {
                          "const": false
                        }
                      }
                    }
                  ]
                }
              }
            }
          },
          "400": {
            "description": "Invalid package, strict schema, expiry or proof"
          },
          "401": {
            "description": "Authentication required"
          },
          "403": {
            "description": "Role/scope/MFA or observe-only restriction"
          },
          "404": {
            "description": "Foreign or missing tenant object"
          },
          "409": {
            "description": "Revision change, voided package or immutable evidence conflict"
          },
          "429": {
            "description": "Rate limit"
          },
          "503": {
            "description": "Configuration, capability negotiation or persistence unavailable"
          }
        }
      },
      "post": {
        "summary": "Create immutable fixture observation filters and anchor",
        "operationId": "post_v1_organizations_org_base-indexer_streams",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "security": [
          {
            "sessionCookie": []
          },
          {
            "sandboxKey": []
          },
          {
            "SandboxSession": []
          }
        ],
        "description": "Requires organization:read and base:read; mutations also base:write and owner/admin/developer/operator. Public RPC fixtures only. Semantic receipt/provider/finality failures persist as rejected page outcomes with no checkpoint advance. No cryptographic receipt proof, transaction signature verification, L1 derivation, live mempool, customer address ownership or financial credit. Promotions distinguish safe and finalized; finalized ancestry cannot be rewound.",
        "responses": {
          "200": {
            "description": "Fixture protocol metadata/result only, never customer asset signing or live eligibility",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FixtureWalletList"
                }
              }
            }
          },
          "400": {
            "description": "Invalid package, strict schema, expiry or proof"
          },
          "401": {
            "description": "Authentication required"
          },
          "403": {
            "description": "Role/scope/MFA or observe-only restriction"
          },
          "404": {
            "description": "Foreign or missing tenant object"
          },
          "409": {
            "description": "Revision change, voided package or immutable evidence conflict"
          },
          "429": {
            "description": "Rate limit"
          },
          "503": {
            "description": "Configuration, capability negotiation or persistence unavailable"
          },
          "201": {
            "description": "Create immutable fixture observation filters and anchor",
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Envelope"
                    },
                    {
                      "type": "object",
                      "required": [
                        "stream_id",
                        "revision",
                        "source_mode",
                        "live_ingestion",
                        "deposit_credited"
                      ],
                      "properties": {
                        "stream_id": {
                          "type": "string",
                          "format": "uuid"
                        },
                        "revision": {
                          "const": 0
                        },
                        "source_mode": {
                          "const": "rpc_shaped_fixture"
                        },
                        "live_ingestion": {
                          "const": false
                        },
                        "deposit_credited": {
                          "const": false
                        }
                      }
                    }
                  ]
                }
              }
            }
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/BaseFixtureStreamInput"
              }
            }
          }
        }
      }
    },
    "/v1/organizations/{org}/base-indexer/streams/{stream}": {
      "get": {
        "summary": "Read one tenant fixture stream",
        "operationId": "get_v1_organizations_org_base-indexer_streams_stream",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "stream",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "security": [
          {
            "sessionCookie": []
          },
          {
            "sandboxKey": []
          },
          {
            "SandboxSession": []
          }
        ],
        "description": "Requires organization:read and base:read; mutations also base:write and owner/admin/developer/operator. Public RPC fixtures only. Semantic receipt/provider/finality failures persist as rejected page outcomes with no checkpoint advance. No cryptographic receipt proof, transaction signature verification, L1 derivation, live mempool, customer address ownership or financial credit. Promotions distinguish safe and finalized; finalized ancestry cannot be rewound.",
        "responses": {
          "200": {
            "description": "Read one tenant fixture stream",
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Envelope"
                    },
                    {
                      "type": "object",
                      "required": [
                        "streams",
                        "limit",
                        "live_deposits_enabled"
                      ],
                      "properties": {
                        "streams": {
                          "type": "array",
                          "maxItems": 50,
                          "items": {
                            "$ref": "#/components/schemas/BaseFixtureStream"
                          }
                        },
                        "limit": {
                          "const": 50
                        },
                        "live_deposits_enabled": {
                          "const": false
                        }
                      }
                    }
                  ]
                }
              }
            }
          },
          "400": {
            "description": "Invalid package, strict schema, expiry or proof"
          },
          "401": {
            "description": "Authentication required"
          },
          "403": {
            "description": "Role/scope/MFA or observe-only restriction"
          },
          "404": {
            "description": "Foreign or missing tenant object"
          },
          "409": {
            "description": "Revision change, voided package or immutable evidence conflict"
          },
          "429": {
            "description": "Rate limit"
          },
          "503": {
            "description": "Configuration, capability negotiation or persistence unavailable"
          }
        }
      }
    },
    "/v1/organizations/{org}/base-indexer/streams/{stream}/control": {
      "post": {
        "summary": "Pause or resume replay with a separate control revision",
        "operationId": "post_v1_organizations_org_base-indexer_streams_stream_control",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "stream",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "security": [
          {
            "sessionCookie": []
          },
          {
            "SandboxSession": []
          }
        ],
        "description": "Requires organization:read and base:read; mutations also base:write and owner/admin/developer/operator. Public RPC fixtures only. Semantic receipt/provider/finality failures persist as rejected page outcomes with no checkpoint advance. No cryptographic receipt proof, transaction signature verification, L1 derivation, live mempool, customer address ownership or financial credit. Promotions distinguish safe and finalized; finalized ancestry cannot be rewound.",
        "responses": {
          "200": {
            "description": "Pause or resume replay with a separate control revision",
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Envelope"
                    },
                    {
                      "type": "object",
                      "required": [
                        "paused",
                        "control_revision"
                      ],
                      "properties": {
                        "paused": {
                          "type": "boolean"
                        },
                        "control_revision": {
                          "type": "integer",
                          "minimum": 0,
                          "maximum": 9223372036854775807
                        }
                      }
                    }
                  ]
                }
              }
            }
          },
          "400": {
            "description": "Invalid package, strict schema, expiry or proof"
          },
          "401": {
            "description": "Authentication required"
          },
          "403": {
            "description": "Role/scope/MFA or observe-only restriction"
          },
          "404": {
            "description": "Foreign or missing tenant object"
          },
          "409": {
            "description": "Revision change, voided package or immutable evidence conflict"
          },
          "429": {
            "description": "Rate limit"
          },
          "503": {
            "description": "Configuration, capability negotiation or persistence unavailable"
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/BaseFixtureControl"
              }
            }
          }
        }
      }
    },
    "/v1/organizations/{org}/base-indexer/streams/{stream}/events": {
      "get": {
        "summary": "Read latest 200 canonical and retained orphaned inclusions",
        "operationId": "get_v1_organizations_org_base-indexer_streams_stream_events",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "stream",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "security": [
          {
            "sessionCookie": []
          },
          {
            "sandboxKey": []
          },
          {
            "SandboxSession": []
          }
        ],
        "description": "Requires organization:read and base:read; mutations also base:write and owner/admin/developer/operator. Public RPC fixtures only. Semantic receipt/provider/finality failures persist as rejected page outcomes with no checkpoint advance. No cryptographic receipt proof, transaction signature verification, L1 derivation, live mempool, customer address ownership or financial credit. Promotions distinguish safe and finalized; finalized ancestry cannot be rewound.",
        "responses": {
          "200": {
            "description": "Read latest 200 canonical and retained orphaned inclusions",
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Envelope"
                    },
                    {
                      "type": "object",
                      "required": [
                        "events",
                        "limit",
                        "customer_attribution_verified",
                        "live_deposits_enabled"
                      ],
                      "properties": {
                        "events": {
                          "type": "array",
                          "maxItems": 200,
                          "items": {
                            "$ref": "#/components/schemas/BaseFixtureTransfer"
                          }
                        },
                        "limit": {
                          "const": 200
                        },
                        "customer_attribution_verified": {
                          "const": false
                        },
                        "live_deposits_enabled": {
                          "const": false
                        }
                      }
                    }
                  ]
                }
              }
            }
          },
          "400": {
            "description": "Invalid package, strict schema, expiry or proof"
          },
          "401": {
            "description": "Authentication required"
          },
          "403": {
            "description": "Role/scope/MFA or observe-only restriction"
          },
          "404": {
            "description": "Foreign or missing tenant object"
          },
          "409": {
            "description": "Revision change, voided package or immutable evidence conflict"
          },
          "429": {
            "description": "Rate limit"
          },
          "503": {
            "description": "Configuration, capability negotiation or persistence unavailable"
          }
        }
      }
    },
    "/v1/organizations/{org}/base-indexer/streams/{stream}/pages": {
      "get": {
        "summary": "Read latest 100 durable page outcomes",
        "operationId": "get_v1_organizations_org_base-indexer_streams_stream_pages",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "stream",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "security": [
          {
            "sessionCookie": []
          },
          {
            "sandboxKey": []
          },
          {
            "SandboxSession": []
          }
        ],
        "description": "Requires organization:read and base:read; mutations also base:write and owner/admin/developer/operator. Public RPC fixtures only. Semantic receipt/provider/finality failures persist as rejected page outcomes with no checkpoint advance. No cryptographic receipt proof, transaction signature verification, L1 derivation, live mempool, customer address ownership or financial credit. Promotions distinguish safe and finalized; finalized ancestry cannot be rewound.",
        "responses": {
          "200": {
            "description": "Read latest 100 durable page outcomes",
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Envelope"
                    },
                    {
                      "type": "object",
                      "required": [
                        "pages",
                        "limit"
                      ],
                      "properties": {
                        "pages": {
                          "type": "array",
                          "maxItems": 100,
                          "items": {
                            "$ref": "#/components/schemas/BaseFixturePage"
                          }
                        },
                        "limit": {
                          "const": 100
                        }
                      }
                    }
                  ]
                }
              }
            }
          },
          "400": {
            "description": "Invalid package, strict schema, expiry or proof"
          },
          "401": {
            "description": "Authentication required"
          },
          "403": {
            "description": "Role/scope/MFA or observe-only restriction"
          },
          "404": {
            "description": "Foreign or missing tenant object"
          },
          "409": {
            "description": "Revision change, voided package or immutable evidence conflict"
          },
          "429": {
            "description": "Rate limit"
          },
          "503": {
            "description": "Configuration, capability negotiation or persistence unavailable"
          }
        }
      },
      "post": {
        "summary": "Queue one bounded public page for atomic background replay",
        "operationId": "post_v1_organizations_org_base-indexer_streams_stream_pages",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "stream",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "Idempotency-Key",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string",
              "pattern": "^[A-Za-z0-9_-]{8,80}$"
            }
          }
        ],
        "security": [
          {
            "sessionCookie": []
          },
          {
            "sandboxKey": []
          },
          {
            "SandboxSession": []
          }
        ],
        "description": "Requires organization:read and base:read; mutations also base:write and owner/admin/developer/operator. Public RPC fixtures only. Semantic receipt/provider/finality failures persist as rejected page outcomes with no checkpoint advance. No cryptographic receipt proof, transaction signature verification, L1 derivation, live mempool, customer address ownership or financial credit. Promotions distinguish safe and finalized; finalized ancestry cannot be rewound.",
        "responses": {
          "200": {
            "description": "Exact typed input and key replay; no new page",
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Envelope"
                    },
                    {
                      "type": "object",
                      "required": [
                        "page_id",
                        "replayed"
                      ],
                      "properties": {
                        "page_id": {
                          "type": "string",
                          "format": "uuid"
                        },
                        "replayed": {
                          "const": true
                        }
                      }
                    }
                  ]
                }
              }
            }
          },
          "400": {
            "description": "Invalid package, strict schema, expiry or proof"
          },
          "401": {
            "description": "Authentication required"
          },
          "403": {
            "description": "Role/scope/MFA or observe-only restriction"
          },
          "404": {
            "description": "Foreign or missing tenant object"
          },
          "409": {
            "description": "Revision change, voided package or immutable evidence conflict"
          },
          "429": {
            "description": "Rate limit"
          },
          "503": {
            "description": "Configuration, capability negotiation or persistence unavailable"
          },
          "202": {
            "description": "Queue one bounded public page for atomic background replay",
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Envelope"
                    },
                    {
                      "type": "object",
                      "required": [
                        "page_id",
                        "state",
                        "source_mode"
                      ],
                      "properties": {
                        "page_id": {
                          "type": "string",
                          "format": "uuid"
                        },
                        "state": {
                          "const": "queued"
                        },
                        "source_mode": {
                          "const": "rpc_shaped_fixture"
                        }
                      }
                    }
                  ]
                }
              }
            }
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/BaseFixturePageInput"
              }
            }
          }
        }
      }
    },
    "/v1/organizations/{org}/base-indexer/pages/{page}": {
      "get": {
        "summary": "Inspect one tenant durable page outcome",
        "operationId": "get_v1_organizations_org_base-indexer_pages_page",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "page",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "security": [
          {
            "sessionCookie": []
          },
          {
            "sandboxKey": []
          },
          {
            "SandboxSession": []
          }
        ],
        "description": "Requires organization:read and base:read; mutations also base:write and owner/admin/developer/operator. Public RPC fixtures only. Semantic receipt/provider/finality failures persist as rejected page outcomes with no checkpoint advance. No cryptographic receipt proof, transaction signature verification, L1 derivation, live mempool, customer address ownership or financial credit. Promotions distinguish safe and finalized; finalized ancestry cannot be rewound.",
        "responses": {
          "200": {
            "description": "Inspect one tenant durable page outcome",
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Envelope"
                    },
                    {
                      "type": "object",
                      "required": [
                        "id",
                        "stream_id",
                        "state",
                        "error_code",
                        "result",
                        "input_digest",
                        "source_mode",
                        "deposit_credited"
                      ],
                      "properties": {
                        "id": {
                          "type": "string",
                          "format": "uuid"
                        },
                        "stream_id": {
                          "type": "string",
                          "format": "uuid"
                        },
                        "state": {
                          "enum": [
                            "queued",
                            "applied",
                            "rejected"
                          ]
                        },
                        "error_code": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "result": {
                          "type": [
                            "object",
                            "null"
                          ]
                        },
                        "input_digest": {
                          "type": "string"
                        },
                        "source_mode": {
                          "const": "rpc_shaped_fixture"
                        },
                        "deposit_credited": {
                          "const": false
                        }
                      }
                    }
                  ]
                }
              }
            }
          },
          "400": {
            "description": "Invalid package, strict schema, expiry or proof"
          },
          "401": {
            "description": "Authentication required"
          },
          "403": {
            "description": "Role/scope/MFA or observe-only restriction"
          },
          "404": {
            "description": "Foreign or missing tenant object"
          },
          "409": {
            "description": "Revision change, voided package or immutable evidence conflict"
          },
          "429": {
            "description": "Rate limit"
          },
          "503": {
            "description": "Configuration, capability negotiation or persistence unavailable"
          }
        }
      }
    },
    "/v1/organizations/{org}/base-indexer/streams/{stream}/transactions": {
      "get": {
        "summary": "Inspect latest 200 receipt inclusions and same-sender/nonce branch replacements",
        "operationId": "get_v1_organizations_org_base_indexer_streams_stream_transactions",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "stream",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "security": [
          {
            "sessionCookie": []
          },
          {
            "sandboxKey": []
          },
          {
            "SandboxSession": []
          }
        ],
        "description": "Requires organization:read and base:read; mutations also base:write and owner/admin/developer/operator. Public RPC fixtures only. Semantic receipt/provider/finality failures persist as rejected page outcomes with no checkpoint advance. No cryptographic receipt proof, transaction signature verification, L1 derivation, live mempool, customer address ownership or financial credit. Promotions distinguish safe and finalized; finalized ancestry cannot be rewound.",
        "responses": {
          "200": {
            "description": "Read latest 200 canonical and retained orphaned inclusions",
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Envelope"
                    },
                    {
                      "type": "object",
                      "required": [
                        "transactions",
                        "limit",
                        "live_mempool_observation"
                      ],
                      "properties": {
                        "transactions": {
                          "type": "array",
                          "maxItems": 200,
                          "items": {
                            "$ref": "#/components/schemas/BaseFixtureTransaction"
                          }
                        },
                        "limit": {
                          "const": 200
                        },
                        "live_mempool_observation": {
                          "const": false
                        }
                      }
                    }
                  ]
                }
              }
            }
          },
          "400": {
            "description": "Invalid package, strict schema, expiry or proof"
          },
          "401": {
            "description": "Authentication required"
          },
          "403": {
            "description": "Role/scope/MFA or observe-only restriction"
          },
          "404": {
            "description": "Foreign or missing tenant object"
          },
          "409": {
            "description": "Revision change, voided package or immutable evidence conflict"
          },
          "429": {
            "description": "Rate limit"
          },
          "503": {
            "description": "Configuration, capability negotiation or persistence unavailable"
          }
        }
      }
    },
    "/v1/organizations/{org}/collections/capabilities": {
      "get": {
        "summary": "GET /collections/capabilities",
        "operationId": "get_v1_organizations_org_collections_capabilities",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "security": [
          {
            "sessionCookie": []
          },
          {
            "sandboxKey": []
          },
          {
            "SandboxSession": []
          }
        ],
        "description": "Tenant-scoped local/sandbox fixtures only. Requires organization:read and collections:read; mutation also corresponding :write and current owner/admin/developer/operator with MFA. Exact immutable attribution; no real chain verification, financial credit or external URLs. Latest collection/event/delivery/receipt lists are bounded at 200 (endpoints 100). Fixed authenticated same-host receiver uses webhook-id, webhook-timestamp and webhook-signature v1 base64 HMAC-SHA256 over id.timestamp.raw_body with 300-second tolerance. Durable at-least-once delivery; inbox deduplicates one fixture effect. Retry cycle maximum five; explicit replay preserves event/body.",
        "responses": {
          "200": {
            "description": "Read or exact retry",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Envelope"
                }
              }
            }
          },
          "400": {
            "description": "Malformed, unsupported or context mismatch",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Envelope"
                }
              }
            }
          },
          "401": {
            "description": "Authentication required",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Envelope"
                }
              }
            }
          },
          "403": {
            "description": "Role, scope, MFA or environment denied",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Envelope"
                }
              }
            }
          },
          "404": {
            "description": "Tenant-owned resource missing",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Envelope"
                }
              }
            }
          },
          "409": {
            "description": "Stale revision, changed key reuse or immutable binding conflict",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Envelope"
                }
              }
            }
          },
          "429": {
            "description": "Quota exceeded",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Envelope"
                }
              }
            }
          }
        }
      }
    },
    "/v1/organizations/{org}/collections": {
      "get": {
        "summary": "GET /collections",
        "operationId": "get_v1_organizations_org_collections",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "security": [
          {
            "sessionCookie": []
          },
          {
            "sandboxKey": []
          },
          {
            "SandboxSession": []
          }
        ],
        "description": "Tenant-scoped local/sandbox fixtures only. Requires organization:read and collections:read; mutation also corresponding :write and current owner/admin/developer/operator with MFA. Exact immutable attribution; no real chain verification, financial credit or external URLs. Latest collection/event/delivery/receipt lists are bounded at 200 (endpoints 100). Fixed authenticated same-host receiver uses webhook-id, webhook-timestamp and webhook-signature v1 base64 HMAC-SHA256 over id.timestamp.raw_body with 300-second tolerance. Durable at-least-once delivery; inbox deduplicates one fixture effect. Retry cycle maximum five; explicit replay preserves event/body.",
        "responses": {
          "200": {
            "description": "Read or exact retry",
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Envelope"
                    },
                    {
                      "type": "object",
                      "required": [
                        "collections",
                        "limit",
                        "source_mode"
                      ],
                      "properties": {
                        "collections": {
                          "type": "array",
                          "maxItems": 200,
                          "items": {
                            "$ref": "#/components/schemas/CollectionRegistration"
                          }
                        },
                        "limit": {
                          "const": 200
                        },
                        "source_mode": {
                          "const": "rpc_shaped_fixture"
                        }
                      }
                    }
                  ]
                }
              }
            }
          },
          "400": {
            "description": "Malformed, unsupported or context mismatch",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Envelope"
                }
              }
            }
          },
          "401": {
            "description": "Authentication required",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Envelope"
                }
              }
            }
          },
          "403": {
            "description": "Role, scope, MFA or environment denied",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Envelope"
                }
              }
            }
          },
          "404": {
            "description": "Tenant-owned resource missing",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Envelope"
                }
              }
            }
          },
          "409": {
            "description": "Stale revision, changed key reuse or immutable binding conflict",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Envelope"
                }
              }
            }
          },
          "429": {
            "description": "Quota exceeded",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Envelope"
                }
              }
            }
          }
        }
      },
      "post": {
        "summary": "POST /collections",
        "operationId": "post_v1_organizations_org_collections",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "Idempotency-Key",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string",
              "minLength": 8,
              "maxLength": 80,
              "pattern": "^[A-Za-z0-9_-]+$"
            }
          }
        ],
        "security": [
          {
            "sessionCookie": []
          },
          {
            "sandboxKey": []
          },
          {
            "SandboxSession": []
          }
        ],
        "description": "Tenant-scoped local/sandbox fixtures only. Requires organization:read and collections:read; mutation also corresponding :write and current owner/admin/developer/operator with MFA. Exact immutable attribution; no real chain verification, financial credit or external URLs. Latest collection/event/delivery/receipt lists are bounded at 200 (endpoints 100). Fixed authenticated same-host receiver uses webhook-id, webhook-timestamp and webhook-signature v1 base64 HMAC-SHA256 over id.timestamp.raw_body with 300-second tolerance. Durable at-least-once delivery; inbox deduplicates one fixture effect. Retry cycle maximum five; explicit replay preserves event/body.",
        "responses": {
          "200": {
            "description": "Read or exact retry",
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Envelope"
                    },
                    {
                      "type": "object",
                      "required": [
                        "collection_id",
                        "replayed",
                        "customer_address_ownership_verified",
                        "live_deposits_enabled"
                      ],
                      "properties": {
                        "collection_id": {
                          "type": "string",
                          "format": "uuid"
                        },
                        "replayed": {
                          "const": true
                        },
                        "customer_address_ownership_verified": {
                          "const": false
                        },
                        "live_deposits_enabled": {
                          "const": false
                        }
                      }
                    }
                  ]
                }
              }
            }
          },
          "400": {
            "description": "Malformed, unsupported or context mismatch",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Envelope"
                }
              }
            }
          },
          "401": {
            "description": "Authentication required",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Envelope"
                }
              }
            }
          },
          "403": {
            "description": "Role, scope, MFA or environment denied",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Envelope"
                }
              }
            }
          },
          "404": {
            "description": "Tenant-owned resource missing",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Envelope"
                }
              }
            }
          },
          "409": {
            "description": "Stale revision, changed key reuse or immutable binding conflict",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Envelope"
                }
              }
            }
          },
          "429": {
            "description": "Quota exceeded",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Envelope"
                }
              }
            }
          },
          "201": {
            "description": "Created; endpoint secret shown only on first creation",
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Envelope"
                    },
                    {
                      "type": "object",
                      "required": [
                        "collection_id",
                        "customer_address_ownership_verified",
                        "live_deposits_enabled"
                      ],
                      "properties": {
                        "collection_id": {
                          "type": "string",
                          "format": "uuid"
                        },
                        "customer_address_ownership_verified": {
                          "const": false
                        },
                        "live_deposits_enabled": {
                          "const": false
                        }
                      }
                    }
                  ]
                }
              }
            }
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CollectionRegistrationInput"
              }
            }
          }
        }
      }
    },
    "/v1/organizations/{org}/collections/control": {
      "get": {
        "summary": "GET /collections/control",
        "operationId": "get_v1_organizations_org_collections_control",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "security": [
          {
            "sessionCookie": []
          },
          {
            "sandboxKey": []
          },
          {
            "SandboxSession": []
          }
        ],
        "description": "Tenant-scoped local/sandbox fixtures only. Requires organization:read and collections:read; mutation also corresponding :write and current owner/admin/developer/operator with MFA. Exact immutable attribution; no real chain verification, financial credit or external URLs. Latest collection/event/delivery/receipt lists are bounded at 200 (endpoints 100). Fixed authenticated same-host receiver uses webhook-id, webhook-timestamp and webhook-signature v1 base64 HMAC-SHA256 over id.timestamp.raw_body with 300-second tolerance. Durable at-least-once delivery; inbox deduplicates one fixture effect. Retry cycle maximum five; explicit replay preserves event/body.",
        "responses": {
          "200": {
            "description": "Read or exact retry",
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Envelope"
                    },
                    {
                      "type": "object",
                      "required": [
                        "active",
                        "paused",
                        "revision",
                        "last_error",
                        "fingerprint"
                      ],
                      "properties": {
                        "active": {
                          "type": "boolean"
                        },
                        "paused": {
                          "type": "boolean"
                        },
                        "revision": {
                          "type": "integer",
                          "minimum": 0
                        },
                        "last_error": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "fingerprint": {
                          "type": [
                            "string",
                            "null"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            }
          },
          "400": {
            "description": "Malformed, unsupported or context mismatch",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Envelope"
                }
              }
            }
          },
          "401": {
            "description": "Authentication required",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Envelope"
                }
              }
            }
          },
          "403": {
            "description": "Role, scope, MFA or environment denied",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Envelope"
                }
              }
            }
          },
          "404": {
            "description": "Tenant-owned resource missing",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Envelope"
                }
              }
            }
          },
          "409": {
            "description": "Stale revision, changed key reuse or immutable binding conflict",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Envelope"
                }
              }
            }
          },
          "429": {
            "description": "Quota exceeded",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Envelope"
                }
              }
            }
          }
        }
      },
      "post": {
        "summary": "POST /collections/control",
        "operationId": "post_v1_organizations_org_collections_control",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "security": [
          {
            "sessionCookie": []
          },
          {
            "SandboxSession": []
          }
        ],
        "description": "Tenant-scoped local/sandbox fixtures only. Requires organization:read and collections:read; mutation also corresponding :write and current owner/admin/developer/operator with MFA. Exact immutable attribution; no real chain verification, financial credit or external URLs. Latest collection/event/delivery/receipt lists are bounded at 200 (endpoints 100). Fixed authenticated same-host receiver uses webhook-id, webhook-timestamp and webhook-signature v1 base64 HMAC-SHA256 over id.timestamp.raw_body with 300-second tolerance. Durable at-least-once delivery; inbox deduplicates one fixture effect. Retry cycle maximum five; explicit replay preserves event/body.",
        "responses": {
          "200": {
            "description": "Read or exact retry",
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Envelope"
                    },
                    {
                      "type": "object",
                      "required": [
                        "paused",
                        "revision"
                      ],
                      "properties": {
                        "paused": {
                          "type": "boolean"
                        },
                        "revision": {
                          "type": "integer",
                          "minimum": 0
                        }
                      }
                    }
                  ]
                }
              }
            }
          },
          "400": {
            "description": "Malformed, unsupported or context mismatch",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Envelope"
                }
              }
            }
          },
          "401": {
            "description": "Authentication required",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Envelope"
                }
              }
            }
          },
          "403": {
            "description": "Role, scope, MFA or environment denied",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Envelope"
                }
              }
            }
          },
          "404": {
            "description": "Tenant-owned resource missing",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Envelope"
                }
              }
            }
          },
          "409": {
            "description": "Stale revision, changed key reuse or immutable binding conflict",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Envelope"
                }
              }
            }
          },
          "429": {
            "description": "Quota exceeded",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Envelope"
                }
              }
            }
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CollectionControlInput"
              }
            }
          }
        }
      }
    },
    "/v1/organizations/{org}/collections/reconcile": {
      "post": {
        "summary": "POST /collections/reconcile",
        "operationId": "post_v1_organizations_org_collections_reconcile",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "security": [
          {
            "sessionCookie": []
          },
          {
            "sandboxKey": []
          },
          {
            "SandboxSession": []
          }
        ],
        "description": "Tenant-scoped local/sandbox fixtures only. Requires organization:read and collections:read; mutation also corresponding :write and current owner/admin/developer/operator with MFA. Exact immutable attribution; no real chain verification, financial credit or external URLs. Latest collection/event/delivery/receipt lists are bounded at 200 (endpoints 100). Fixed authenticated same-host receiver uses webhook-id, webhook-timestamp and webhook-signature v1 base64 HMAC-SHA256 over id.timestamp.raw_body with 300-second tolerance. Durable at-least-once delivery; inbox deduplicates one fixture effect. Retry cycle maximum five; explicit replay preserves event/body.",
        "responses": {
          "200": {
            "description": "Read or exact retry",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Envelope"
                }
              }
            }
          },
          "400": {
            "description": "Malformed, unsupported or context mismatch",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Envelope"
                }
              }
            }
          },
          "401": {
            "description": "Authentication required",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Envelope"
                }
              }
            }
          },
          "403": {
            "description": "Role, scope, MFA or environment denied",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Envelope"
                }
              }
            }
          },
          "404": {
            "description": "Tenant-owned resource missing",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Envelope"
                }
              }
            }
          },
          "409": {
            "description": "Stale revision, changed key reuse or immutable binding conflict",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Envelope"
                }
              }
            }
          },
          "429": {
            "description": "Quota exceeded",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Envelope"
                }
              }
            }
          },
          "202": {
            "description": "Durably queued",
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Envelope"
                    },
                    {
                      "type": "object",
                      "required": [
                        "state",
                        "source_mode"
                      ],
                      "properties": {
                        "state": {
                          "const": "queued"
                        },
                        "source_mode": {
                          "const": "rpc_shaped_fixture"
                        }
                      }
                    }
                  ]
                }
              }
            }
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/EmptyObject"
              }
            }
          }
        }
      }
    },
    "/v1/organizations/{org}/collections/movements": {
      "get": {
        "summary": "GET /collections/movements",
        "operationId": "get_v1_organizations_org_collections_movements",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "security": [
          {
            "sessionCookie": []
          },
          {
            "sandboxKey": []
          },
          {
            "SandboxSession": []
          }
        ],
        "description": "Tenant-scoped local/sandbox fixtures only. Requires organization:read and collections:read; mutation also corresponding :write and current owner/admin/developer/operator with MFA. Exact immutable attribution; no real chain verification, financial credit or external URLs. Latest collection/event/delivery/receipt lists are bounded at 200 (endpoints 100). Fixed authenticated same-host receiver uses webhook-id, webhook-timestamp and webhook-signature v1 base64 HMAC-SHA256 over id.timestamp.raw_body with 300-second tolerance. Durable at-least-once delivery; inbox deduplicates one fixture effect. Retry cycle maximum five; explicit replay preserves event/body.",
        "responses": {
          "200": {
            "description": "Read or exact retry",
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Envelope"
                    },
                    {
                      "type": "object",
                      "required": [
                        "movements",
                        "limit",
                        "live_deposits_enabled"
                      ],
                      "properties": {
                        "movements": {
                          "type": "array",
                          "maxItems": 200,
                          "items": {
                            "$ref": "#/components/schemas/CollectionMovement"
                          }
                        },
                        "limit": {
                          "const": 200
                        },
                        "live_deposits_enabled": {
                          "const": false
                        }
                      }
                    }
                  ]
                }
              }
            }
          },
          "400": {
            "description": "Malformed, unsupported or context mismatch",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Envelope"
                }
              }
            }
          },
          "401": {
            "description": "Authentication required",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Envelope"
                }
              }
            }
          },
          "403": {
            "description": "Role, scope, MFA or environment denied",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Envelope"
                }
              }
            }
          },
          "404": {
            "description": "Tenant-owned resource missing",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Envelope"
                }
              }
            }
          },
          "409": {
            "description": "Stale revision, changed key reuse or immutable binding conflict",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Envelope"
                }
              }
            }
          },
          "429": {
            "description": "Quota exceeded",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Envelope"
                }
              }
            }
          }
        }
      }
    },
    "/v1/organizations/{org}/collections/unmatched": {
      "get": {
        "summary": "GET /collections/unmatched",
        "operationId": "get_v1_organizations_org_collections_unmatched",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "security": [
          {
            "sessionCookie": []
          },
          {
            "sandboxKey": []
          },
          {
            "SandboxSession": []
          }
        ],
        "description": "Tenant-scoped local/sandbox fixtures only. Requires organization:read and collections:read; mutation also corresponding :write and current owner/admin/developer/operator with MFA. Exact immutable attribution; no real chain verification, financial credit or external URLs. Latest collection/event/delivery/receipt lists are bounded at 200 (endpoints 100). Fixed authenticated same-host receiver uses webhook-id, webhook-timestamp and webhook-signature v1 base64 HMAC-SHA256 over id.timestamp.raw_body with 300-second tolerance. Durable at-least-once delivery; inbox deduplicates one fixture effect. Retry cycle maximum five; explicit replay preserves event/body.",
        "responses": {
          "200": {
            "description": "Read or exact retry",
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Envelope"
                    },
                    {
                      "type": "object",
                      "required": [
                        "movements",
                        "limit",
                        "live_deposits_enabled"
                      ],
                      "properties": {
                        "movements": {
                          "type": "array",
                          "maxItems": 200,
                          "items": {
                            "$ref": "#/components/schemas/CollectionMovement"
                          }
                        },
                        "limit": {
                          "const": 200
                        },
                        "live_deposits_enabled": {
                          "const": false
                        }
                      }
                    }
                  ]
                }
              }
            }
          },
          "400": {
            "description": "Malformed, unsupported or context mismatch",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Envelope"
                }
              }
            }
          },
          "401": {
            "description": "Authentication required",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Envelope"
                }
              }
            }
          },
          "403": {
            "description": "Role, scope, MFA or environment denied",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Envelope"
                }
              }
            }
          },
          "404": {
            "description": "Tenant-owned resource missing",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Envelope"
                }
              }
            }
          },
          "409": {
            "description": "Stale revision, changed key reuse or immutable binding conflict",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Envelope"
                }
              }
            }
          },
          "429": {
            "description": "Quota exceeded",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Envelope"
                }
              }
            }
          }
        }
      }
    },
    "/v1/organizations/{org}/collections/events": {
      "get": {
        "summary": "GET /collections/events",
        "operationId": "get_v1_organizations_org_collections_events",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "security": [
          {
            "sessionCookie": []
          },
          {
            "sandboxKey": []
          },
          {
            "SandboxSession": []
          }
        ],
        "description": "Tenant-scoped local/sandbox fixtures only. Requires organization:read and collections:read; mutation also corresponding :write and current owner/admin/developer/operator with MFA. Exact immutable attribution; no real chain verification, financial credit or external URLs. Latest collection/event/delivery/receipt lists are bounded at 200 (endpoints 100). Fixed authenticated same-host receiver uses webhook-id, webhook-timestamp and webhook-signature v1 base64 HMAC-SHA256 over id.timestamp.raw_body with 300-second tolerance. Durable at-least-once delivery; inbox deduplicates one fixture effect. Retry cycle maximum five; explicit replay preserves event/body.",
        "responses": {
          "200": {
            "description": "Read or exact retry",
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Envelope"
                    },
                    {
                      "type": "object",
                      "required": [
                        "events",
                        "limit"
                      ],
                      "properties": {
                        "events": {
                          "type": "array",
                          "maxItems": 200,
                          "items": {
                            "$ref": "#/components/schemas/CollectionRawEvent"
                          }
                        },
                        "limit": {
                          "const": 200
                        }
                      }
                    }
                  ]
                }
              }
            }
          },
          "400": {
            "description": "Malformed, unsupported or context mismatch",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Envelope"
                }
              }
            }
          },
          "401": {
            "description": "Authentication required",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Envelope"
                }
              }
            }
          },
          "403": {
            "description": "Role, scope, MFA or environment denied",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Envelope"
                }
              }
            }
          },
          "404": {
            "description": "Tenant-owned resource missing",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Envelope"
                }
              }
            }
          },
          "409": {
            "description": "Stale revision, changed key reuse or immutable binding conflict",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Envelope"
                }
              }
            }
          },
          "429": {
            "description": "Quota exceeded",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Envelope"
                }
              }
            }
          }
        }
      }
    },
    "/v1/organizations/{org}/collections/events/{event}": {
      "get": {
        "summary": "GET /collections/events/{event}",
        "operationId": "get_v1_organizations_org_collections_events_event",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "event",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "security": [
          {
            "sessionCookie": []
          },
          {
            "sandboxKey": []
          },
          {
            "SandboxSession": []
          }
        ],
        "description": "Tenant-scoped local/sandbox fixtures only. Requires organization:read and collections:read; mutation also corresponding :write and current owner/admin/developer/operator with MFA. Exact immutable attribution; no real chain verification, financial credit or external URLs. Latest collection/event/delivery/receipt lists are bounded at 200 (endpoints 100). Fixed authenticated same-host receiver uses webhook-id, webhook-timestamp and webhook-signature v1 base64 HMAC-SHA256 over id.timestamp.raw_body with 300-second tolerance. Durable at-least-once delivery; inbox deduplicates one fixture effect. Retry cycle maximum five; explicit replay preserves event/body.",
        "responses": {
          "200": {
            "description": "Read or exact retry",
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Envelope"
                    },
                    {
                      "type": "object",
                      "required": [
                        "events",
                        "limit"
                      ],
                      "properties": {
                        "events": {
                          "type": "array",
                          "maxItems": 200,
                          "items": {
                            "$ref": "#/components/schemas/CollectionRawEvent"
                          }
                        },
                        "limit": {
                          "const": 200
                        }
                      }
                    }
                  ]
                }
              }
            }
          },
          "400": {
            "description": "Malformed, unsupported or context mismatch",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Envelope"
                }
              }
            }
          },
          "401": {
            "description": "Authentication required",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Envelope"
                }
              }
            }
          },
          "403": {
            "description": "Role, scope, MFA or environment denied",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Envelope"
                }
              }
            }
          },
          "404": {
            "description": "Tenant-owned resource missing",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Envelope"
                }
              }
            }
          },
          "409": {
            "description": "Stale revision, changed key reuse or immutable binding conflict",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Envelope"
                }
              }
            }
          },
          "429": {
            "description": "Quota exceeded",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Envelope"
                }
              }
            }
          }
        }
      }
    },
    "/v1/organizations/{org}/webhooks": {
      "get": {
        "summary": "GET /webhooks",
        "operationId": "get_v1_organizations_org_webhooks",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "security": [
          {
            "sessionCookie": []
          },
          {
            "sandboxKey": []
          },
          {
            "SandboxSession": []
          }
        ],
        "description": "Tenant-scoped local/sandbox fixtures only. Requires organization:read and webhooks:read; mutation also corresponding :write and current owner/admin/developer/operator with MFA. Exact immutable attribution; no real chain verification, financial credit or external URLs. Latest collection/event/delivery/receipt lists are bounded at 200 (endpoints 100). Fixed authenticated same-host receiver uses webhook-id, webhook-timestamp and webhook-signature v1 base64 HMAC-SHA256 over id.timestamp.raw_body with 300-second tolerance. Durable at-least-once delivery; inbox deduplicates one fixture effect. Retry cycle maximum five; explicit replay preserves event/body. M17 also delivers checkout.updated_fixture through the same immutable HMAC outbox/inbox. Neither fixture event certifies real funds or invoice settlement.",
        "responses": {
          "200": {
            "description": "Read or exact retry",
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Envelope"
                    },
                    {
                      "type": "object",
                      "required": [
                        "endpoints",
                        "limit"
                      ],
                      "properties": {
                        "endpoints": {
                          "type": "array",
                          "maxItems": 100,
                          "items": {
                            "$ref": "#/components/schemas/WebhookEndpoint"
                          }
                        },
                        "limit": {
                          "const": 100
                        }
                      }
                    }
                  ]
                }
              }
            }
          },
          "400": {
            "description": "Malformed, unsupported or context mismatch",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Envelope"
                }
              }
            }
          },
          "401": {
            "description": "Authentication required",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Envelope"
                }
              }
            }
          },
          "403": {
            "description": "Role, scope, MFA or environment denied",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Envelope"
                }
              }
            }
          },
          "404": {
            "description": "Tenant-owned resource missing",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Envelope"
                }
              }
            }
          },
          "409": {
            "description": "Stale revision, changed key reuse or immutable binding conflict",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Envelope"
                }
              }
            }
          },
          "429": {
            "description": "Quota exceeded",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Envelope"
                }
              }
            }
          }
        }
      },
      "post": {
        "summary": "POST /webhooks",
        "operationId": "post_v1_organizations_org_webhooks",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "Idempotency-Key",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string",
              "minLength": 8,
              "maxLength": 80,
              "pattern": "^[A-Za-z0-9_-]+$"
            }
          }
        ],
        "security": [
          {
            "sessionCookie": []
          },
          {
            "sandboxKey": []
          },
          {
            "SandboxSession": []
          }
        ],
        "description": "Tenant-scoped local/sandbox fixtures only. Requires organization:read and webhooks:read; mutation also corresponding :write and current owner/admin/developer/operator with MFA. Exact immutable attribution; no real chain verification, financial credit or external URLs. Latest collection/event/delivery/receipt lists are bounded at 200 (endpoints 100). Fixed authenticated same-host receiver uses webhook-id, webhook-timestamp and webhook-signature v1 base64 HMAC-SHA256 over id.timestamp.raw_body with 300-second tolerance. Durable at-least-once delivery; inbox deduplicates one fixture effect. Retry cycle maximum five; explicit replay preserves event/body. M17 also delivers checkout.updated_fixture through the same immutable HMAC outbox/inbox. Neither fixture event certifies real funds or invoice settlement.",
        "responses": {
          "200": {
            "description": "Read or exact retry",
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Envelope"
                    },
                    {
                      "type": "object",
                      "required": [
                        "endpoint_id",
                        "replayed",
                        "secret_available"
                      ],
                      "properties": {
                        "endpoint_id": {
                          "type": "string",
                          "format": "uuid"
                        },
                        "replayed": {
                          "const": true
                        },
                        "secret_available": {
                          "const": false
                        }
                      }
                    }
                  ]
                }
              }
            }
          },
          "400": {
            "description": "Malformed, unsupported or context mismatch",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Envelope"
                }
              }
            }
          },
          "401": {
            "description": "Authentication required",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Envelope"
                }
              }
            }
          },
          "403": {
            "description": "Role, scope, MFA or environment denied",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Envelope"
                }
              }
            }
          },
          "404": {
            "description": "Tenant-owned resource missing",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Envelope"
                }
              }
            }
          },
          "409": {
            "description": "Stale revision, changed key reuse or immutable binding conflict",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Envelope"
                }
              }
            }
          },
          "429": {
            "description": "Quota exceeded",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Envelope"
                }
              }
            }
          },
          "201": {
            "description": "Created; endpoint secret shown only on first creation",
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Envelope"
                    },
                    {
                      "type": "object",
                      "required": [
                        "endpoint_id",
                        "secret",
                        "shown_once",
                        "receiver",
                        "live_delivery"
                      ],
                      "properties": {
                        "endpoint_id": {
                          "type": "string",
                          "format": "uuid"
                        },
                        "secret": {
                          "type": "string",
                          "pattern": "^whsec_[A-Za-z0-9+/]{43}=$",
                          "description": "Returned only on first creation. Store privately; never include in logs or evidence."
                        },
                        "shown_once": {
                          "const": true
                        },
                        "receiver": {
                          "const": "local_fixture"
                        },
                        "live_delivery": {
                          "const": false
                        }
                      }
                    }
                  ]
                }
              }
            }
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/WebhookEndpointInput"
              }
            }
          }
        }
      }
    },
    "/v1/organizations/{org}/webhooks/{endpoint}/control": {
      "post": {
        "summary": "POST /webhooks/{endpoint}/control",
        "operationId": "post_v1_organizations_org_webhooks_endpoint_control",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "endpoint",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "security": [
          {
            "sessionCookie": []
          },
          {
            "SandboxSession": []
          }
        ],
        "description": "Tenant-scoped local/sandbox fixtures only. Requires organization:read and webhooks:read; mutation also corresponding :write and current owner/admin/developer/operator with MFA. Exact immutable attribution; no real chain verification, financial credit or external URLs. Latest collection/event/delivery/receipt lists are bounded at 200 (endpoints 100). Fixed authenticated same-host receiver uses webhook-id, webhook-timestamp and webhook-signature v1 base64 HMAC-SHA256 over id.timestamp.raw_body with 300-second tolerance. Durable at-least-once delivery; inbox deduplicates one fixture effect. Retry cycle maximum five; explicit replay preserves event/body. M17 also delivers checkout.updated_fixture through the same immutable HMAC outbox/inbox. Neither fixture event certifies real funds or invoice settlement.",
        "responses": {
          "200": {
            "description": "Read or exact retry",
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Envelope"
                    },
                    {
                      "type": "object",
                      "required": [
                        "revision",
                        "enabled",
                        "scenario"
                      ],
                      "properties": {
                        "revision": {
                          "type": "integer",
                          "minimum": 0
                        },
                        "enabled": {
                          "type": "boolean"
                        },
                        "scenario": {
                          "enum": [
                            "accept",
                            "outage",
                            "ack_lost_once",
                            "permanent_error",
                            "crash_after_dispatch"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            }
          },
          "400": {
            "description": "Malformed, unsupported or context mismatch",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Envelope"
                }
              }
            }
          },
          "401": {
            "description": "Authentication required",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Envelope"
                }
              }
            }
          },
          "403": {
            "description": "Role, scope, MFA or environment denied",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Envelope"
                }
              }
            }
          },
          "404": {
            "description": "Tenant-owned resource missing",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Envelope"
                }
              }
            }
          },
          "409": {
            "description": "Stale revision, changed key reuse or immutable binding conflict",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Envelope"
                }
              }
            }
          },
          "429": {
            "description": "Quota exceeded",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Envelope"
                }
              }
            }
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/WebhookControlInput"
              }
            }
          }
        }
      }
    },
    "/v1/organizations/{org}/webhooks/deliveries": {
      "get": {
        "summary": "GET /webhooks/deliveries",
        "operationId": "get_v1_organizations_org_webhooks_deliveries",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "security": [
          {
            "sessionCookie": []
          },
          {
            "sandboxKey": []
          },
          {
            "SandboxSession": []
          }
        ],
        "description": "Tenant-scoped local/sandbox fixtures only. Requires organization:read and webhooks:read; mutation also corresponding :write and current owner/admin/developer/operator with MFA. Exact immutable attribution; no real chain verification, financial credit or external URLs. Latest collection/event/delivery/receipt lists are bounded at 200 (endpoints 100). Fixed authenticated same-host receiver uses webhook-id, webhook-timestamp and webhook-signature v1 base64 HMAC-SHA256 over id.timestamp.raw_body with 300-second tolerance. Durable at-least-once delivery; inbox deduplicates one fixture effect. Retry cycle maximum five; explicit replay preserves event/body. M17 also delivers checkout.updated_fixture through the same immutable HMAC outbox/inbox. Neither fixture event certifies real funds or invoice settlement.",
        "responses": {
          "200": {
            "description": "Read or exact retry",
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Envelope"
                    },
                    {
                      "type": "object",
                      "required": [
                        "deliveries",
                        "limit"
                      ],
                      "properties": {
                        "deliveries": {
                          "type": "array",
                          "maxItems": 200,
                          "items": {
                            "$ref": "#/components/schemas/WebhookDelivery"
                          }
                        },
                        "limit": {
                          "const": 200
                        }
                      }
                    }
                  ]
                }
              }
            }
          },
          "400": {
            "description": "Malformed, unsupported or context mismatch",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Envelope"
                }
              }
            }
          },
          "401": {
            "description": "Authentication required",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Envelope"
                }
              }
            }
          },
          "403": {
            "description": "Role, scope, MFA or environment denied",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Envelope"
                }
              }
            }
          },
          "404": {
            "description": "Tenant-owned resource missing",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Envelope"
                }
              }
            }
          },
          "409": {
            "description": "Stale revision, changed key reuse or immutable binding conflict",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Envelope"
                }
              }
            }
          },
          "429": {
            "description": "Quota exceeded",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Envelope"
                }
              }
            }
          }
        }
      }
    },
    "/v1/organizations/{org}/webhooks/deliveries/{delivery}": {
      "get": {
        "summary": "GET /webhooks/deliveries/{delivery}",
        "operationId": "get_v1_organizations_org_webhooks_deliveries_delivery",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "delivery",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "security": [
          {
            "sessionCookie": []
          },
          {
            "sandboxKey": []
          },
          {
            "SandboxSession": []
          }
        ],
        "description": "Tenant-scoped local/sandbox fixtures only. Requires organization:read and webhooks:read; mutation also corresponding :write and current owner/admin/developer/operator with MFA. Exact immutable attribution; no real chain verification, financial credit or external URLs. Latest collection/event/delivery/receipt lists are bounded at 200 (endpoints 100). Fixed authenticated same-host receiver uses webhook-id, webhook-timestamp and webhook-signature v1 base64 HMAC-SHA256 over id.timestamp.raw_body with 300-second tolerance. Durable at-least-once delivery; inbox deduplicates one fixture effect. Retry cycle maximum five; explicit replay preserves event/body. M17 also delivers checkout.updated_fixture through the same immutable HMAC outbox/inbox. Neither fixture event certifies real funds or invoice settlement.",
        "responses": {
          "200": {
            "description": "Read or exact retry",
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Envelope"
                    },
                    {
                      "type": "object",
                      "required": [
                        "deliveries",
                        "limit"
                      ],
                      "properties": {
                        "deliveries": {
                          "type": "array",
                          "maxItems": 200,
                          "items": {
                            "$ref": "#/components/schemas/WebhookDelivery"
                          }
                        },
                        "limit": {
                          "const": 200
                        }
                      }
                    }
                  ]
                }
              }
            }
          },
          "400": {
            "description": "Malformed, unsupported or context mismatch",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Envelope"
                }
              }
            }
          },
          "401": {
            "description": "Authentication required",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Envelope"
                }
              }
            }
          },
          "403": {
            "description": "Role, scope, MFA or environment denied",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Envelope"
                }
              }
            }
          },
          "404": {
            "description": "Tenant-owned resource missing",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Envelope"
                }
              }
            }
          },
          "409": {
            "description": "Stale revision, changed key reuse or immutable binding conflict",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Envelope"
                }
              }
            }
          },
          "429": {
            "description": "Quota exceeded",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Envelope"
                }
              }
            }
          }
        }
      }
    },
    "/v1/organizations/{org}/webhooks/deliveries/{delivery}/replay": {
      "post": {
        "summary": "POST /webhooks/deliveries/{delivery}/replay",
        "operationId": "post_v1_organizations_org_webhooks_deliveries_delivery_replay",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "delivery",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "security": [
          {
            "sessionCookie": []
          },
          {
            "sandboxKey": []
          },
          {
            "SandboxSession": []
          }
        ],
        "description": "Tenant-scoped local/sandbox fixtures only. Requires organization:read and webhooks:read; mutation also corresponding :write and current owner/admin/developer/operator with MFA. Exact immutable attribution; no real chain verification, financial credit or external URLs. Latest collection/event/delivery/receipt lists are bounded at 200 (endpoints 100). Fixed authenticated same-host receiver uses webhook-id, webhook-timestamp and webhook-signature v1 base64 HMAC-SHA256 over id.timestamp.raw_body with 300-second tolerance. Durable at-least-once delivery; inbox deduplicates one fixture effect. Retry cycle maximum five; explicit replay preserves event/body. M17 also delivers checkout.updated_fixture through the same immutable HMAC outbox/inbox. Neither fixture event certifies real funds or invoice settlement.",
        "responses": {
          "200": {
            "description": "Read or exact retry",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Envelope"
                }
              }
            }
          },
          "400": {
            "description": "Malformed, unsupported or context mismatch",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Envelope"
                }
              }
            }
          },
          "401": {
            "description": "Authentication required",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Envelope"
                }
              }
            }
          },
          "403": {
            "description": "Role, scope, MFA or environment denied",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Envelope"
                }
              }
            }
          },
          "404": {
            "description": "Tenant-owned resource missing",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Envelope"
                }
              }
            }
          },
          "409": {
            "description": "Stale revision, changed key reuse or immutable binding conflict",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Envelope"
                }
              }
            }
          },
          "429": {
            "description": "Quota exceeded",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Envelope"
                }
              }
            }
          },
          "202": {
            "description": "Durably queued",
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Envelope"
                    },
                    {
                      "type": "object",
                      "required": [
                        "delivery_id",
                        "state",
                        "same_logical_event"
                      ],
                      "properties": {
                        "delivery_id": {
                          "type": "string",
                          "format": "uuid"
                        },
                        "state": {
                          "const": "queued"
                        },
                        "same_logical_event": {
                          "const": true
                        }
                      }
                    }
                  ]
                }
              }
            }
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/WebhookReplayInput"
              }
            }
          }
        }
      }
    },
    "/v1/organizations/{org}/webhooks/receipts": {
      "get": {
        "summary": "GET /webhooks/receipts",
        "operationId": "get_v1_organizations_org_webhooks_receipts",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "security": [
          {
            "sessionCookie": []
          },
          {
            "sandboxKey": []
          },
          {
            "SandboxSession": []
          }
        ],
        "description": "Tenant-scoped local/sandbox fixtures only. Requires organization:read and webhooks:read; mutation also corresponding :write and current owner/admin/developer/operator with MFA. Exact immutable attribution; no real chain verification, financial credit or external URLs. Latest collection/event/delivery/receipt lists are bounded at 200 (endpoints 100). Fixed authenticated same-host receiver uses webhook-id, webhook-timestamp and webhook-signature v1 base64 HMAC-SHA256 over id.timestamp.raw_body with 300-second tolerance. Durable at-least-once delivery; inbox deduplicates one fixture effect. Retry cycle maximum five; explicit replay preserves event/body. M17 also delivers checkout.updated_fixture through the same immutable HMAC outbox/inbox. Neither fixture event certifies real funds or invoice settlement.",
        "responses": {
          "200": {
            "description": "Read or exact retry",
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Envelope"
                    },
                    {
                      "type": "object",
                      "required": [
                        "receipts",
                        "limit",
                        "consumer_trust"
                      ],
                      "properties": {
                        "receipts": {
                          "type": "array",
                          "maxItems": 200,
                          "items": {
                            "$ref": "#/components/schemas/WebhookReceipt"
                          }
                        },
                        "limit": {
                          "const": 200
                        },
                        "consumer_trust": {
                          "const": "same_host_fixture"
                        }
                      }
                    }
                  ]
                }
              }
            }
          },
          "400": {
            "description": "Malformed, unsupported or context mismatch",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Envelope"
                }
              }
            }
          },
          "401": {
            "description": "Authentication required",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Envelope"
                }
              }
            }
          },
          "403": {
            "description": "Role, scope, MFA or environment denied",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Envelope"
                }
              }
            }
          },
          "404": {
            "description": "Tenant-owned resource missing",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Envelope"
                }
              }
            }
          },
          "409": {
            "description": "Stale revision, changed key reuse or immutable binding conflict",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Envelope"
                }
              }
            }
          },
          "429": {
            "description": "Quota exceeded",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Envelope"
                }
              }
            }
          }
        }
      }
    },
    "/v1/organizations/{org}/checkout/capabilities": {
      "get": {
        "summary": "GET /checkout/capabilities",
        "operationId": "get_v1_organizations_org_checkout_capabilities",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "security": [
          {
            "sessionCookie": []
          },
          {
            "sandboxKey": []
          },
          {
            "SandboxSession": []
          }
        ],
        "description": "Requires organization:read and orders:read; mutations also orders:write and owner/admin/developer/operator with verified MFA. Local/sandbox fixture only. One immutable exact asset/network and merchant quote per fresh dedicated collection account. No implicit USDC/USDT parity or FX. First-retained fixture timestamp governs expiry; late, pending, partial, excess, wrong asset and conflicting evidence remain distinct. No real receiving address, wallet signing, financial credit or invoice settlement. Public checkout is a separate minimal read-only capability. State changes append immutable checkout.updated_fixture events and full allocation snapshot hashes to the existing signed outbox.",
        "responses": {
          "200": {
            "description": "Read or exact retry",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Envelope"
                }
              }
            }
          },
          "400": {
            "description": "Malformed or unsupported input",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Envelope"
                }
              }
            }
          },
          "401": {
            "description": "Authentication required",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Envelope"
                }
              }
            }
          },
          "403": {
            "description": "Role/scope/MFA or environment denied",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Envelope"
                }
              }
            }
          },
          "404": {
            "description": "Tenant-owned object missing",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Envelope"
                }
              }
            }
          },
          "409": {
            "description": "Changed idempotency/economics, used account/history or stale profile",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Envelope"
                }
              }
            }
          },
          "429": {
            "description": "Quota reached",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Envelope"
                }
              }
            }
          },
          "503": {
            "description": "Persistence unavailable",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Envelope"
                }
              }
            }
          }
        }
      }
    },
    "/v1/organizations/{org}/checkout/settings": {
      "get": {
        "summary": "GET /checkout/settings",
        "operationId": "get_v1_organizations_org_checkout_settings",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "security": [
          {
            "sessionCookie": []
          },
          {
            "sandboxKey": []
          },
          {
            "SandboxSession": []
          }
        ],
        "description": "Requires organization:read and orders:read; mutations also orders:write and owner/admin/developer/operator with verified MFA. Local/sandbox fixture only. One immutable exact asset/network and merchant quote per fresh dedicated collection account. No implicit USDC/USDT parity or FX. First-retained fixture timestamp governs expiry; late, pending, partial, excess, wrong asset and conflicting evidence remain distinct. No real receiving address, wallet signing, financial credit or invoice settlement. Public checkout is a separate minimal read-only capability. State changes append immutable checkout.updated_fixture events and full allocation snapshot hashes to the existing signed outbox.",
        "responses": {
          "200": {
            "description": "Read or exact retry",
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Envelope"
                    },
                    {
                      "type": "object",
                      "required": [
                        "api_version",
                        "merchant"
                      ],
                      "properties": {
                        "api_version": {
                          "const": "v1"
                        },
                        "merchant": {
                          "$ref": "#/components/schemas/CheckoutBrand"
                        }
                      }
                    }
                  ]
                }
              }
            }
          },
          "400": {
            "description": "Malformed or unsupported input",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Envelope"
                }
              }
            }
          },
          "401": {
            "description": "Authentication required",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Envelope"
                }
              }
            }
          },
          "403": {
            "description": "Role/scope/MFA or environment denied",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Envelope"
                }
              }
            }
          },
          "404": {
            "description": "Tenant-owned object missing",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Envelope"
                }
              }
            }
          },
          "409": {
            "description": "Changed idempotency/economics, used account/history or stale profile",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Envelope"
                }
              }
            }
          },
          "429": {
            "description": "Quota reached",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Envelope"
                }
              }
            }
          },
          "503": {
            "description": "Persistence unavailable",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Envelope"
                }
              }
            }
          }
        }
      },
      "patch": {
        "summary": "PATCH /checkout/settings",
        "operationId": "patch_v1_organizations_org_checkout_settings",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "security": [
          {
            "sessionCookie": []
          },
          {
            "sandboxKey": []
          },
          {
            "SandboxSession": []
          }
        ],
        "description": "Requires organization:read and orders:read; mutations also orders:write and owner/admin/developer/operator with verified MFA. Local/sandbox fixture only. One immutable exact asset/network and merchant quote per fresh dedicated collection account. No implicit USDC/USDT parity or FX. First-retained fixture timestamp governs expiry; late, pending, partial, excess, wrong asset and conflicting evidence remain distinct. No real receiving address, wallet signing, financial credit or invoice settlement. Public checkout is a separate minimal read-only capability. State changes append immutable checkout.updated_fixture events and full allocation snapshot hashes to the existing signed outbox.",
        "responses": {
          "200": {
            "description": "Read or exact retry",
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Envelope"
                    },
                    {
                      "type": "object",
                      "required": [
                        "api_version",
                        "merchant"
                      ],
                      "properties": {
                        "api_version": {
                          "const": "v1"
                        },
                        "merchant": {
                          "$ref": "#/components/schemas/CheckoutBrand"
                        }
                      }
                    }
                  ]
                }
              }
            }
          },
          "400": {
            "description": "Malformed or unsupported input",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Envelope"
                }
              }
            }
          },
          "401": {
            "description": "Authentication required",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Envelope"
                }
              }
            }
          },
          "403": {
            "description": "Role/scope/MFA or environment denied",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Envelope"
                }
              }
            }
          },
          "404": {
            "description": "Tenant-owned object missing",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Envelope"
                }
              }
            }
          },
          "409": {
            "description": "Changed idempotency/economics, used account/history or stale profile",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Envelope"
                }
              }
            }
          },
          "429": {
            "description": "Quota reached",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Envelope"
                }
              }
            }
          },
          "503": {
            "description": "Persistence unavailable",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Envelope"
                }
              }
            }
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CheckoutBrandInput"
              }
            }
          }
        }
      }
    },
    "/v1/organizations/{org}/payment-orders": {
      "get": {
        "summary": "GET /payment-orders",
        "operationId": "get_v1_organizations_org_payment-orders",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "security": [
          {
            "sessionCookie": []
          },
          {
            "sandboxKey": []
          },
          {
            "SandboxSession": []
          }
        ],
        "description": "Requires organization:read and orders:read; mutations also orders:write and owner/admin/developer/operator with verified MFA. Local/sandbox fixture only. One immutable exact asset/network and merchant quote per fresh dedicated collection account. No implicit USDC/USDT parity or FX. First-retained fixture timestamp governs expiry; late, pending, partial, excess, wrong asset and conflicting evidence remain distinct. No real receiving address, wallet signing, financial credit or invoice settlement. Public checkout is a separate minimal read-only capability. State changes append immutable checkout.updated_fixture events and full allocation snapshot hashes to the existing signed outbox.",
        "responses": {
          "200": {
            "description": "Read or exact retry",
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Envelope"
                    },
                    {
                      "type": "object",
                      "required": [
                        "api_version",
                        "orders",
                        "limit"
                      ],
                      "properties": {
                        "api_version": {
                          "const": "v1"
                        },
                        "orders": {
                          "type": "array",
                          "maxItems": 200,
                          "items": {
                            "$ref": "#/components/schemas/PaymentOrder"
                          }
                        },
                        "limit": {
                          "const": 200
                        }
                      }
                    }
                  ]
                }
              }
            }
          },
          "400": {
            "description": "Malformed or unsupported input",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Envelope"
                }
              }
            }
          },
          "401": {
            "description": "Authentication required",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Envelope"
                }
              }
            }
          },
          "403": {
            "description": "Role/scope/MFA or environment denied",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Envelope"
                }
              }
            }
          },
          "404": {
            "description": "Tenant-owned object missing",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Envelope"
                }
              }
            }
          },
          "409": {
            "description": "Changed idempotency/economics, used account/history or stale profile",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Envelope"
                }
              }
            }
          },
          "429": {
            "description": "Quota reached",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Envelope"
                }
              }
            }
          },
          "503": {
            "description": "Persistence unavailable",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Envelope"
                }
              }
            }
          }
        }
      },
      "post": {
        "summary": "POST /payment-orders",
        "operationId": "post_v1_organizations_org_payment-orders",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "Idempotency-Key",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string",
              "minLength": 8,
              "maxLength": 80,
              "pattern": "^[A-Za-z0-9_-]+$"
            }
          }
        ],
        "security": [
          {
            "sessionCookie": []
          },
          {
            "sandboxKey": []
          },
          {
            "SandboxSession": []
          }
        ],
        "description": "Requires organization:read and orders:read; mutations also orders:write and owner/admin/developer/operator with verified MFA. Local/sandbox fixture only. One immutable exact asset/network and merchant quote per fresh dedicated collection account. No implicit USDC/USDT parity or FX. First-retained fixture timestamp governs expiry; late, pending, partial, excess, wrong asset and conflicting evidence remain distinct. No real receiving address, wallet signing, financial credit or invoice settlement. Public checkout is a separate minimal read-only capability. State changes append immutable checkout.updated_fixture events and full allocation snapshot hashes to the existing signed outbox.",
        "responses": {
          "200": {
            "description": "Read or exact retry",
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Envelope"
                    },
                    {
                      "type": "object",
                      "required": [
                        "api_version",
                        "order",
                        "replayed"
                      ],
                      "properties": {
                        "api_version": {
                          "const": "v1"
                        },
                        "order": {
                          "$ref": "#/components/schemas/PaymentOrder"
                        },
                        "replayed": {
                          "const": true
                        }
                      }
                    }
                  ]
                }
              }
            }
          },
          "400": {
            "description": "Malformed or unsupported input",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Envelope"
                }
              }
            }
          },
          "401": {
            "description": "Authentication required",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Envelope"
                }
              }
            }
          },
          "403": {
            "description": "Role/scope/MFA or environment denied",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Envelope"
                }
              }
            }
          },
          "404": {
            "description": "Tenant-owned object missing",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Envelope"
                }
              }
            }
          },
          "409": {
            "description": "Changed idempotency/economics, used account/history or stale profile",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Envelope"
                }
              }
            }
          },
          "429": {
            "description": "Quota reached",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Envelope"
                }
              }
            }
          },
          "503": {
            "description": "Persistence unavailable",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Envelope"
                }
              }
            }
          },
          "201": {
            "description": "Immutable order and public link created",
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Envelope"
                    },
                    {
                      "type": "object",
                      "required": [
                        "api_version",
                        "order"
                      ],
                      "properties": {
                        "api_version": {
                          "const": "v1"
                        },
                        "order": {
                          "$ref": "#/components/schemas/PaymentOrder"
                        }
                      }
                    }
                  ]
                }
              }
            }
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PaymentOrderInput"
              }
            }
          }
        }
      }
    },
    "/v1/organizations/{org}/payment-orders/{order}": {
      "get": {
        "summary": "GET /payment-orders/{order}",
        "operationId": "get_v1_organizations_org_payment-orders_order",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "order",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "security": [
          {
            "sessionCookie": []
          },
          {
            "sandboxKey": []
          },
          {
            "SandboxSession": []
          }
        ],
        "description": "Requires organization:read and orders:read; mutations also orders:write and owner/admin/developer/operator with verified MFA. Local/sandbox fixture only. One immutable exact asset/network and merchant quote per fresh dedicated collection account. No implicit USDC/USDT parity or FX. First-retained fixture timestamp governs expiry; late, pending, partial, excess, wrong asset and conflicting evidence remain distinct. No real receiving address, wallet signing, financial credit or invoice settlement. Public checkout is a separate minimal read-only capability. State changes append immutable checkout.updated_fixture events and full allocation snapshot hashes to the existing signed outbox.",
        "responses": {
          "200": {
            "description": "Read or exact retry",
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Envelope"
                    },
                    {
                      "type": "object",
                      "required": [
                        "api_version",
                        "orders",
                        "limit"
                      ],
                      "properties": {
                        "api_version": {
                          "const": "v1"
                        },
                        "orders": {
                          "type": "array",
                          "maxItems": 200,
                          "items": {
                            "$ref": "#/components/schemas/PaymentOrder"
                          }
                        },
                        "limit": {
                          "const": 200
                        }
                      }
                    }
                  ]
                }
              }
            }
          },
          "400": {
            "description": "Malformed or unsupported input",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Envelope"
                }
              }
            }
          },
          "401": {
            "description": "Authentication required",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Envelope"
                }
              }
            }
          },
          "403": {
            "description": "Role/scope/MFA or environment denied",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Envelope"
                }
              }
            }
          },
          "404": {
            "description": "Tenant-owned object missing",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Envelope"
                }
              }
            }
          },
          "409": {
            "description": "Changed idempotency/economics, used account/history or stale profile",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Envelope"
                }
              }
            }
          },
          "429": {
            "description": "Quota reached",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Envelope"
                }
              }
            }
          },
          "503": {
            "description": "Persistence unavailable",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Envelope"
                }
              }
            }
          }
        }
      }
    },
    "/v1/organizations/{org}/payment-orders/{order}/reconcile": {
      "post": {
        "summary": "POST /payment-orders/{order}/reconcile",
        "operationId": "post_v1_organizations_org_payment-orders_order_reconcile",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "order",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "security": [
          {
            "sessionCookie": []
          },
          {
            "sandboxKey": []
          },
          {
            "SandboxSession": []
          }
        ],
        "description": "Requires organization:read and orders:read; mutations also orders:write and owner/admin/developer/operator with verified MFA. Local/sandbox fixture only. One immutable exact asset/network and merchant quote per fresh dedicated collection account. No implicit USDC/USDT parity or FX. First-retained fixture timestamp governs expiry; late, pending, partial, excess, wrong asset and conflicting evidence remain distinct. No real receiving address, wallet signing, financial credit or invoice settlement. Public checkout is a separate minimal read-only capability. State changes append immutable checkout.updated_fixture events and full allocation snapshot hashes to the existing signed outbox.",
        "responses": {
          "200": {
            "description": "Read or exact retry",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Envelope"
                }
              }
            }
          },
          "400": {
            "description": "Malformed or unsupported input",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Envelope"
                }
              }
            }
          },
          "401": {
            "description": "Authentication required",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Envelope"
                }
              }
            }
          },
          "403": {
            "description": "Role/scope/MFA or environment denied",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Envelope"
                }
              }
            }
          },
          "404": {
            "description": "Tenant-owned object missing",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Envelope"
                }
              }
            }
          },
          "409": {
            "description": "Changed idempotency/economics, used account/history or stale profile",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Envelope"
                }
              }
            }
          },
          "429": {
            "description": "Quota reached",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Envelope"
                }
              }
            }
          },
          "503": {
            "description": "Persistence unavailable",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Envelope"
                }
              }
            }
          },
          "202": {
            "description": "Retained-source rescan queued; not a payment or signing action",
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Envelope"
                    },
                    {
                      "type": "object",
                      "required": [
                        "api_version",
                        "order_id",
                        "state"
                      ],
                      "properties": {
                        "api_version": {
                          "const": "v1"
                        },
                        "order_id": {
                          "type": "string",
                          "format": "uuid"
                        },
                        "state": {
                          "const": "queued"
                        }
                      }
                    }
                  ]
                }
              }
            }
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/EmptyObject"
              }
            }
          }
        }
      }
    },
    "/v1/organizations/{org}/payment-orders/{order}/allocations": {
      "get": {
        "summary": "GET /payment-orders/{order}/allocations",
        "operationId": "get_v1_organizations_org_payment-orders_order_allocations",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "order",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "security": [
          {
            "sessionCookie": []
          },
          {
            "sandboxKey": []
          },
          {
            "SandboxSession": []
          }
        ],
        "description": "Requires organization:read and orders:read; mutations also orders:write and owner/admin/developer/operator with verified MFA. Local/sandbox fixture only. One immutable exact asset/network and merchant quote per fresh dedicated collection account. No implicit USDC/USDT parity or FX. First-retained fixture timestamp governs expiry; late, pending, partial, excess, wrong asset and conflicting evidence remain distinct. No real receiving address, wallet signing, financial credit or invoice settlement. Public checkout is a separate minimal read-only capability. State changes append immutable checkout.updated_fixture events and full allocation snapshot hashes to the existing signed outbox.",
        "responses": {
          "200": {
            "description": "Read or exact retry",
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Envelope"
                    },
                    {
                      "type": "object",
                      "required": [
                        "api_version",
                        "allocations",
                        "limit",
                        "total",
                        "financial_credit_created"
                      ],
                      "properties": {
                        "api_version": {
                          "const": "v1"
                        },
                        "allocations": {
                          "type": "array",
                          "maxItems": 200,
                          "items": {
                            "$ref": "#/components/schemas/OrderAllocation"
                          }
                        },
                        "limit": {
                          "const": 200
                        },
                        "total": {
                          "type": "integer",
                          "minimum": 0
                        },
                        "financial_credit_created": {
                          "const": false
                        }
                      }
                    }
                  ]
                }
              }
            }
          },
          "400": {
            "description": "Malformed or unsupported input",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Envelope"
                }
              }
            }
          },
          "401": {
            "description": "Authentication required",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Envelope"
                }
              }
            }
          },
          "403": {
            "description": "Role/scope/MFA or environment denied",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Envelope"
                }
              }
            }
          },
          "404": {
            "description": "Tenant-owned object missing",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Envelope"
                }
              }
            }
          },
          "409": {
            "description": "Changed idempotency/economics, used account/history or stale profile",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Envelope"
                }
              }
            }
          },
          "429": {
            "description": "Quota reached",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Envelope"
                }
              }
            }
          },
          "503": {
            "description": "Persistence unavailable",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Envelope"
                }
              }
            }
          }
        }
      }
    },
    "/v1/organizations/{org}/payment-orders/{order}/events": {
      "get": {
        "summary": "GET /payment-orders/{order}/events",
        "operationId": "get_v1_organizations_org_payment-orders_order_events",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "order",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "security": [
          {
            "sessionCookie": []
          },
          {
            "sandboxKey": []
          },
          {
            "SandboxSession": []
          }
        ],
        "description": "Requires organization:read and orders:read; mutations also orders:write and owner/admin/developer/operator with verified MFA. Local/sandbox fixture only. One immutable exact asset/network and merchant quote per fresh dedicated collection account. No implicit USDC/USDT parity or FX. First-retained fixture timestamp governs expiry; late, pending, partial, excess, wrong asset and conflicting evidence remain distinct. No real receiving address, wallet signing, financial credit or invoice settlement. Public checkout is a separate minimal read-only capability. State changes append immutable checkout.updated_fixture events and full allocation snapshot hashes to the existing signed outbox.",
        "responses": {
          "200": {
            "description": "Read or exact retry",
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Envelope"
                    },
                    {
                      "type": "object",
                      "required": [
                        "api_version",
                        "events",
                        "limit"
                      ],
                      "properties": {
                        "api_version": {
                          "const": "v1"
                        },
                        "events": {
                          "type": "array",
                          "maxItems": 200,
                          "items": {
                            "$ref": "#/components/schemas/CheckoutEvent"
                          }
                        },
                        "limit": {
                          "const": 200
                        }
                      }
                    }
                  ]
                }
              }
            }
          },
          "400": {
            "description": "Malformed or unsupported input",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Envelope"
                }
              }
            }
          },
          "401": {
            "description": "Authentication required",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Envelope"
                }
              }
            }
          },
          "403": {
            "description": "Role/scope/MFA or environment denied",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Envelope"
                }
              }
            }
          },
          "404": {
            "description": "Tenant-owned object missing",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Envelope"
                }
              }
            }
          },
          "409": {
            "description": "Changed idempotency/economics, used account/history or stale profile",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Envelope"
                }
              }
            }
          },
          "429": {
            "description": "Quota reached",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Envelope"
                }
              }
            }
          },
          "503": {
            "description": "Persistence unavailable",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Envelope"
                }
              }
            }
          }
        }
      }
    },
    "/v1/organizations/{org}/payment-orders/{order}/events/{event}": {
      "get": {
        "summary": "GET /payment-orders/{order}/events/{event}",
        "operationId": "get_v1_organizations_org_payment-orders_order_events_event",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "order",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "event",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "security": [
          {
            "sessionCookie": []
          },
          {
            "sandboxKey": []
          },
          {
            "SandboxSession": []
          }
        ],
        "description": "Requires organization:read and orders:read; mutations also orders:write and owner/admin/developer/operator with verified MFA. Local/sandbox fixture only. One immutable exact asset/network and merchant quote per fresh dedicated collection account. No implicit USDC/USDT parity or FX. First-retained fixture timestamp governs expiry; late, pending, partial, excess, wrong asset and conflicting evidence remain distinct. No real receiving address, wallet signing, financial credit or invoice settlement. Public checkout is a separate minimal read-only capability. State changes append immutable checkout.updated_fixture events and full allocation snapshot hashes to the existing signed outbox.",
        "responses": {
          "200": {
            "description": "Read or exact retry",
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Envelope"
                    },
                    {
                      "type": "object",
                      "required": [
                        "api_version",
                        "events",
                        "limit"
                      ],
                      "properties": {
                        "api_version": {
                          "const": "v1"
                        },
                        "events": {
                          "type": "array",
                          "maxItems": 200,
                          "items": {
                            "$ref": "#/components/schemas/CheckoutEventDetail"
                          }
                        },
                        "limit": {
                          "const": 200
                        }
                      }
                    }
                  ]
                }
              }
            }
          },
          "400": {
            "description": "Malformed or unsupported input",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Envelope"
                }
              }
            }
          },
          "401": {
            "description": "Authentication required",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Envelope"
                }
              }
            }
          },
          "403": {
            "description": "Role/scope/MFA or environment denied",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Envelope"
                }
              }
            }
          },
          "404": {
            "description": "Tenant-owned object missing",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Envelope"
                }
              }
            }
          },
          "409": {
            "description": "Changed idempotency/economics, used account/history or stale profile",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Envelope"
                }
              }
            }
          },
          "429": {
            "description": "Quota reached",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Envelope"
                }
              }
            }
          },
          "503": {
            "description": "Persistence unavailable",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Envelope"
                }
              }
            }
          }
        }
      }
    },
    "/v1/checkout/{token}": {
      "get": {
        "summary": "Read minimal sandbox checkout by public link",
        "operationId": "get_v1_checkout_token",
        "parameters": [
          {
            "name": "token",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "pattern": "^[0-9a-f]{64}$"
            }
          }
        ],
        "security": [],
        "description": "Read-only 256-bit public link capability. No authentication cookie or bearer credential needed. No organization, collection, observed account, private merchant/customer reference, key, hash or cipher is returned. Invalid, foreign-environment and suspended-merchant links return 404. Rate limit 120 requests/minute per actual development peer. Cache-Control no-store; Referrer-Policy no-referrer. Real address, payment QR and wallet connections remain disabled. The locally served HTML page is /checkout/{token}; it is not a hosted deployment certificate.",
        "responses": {
          "200": {
            "description": "Minimal fixture checkout",
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Envelope"
                    },
                    {
                      "type": "object",
                      "required": [
                        "api_version",
                        "checkout"
                      ],
                      "properties": {
                        "api_version": {
                          "const": "v1"
                        },
                        "checkout": {
                          "$ref": "#/components/schemas/PublicCheckout"
                        }
                      }
                    }
                  ]
                }
              }
            }
          },
          "404": {
            "description": "Link unavailable",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Envelope"
                }
              }
            }
          },
          "429": {
            "description": "Peer read quota reached",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Envelope"
                }
              }
            }
          },
          "503": {
            "description": "Persistence unavailable",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Envelope"
                }
              }
            }
          },
          "403": {
            "description": "Explicit production environment header denied",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Envelope"
                }
              }
            }
          }
        }
      }
    },
    "/v1/organizations/{org}/payouts/capabilities": {
      "get": {
        "summary": "Development get /capabilities",
        "operationId": "get_v1_organizations_org_payouts_capabilities",
        "security": [
          {
            "sessionCookie": []
          },
          {
            "sandboxKey": []
          },
          {
            "SandboxSession": []
          }
        ],
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Fixture result only; no native asset transfer",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PayoutCapabilities"
                }
              }
            }
          },
          "400": {
            "description": "Strict input or signed envelope invalid"
          },
          "401": {
            "description": "Authentication required"
          },
          "403": {
            "description": "Role/scope/current authority denied"
          },
          "404": {
            "description": "Scoped object absent"
          },
          "409": {
            "description": "State, revision, economics or reservation conflict"
          },
          "429": {
            "description": "Development quota"
          },
          "503": {
            "description": "Dependency unavailable"
          }
        }
      }
    },
    "/v1/organizations/{org}/payouts/control": {
      "get": {
        "summary": "Development get /control",
        "operationId": "get_v1_organizations_org_payouts_control",
        "security": [
          {
            "sessionCookie": []
          },
          {
            "sandboxKey": []
          },
          {
            "SandboxSession": []
          }
        ],
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Fixture result only; no native asset transfer",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PayoutControlResult"
                }
              }
            }
          },
          "400": {
            "description": "Strict input or signed envelope invalid"
          },
          "401": {
            "description": "Authentication required"
          },
          "403": {
            "description": "Role/scope/current authority denied"
          },
          "404": {
            "description": "Scoped object absent"
          },
          "409": {
            "description": "State, revision, economics or reservation conflict"
          },
          "429": {
            "description": "Development quota"
          },
          "503": {
            "description": "Dependency unavailable"
          }
        }
      },
      "patch": {
        "summary": "Development patch /control",
        "operationId": "patch_v1_organizations_org_payouts_control",
        "security": [
          {
            "sessionCookie": []
          },
          {
            "SandboxSession": []
          }
        ],
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Fixture result only; no native asset transfer",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PayoutControlResult"
                }
              }
            }
          },
          "400": {
            "description": "Strict input or signed envelope invalid"
          },
          "401": {
            "description": "Authentication required"
          },
          "403": {
            "description": "Role/scope/current authority denied"
          },
          "404": {
            "description": "Scoped object absent"
          },
          "409": {
            "description": "State, revision, economics or reservation conflict"
          },
          "429": {
            "description": "Development quota"
          },
          "503": {
            "description": "Dependency unavailable"
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PayoutControlInput"
              }
            }
          }
        }
      }
    },
    "/v1/organizations/{org}/payouts": {
      "get": {
        "summary": "Development get ",
        "operationId": "get_v1_organizations_org_payouts",
        "security": [
          {
            "sessionCookie": []
          },
          {
            "sandboxKey": []
          },
          {
            "SandboxSession": []
          }
        ],
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Fixture result only; no native asset transfer",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PayoutList"
                }
              }
            }
          },
          "400": {
            "description": "Strict input or signed envelope invalid"
          },
          "401": {
            "description": "Authentication required"
          },
          "403": {
            "description": "Role/scope/current authority denied"
          },
          "404": {
            "description": "Scoped object absent"
          },
          "409": {
            "description": "State, revision, economics or reservation conflict"
          },
          "429": {
            "description": "Development quota"
          },
          "503": {
            "description": "Dependency unavailable"
          }
        }
      },
      "post": {
        "summary": "Development post ",
        "operationId": "post_v1_organizations_org_payouts",
        "security": [
          {
            "sessionCookie": []
          },
          {
            "sandboxKey": []
          },
          {
            "SandboxSession": []
          }
        ],
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "Idempotency-Key",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string",
              "pattern": "^[A-Za-z0-9_-]{8,80}$"
            }
          }
        ],
        "responses": {
          "201": {
            "description": "Fixture result only; no native asset transfer",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PayoutResult"
                }
              }
            }
          },
          "400": {
            "description": "Strict input or signed envelope invalid"
          },
          "401": {
            "description": "Authentication required"
          },
          "403": {
            "description": "Role/scope/current authority denied"
          },
          "404": {
            "description": "Scoped object absent"
          },
          "409": {
            "description": "State, revision, economics or reservation conflict"
          },
          "429": {
            "description": "Development quota"
          },
          "503": {
            "description": "Dependency unavailable"
          },
          "200": {
            "description": "Exact original admission replay",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PayoutResult"
                }
              }
            }
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PayoutInput"
              }
            }
          }
        }
      }
    },
    "/v1/organizations/{org}/payouts/{payout}": {
      "get": {
        "summary": "Development get /{payout}",
        "operationId": "get_v1_organizations_org_payouts_payout",
        "security": [
          {
            "sessionCookie": []
          },
          {
            "sandboxKey": []
          },
          {
            "SandboxSession": []
          }
        ],
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "payout",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Fixture result only; no native asset transfer",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PayoutList"
                }
              }
            }
          },
          "400": {
            "description": "Strict input or signed envelope invalid"
          },
          "401": {
            "description": "Authentication required"
          },
          "403": {
            "description": "Role/scope/current authority denied"
          },
          "404": {
            "description": "Scoped object absent"
          },
          "409": {
            "description": "State, revision, economics or reservation conflict"
          },
          "429": {
            "description": "Development quota"
          },
          "503": {
            "description": "Dependency unavailable"
          }
        }
      }
    },
    "/v1/organizations/{org}/payouts/{payout}/events": {
      "get": {
        "summary": "Development get /{payout}/events",
        "operationId": "get_v1_organizations_org_payouts_payout_events",
        "security": [
          {
            "sessionCookie": []
          },
          {
            "sandboxKey": []
          },
          {
            "SandboxSession": []
          }
        ],
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "payout",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Fixture result only; no native asset transfer",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PayoutEvents"
                }
              }
            }
          },
          "400": {
            "description": "Strict input or signed envelope invalid"
          },
          "401": {
            "description": "Authentication required"
          },
          "403": {
            "description": "Role/scope/current authority denied"
          },
          "404": {
            "description": "Scoped object absent"
          },
          "409": {
            "description": "State, revision, economics or reservation conflict"
          },
          "429": {
            "description": "Development quota"
          },
          "503": {
            "description": "Dependency unavailable"
          }
        }
      }
    },
    "/v1/organizations/{org}/payouts/{payout}/approve": {
      "post": {
        "summary": "Development post /{payout}/approve",
        "operationId": "post_v1_organizations_org_payouts_payout_approve",
        "security": [
          {
            "sessionCookie": []
          },
          {
            "SandboxSession": []
          }
        ],
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "payout",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Fixture result only; no native asset transfer",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PayoutResult"
                }
              }
            }
          },
          "400": {
            "description": "Strict input or signed envelope invalid"
          },
          "401": {
            "description": "Authentication required"
          },
          "403": {
            "description": "Role/scope/current authority denied"
          },
          "404": {
            "description": "Scoped object absent"
          },
          "409": {
            "description": "State, revision, economics or reservation conflict"
          },
          "429": {
            "description": "Development quota"
          },
          "503": {
            "description": "Dependency unavailable"
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PayoutApproveInput"
              }
            }
          }
        }
      }
    },
    "/v1/organizations/{org}/payouts/{payout}/signed": {
      "post": {
        "summary": "Development post /{payout}/signed",
        "operationId": "post_v1_organizations_org_payouts_payout_signed",
        "security": [
          {
            "sessionCookie": []
          },
          {
            "sandboxKey": []
          },
          {
            "SandboxSession": []
          }
        ],
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "payout",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Fixture result only; no native asset transfer",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PayoutResult"
                }
              }
            }
          },
          "400": {
            "description": "Strict input or signed envelope invalid"
          },
          "401": {
            "description": "Authentication required"
          },
          "403": {
            "description": "Role/scope/current authority denied"
          },
          "404": {
            "description": "Scoped object absent"
          },
          "409": {
            "description": "State, revision, economics or reservation conflict"
          },
          "429": {
            "description": "Development quota"
          },
          "503": {
            "description": "Dependency unavailable"
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SignedPayout"
              }
            }
          }
        }
      }
    },
    "/v1/organizations/{org}/payouts/{payout}/reconcile": {
      "post": {
        "summary": "Development post /{payout}/reconcile",
        "operationId": "post_v1_organizations_org_payouts_payout_reconcile",
        "security": [
          {
            "sessionCookie": []
          },
          {
            "sandboxKey": []
          },
          {
            "SandboxSession": []
          }
        ],
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "payout",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "202": {
            "description": "Fixture result only; no native asset transfer",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PayoutLookupQueued"
                }
              }
            }
          },
          "400": {
            "description": "Strict input or signed envelope invalid"
          },
          "401": {
            "description": "Authentication required"
          },
          "403": {
            "description": "Role/scope/current authority denied"
          },
          "404": {
            "description": "Scoped object absent"
          },
          "409": {
            "description": "State, revision, economics or reservation conflict"
          },
          "429": {
            "description": "Development quota"
          },
          "503": {
            "description": "Dependency unavailable"
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/EmptyInput"
              }
            }
          }
        }
      }
    },
    "/v1/organizations/{org}/payout-batches/capabilities": {
      "get": {
        "operationId": "get_v1_organizations_org_payout-batches_capabilities",
        "summary": "Development batch get /payout-batches/capabilities",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "security": [
          {
            "sessionCookie": []
          },
          {
            "sandboxKey": []
          },
          {
            "SandboxSession": []
          }
        ],
        "responses": {
          "200": {
            "description": "Development batch result only",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BatchCapabilities"
                }
              }
            }
          },
          "400": {
            "description": "Strict envelope rejected"
          },
          "401": {
            "description": "Authentication required"
          },
          "403": {
            "description": "Scope/role denied"
          },
          "404": {
            "description": "Scoped object absent"
          },
          "409": {
            "description": "Immutable key/reference/revision conflict"
          },
          "429": {
            "description": "Development quota"
          },
          "503": {
            "description": "Persistence unavailable; parent/child admission rolls back"
          }
        }
      }
    },
    "/v1/organizations/{org}/payout-batches": {
      "get": {
        "operationId": "get_v1_organizations_org_payout-batches",
        "summary": "Development batch get /payout-batches",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "security": [
          {
            "sessionCookie": []
          },
          {
            "sandboxKey": []
          },
          {
            "SandboxSession": []
          }
        ],
        "responses": {
          "200": {
            "description": "Development batch result only",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BatchListResult"
                }
              }
            }
          },
          "400": {
            "description": "Strict envelope rejected"
          },
          "401": {
            "description": "Authentication required"
          },
          "403": {
            "description": "Scope/role denied"
          },
          "404": {
            "description": "Scoped object absent"
          },
          "409": {
            "description": "Immutable key/reference/revision conflict"
          },
          "429": {
            "description": "Development quota"
          },
          "503": {
            "description": "Persistence unavailable; parent/child admission rolls back"
          }
        }
      },
      "post": {
        "operationId": "post_v1_organizations_org_payout-batches",
        "summary": "Development batch post /payout-batches",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "Idempotency-Key",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string",
              "pattern": "^[A-Za-z0-9_-]{8,80}$"
            }
          }
        ],
        "security": [
          {
            "sessionCookie": []
          },
          {
            "sandboxKey": []
          },
          {
            "SandboxSession": []
          }
        ],
        "responses": {
          "201": {
            "description": "Development batch result only",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BatchResult"
                }
              }
            }
          },
          "400": {
            "description": "Strict envelope rejected"
          },
          "401": {
            "description": "Authentication required"
          },
          "403": {
            "description": "Scope/role denied"
          },
          "404": {
            "description": "Scoped object absent"
          },
          "409": {
            "description": "Immutable key/reference/revision conflict"
          },
          "429": {
            "description": "Development quota"
          },
          "503": {
            "description": "Persistence unavailable; parent/child admission rolls back"
          },
          "200": {
            "description": "Exact original envelope replay",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BatchResult"
                }
              }
            }
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/BatchInput"
              }
            }
          }
        }
      }
    },
    "/v1/organizations/{org}/payout-batches/{batch}": {
      "get": {
        "operationId": "get_v1_organizations_org_payout-batches_batch",
        "summary": "Development batch get /payout-batches/{batch}",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "batch",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "security": [
          {
            "sessionCookie": []
          },
          {
            "sandboxKey": []
          },
          {
            "SandboxSession": []
          }
        ],
        "responses": {
          "200": {
            "description": "Development batch result only",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BatchReadResult"
                }
              }
            }
          },
          "400": {
            "description": "Strict envelope rejected"
          },
          "401": {
            "description": "Authentication required"
          },
          "403": {
            "description": "Scope/role denied"
          },
          "404": {
            "description": "Scoped object absent"
          },
          "409": {
            "description": "Immutable key/reference/revision conflict"
          },
          "429": {
            "description": "Development quota"
          },
          "503": {
            "description": "Persistence unavailable; parent/child admission rolls back"
          }
        }
      }
    },
    "/v1/organizations/{org}/payout-batches/{batch}/events": {
      "get": {
        "operationId": "get_v1_organizations_org_payout-batches_batch_events",
        "summary": "Development batch get /payout-batches/{batch}/events",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "batch",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "security": [
          {
            "sessionCookie": []
          },
          {
            "sandboxKey": []
          },
          {
            "SandboxSession": []
          }
        ],
        "responses": {
          "200": {
            "description": "Development batch result only",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BatchEventsResult"
                }
              }
            }
          },
          "400": {
            "description": "Strict envelope rejected"
          },
          "401": {
            "description": "Authentication required"
          },
          "403": {
            "description": "Scope/role denied"
          },
          "404": {
            "description": "Scoped object absent"
          },
          "409": {
            "description": "Immutable key/reference/revision conflict"
          },
          "429": {
            "description": "Development quota"
          },
          "503": {
            "description": "Persistence unavailable; parent/child admission rolls back"
          }
        }
      }
    },
    "/v1/organizations/{org}/payout-batches/{batch}/events/{event}": {
      "get": {
        "operationId": "get_v1_organizations_org_payout-batches_batch_events_event",
        "summary": "Development batch get /payout-batches/{batch}/events/{event}",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "batch",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "event",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "security": [
          {
            "sessionCookie": []
          },
          {
            "sandboxKey": []
          },
          {
            "SandboxSession": []
          }
        ],
        "responses": {
          "200": {
            "description": "Development batch result only",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BatchEventsResult"
                }
              }
            }
          },
          "400": {
            "description": "Strict envelope rejected"
          },
          "401": {
            "description": "Authentication required"
          },
          "403": {
            "description": "Scope/role denied"
          },
          "404": {
            "description": "Scoped object absent"
          },
          "409": {
            "description": "Immutable key/reference/revision conflict"
          },
          "429": {
            "description": "Development quota"
          },
          "503": {
            "description": "Persistence unavailable; parent/child admission rolls back"
          }
        }
      }
    },
    "/v1/organizations/{org}/payout-batches/{batch}/retry-safe": {
      "post": {
        "operationId": "post_v1_organizations_org_payout-batches_batch_retry-safe",
        "summary": "Development batch post /payout-batches/{batch}/retry-safe",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "batch",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "Idempotency-Key",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string",
              "pattern": "^[A-Za-z0-9_-]{8,80}$"
            }
          }
        ],
        "security": [
          {
            "sessionCookie": []
          },
          {
            "sandboxKey": []
          },
          {
            "SandboxSession": []
          }
        ],
        "responses": {
          "200": {
            "description": "Development batch result only",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BatchResult"
                }
              }
            }
          },
          "400": {
            "description": "Strict envelope rejected"
          },
          "401": {
            "description": "Authentication required"
          },
          "403": {
            "description": "Scope/role denied"
          },
          "404": {
            "description": "Scoped object absent"
          },
          "409": {
            "description": "Immutable key/reference/revision conflict"
          },
          "429": {
            "description": "Development quota"
          },
          "503": {
            "description": "Persistence unavailable; parent/child admission rolls back"
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/BatchRetryInput"
              }
            }
          }
        }
      }
    },
    "/v1/organizations/{org}/financial/capabilities": {
      "get": {
        "operationId": "get_v1_organizations_org_financial_capabilities",
        "summary": "Development financial gate get capabilities",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "security": [
          {
            "sessionCookie": []
          },
          {
            "sandboxKey": []
          },
          {
            "SandboxSession": []
          }
        ],
        "responses": {
          "200": {
            "description": "Local fixture financial gate only",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FinancialCapabilities"
                }
              }
            }
          },
          "400": {
            "description": "Malformed policy"
          },
          "401": {
            "description": "Authentication required"
          },
          "403": {
            "description": "Human role or policy denied"
          },
          "404": {
            "description": "Tenant object absent"
          },
          "409": {
            "description": "Revision conflict"
          },
          "429": {
            "description": "Actor quota"
          },
          "503": {
            "description": "Persistence unavailable"
          }
        }
      }
    },
    "/v1/organizations/{org}/financial/control": {
      "get": {
        "operationId": "get_v1_organizations_org_financial_control",
        "summary": "Development financial gate get control",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "security": [
          {
            "sessionCookie": []
          },
          {
            "sandboxKey": []
          },
          {
            "SandboxSession": []
          }
        ],
        "responses": {
          "200": {
            "description": "Local fixture financial gate only",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FinancialControlResult"
                }
              }
            }
          },
          "400": {
            "description": "Malformed policy"
          },
          "401": {
            "description": "Authentication required"
          },
          "403": {
            "description": "Human role or policy denied"
          },
          "404": {
            "description": "Tenant object absent"
          },
          "409": {
            "description": "Revision conflict"
          },
          "429": {
            "description": "Actor quota"
          },
          "503": {
            "description": "Persistence unavailable"
          }
        }
      },
      "patch": {
        "operationId": "patch_v1_organizations_org_financial_control",
        "summary": "Development financial gate patch control",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "security": [
          {
            "sessionCookie": []
          },
          {
            "SandboxSession": []
          }
        ],
        "responses": {
          "200": {
            "description": "Local fixture financial gate only",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FinancialControlResult"
                }
              }
            }
          },
          "400": {
            "description": "Malformed policy"
          },
          "401": {
            "description": "Authentication required"
          },
          "403": {
            "description": "Human role or policy denied"
          },
          "404": {
            "description": "Tenant object absent"
          },
          "409": {
            "description": "Revision conflict"
          },
          "429": {
            "description": "Actor quota"
          },
          "503": {
            "description": "Persistence unavailable"
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/FinancialControlInput"
              }
            }
          }
        }
      }
    },
    "/v1/organizations/{org}/financial/policies": {
      "get": {
        "operationId": "get_v1_organizations_org_financial_policies",
        "summary": "Development financial gate get policies",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "security": [
          {
            "sessionCookie": []
          },
          {
            "sandboxKey": []
          },
          {
            "SandboxSession": []
          }
        ],
        "responses": {
          "200": {
            "description": "Local fixture financial gate only",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FinancialPoliciesResult"
                }
              }
            }
          },
          "400": {
            "description": "Malformed policy"
          },
          "401": {
            "description": "Authentication required"
          },
          "403": {
            "description": "Human role or policy denied"
          },
          "404": {
            "description": "Tenant object absent"
          },
          "409": {
            "description": "Revision conflict"
          },
          "429": {
            "description": "Actor quota"
          },
          "503": {
            "description": "Persistence unavailable"
          }
        }
      },
      "post": {
        "operationId": "post_v1_organizations_org_financial_policies",
        "summary": "Development financial gate post policies",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "security": [
          {
            "sessionCookie": []
          },
          {
            "sandboxKey": []
          },
          {
            "SandboxSession": []
          }
        ],
        "responses": {
          "201": {
            "description": "Local fixture financial gate only",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FinancialPolicyResult"
                }
              }
            }
          },
          "400": {
            "description": "Malformed policy"
          },
          "401": {
            "description": "Authentication required"
          },
          "403": {
            "description": "Human role or policy denied"
          },
          "404": {
            "description": "Tenant object absent"
          },
          "409": {
            "description": "Revision conflict"
          },
          "429": {
            "description": "Actor quota"
          },
          "503": {
            "description": "Persistence unavailable"
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/FinancialPolicyInput"
              }
            }
          }
        }
      }
    },
    "/v1/organizations/{org}/financial/budgets": {
      "get": {
        "operationId": "get_v1_organizations_org_financial_budgets",
        "summary": "Development financial gate get budgets",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "security": [
          {
            "sessionCookie": []
          },
          {
            "sandboxKey": []
          },
          {
            "SandboxSession": []
          }
        ],
        "responses": {
          "200": {
            "description": "Local fixture financial gate only",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FinancialBudgetsResult"
                }
              }
            }
          },
          "400": {
            "description": "Malformed policy"
          },
          "401": {
            "description": "Authentication required"
          },
          "403": {
            "description": "Human role or policy denied"
          },
          "404": {
            "description": "Tenant object absent"
          },
          "409": {
            "description": "Revision conflict"
          },
          "429": {
            "description": "Actor quota"
          },
          "503": {
            "description": "Persistence unavailable"
          }
        }
      }
    },
    "/v1/organizations/{org}/financial/authorizations": {
      "get": {
        "operationId": "get_v1_organizations_org_financial_authorizations",
        "summary": "Development financial gate get authorizations",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "security": [
          {
            "sessionCookie": []
          },
          {
            "sandboxKey": []
          },
          {
            "SandboxSession": []
          }
        ],
        "responses": {
          "200": {
            "description": "Local fixture financial gate only",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FinancialAuthorizationsResult"
                }
              }
            }
          },
          "400": {
            "description": "Malformed policy"
          },
          "401": {
            "description": "Authentication required"
          },
          "403": {
            "description": "Human role or policy denied"
          },
          "404": {
            "description": "Tenant object absent"
          },
          "409": {
            "description": "Revision conflict"
          },
          "429": {
            "description": "Actor quota"
          },
          "503": {
            "description": "Persistence unavailable"
          }
        }
      }
    },
    "/v1/organizations/{org}/financial/authorizations/{authorization}": {
      "get": {
        "operationId": "get_v1_organizations_org_financial_authorizations_authorization",
        "summary": "Development financial gate get authorizations/{authorization}",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "authorization",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "security": [
          {
            "sessionCookie": []
          },
          {
            "sandboxKey": []
          },
          {
            "SandboxSession": []
          }
        ],
        "responses": {
          "200": {
            "description": "Local fixture financial gate only",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FinancialAuthorizationsResult"
                }
              }
            }
          },
          "400": {
            "description": "Malformed policy"
          },
          "401": {
            "description": "Authentication required"
          },
          "403": {
            "description": "Human role or policy denied"
          },
          "404": {
            "description": "Tenant object absent"
          },
          "409": {
            "description": "Revision conflict"
          },
          "429": {
            "description": "Actor quota"
          },
          "503": {
            "description": "Persistence unavailable"
          }
        }
      }
    },
    "/v1/organizations/{org}/financial/authorizations/{authorization}/events": {
      "get": {
        "operationId": "get_v1_organizations_org_financial_authorizations_authorization_events",
        "summary": "Development financial gate get authorizations/{authorization}/events",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "authorization",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "security": [
          {
            "sessionCookie": []
          },
          {
            "sandboxKey": []
          },
          {
            "SandboxSession": []
          }
        ],
        "responses": {
          "200": {
            "description": "Local fixture financial gate only",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FinancialEventsResult"
                }
              }
            }
          },
          "400": {
            "description": "Malformed policy"
          },
          "401": {
            "description": "Authentication required"
          },
          "403": {
            "description": "Human role or policy denied"
          },
          "404": {
            "description": "Tenant object absent"
          },
          "409": {
            "description": "Revision conflict"
          },
          "429": {
            "description": "Actor quota"
          },
          "503": {
            "description": "Persistence unavailable"
          }
        }
      }
    },
    "/v1/organizations/{org}/solana-sponsorship/capabilities": {
      "get": {
        "operationId": "get_v1_organizations_org_solana-sponsorship_capabilities",
        "summary": "Development Solana sponsorship get capabilities",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "security": [
          {
            "sessionCookie": []
          },
          {
            "sandboxKey": []
          },
          {
            "SandboxSession": []
          }
        ],
        "responses": {
          "200": {
            "description": "Development company fee obligation only",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SponsorCapabilities"
                }
              }
            }
          },
          "400": {
            "description": "Malformed fixture input"
          },
          "401": {
            "description": "Authentication required"
          },
          "403": {
            "description": "Role or sponsorship policy denied"
          },
          "404": {
            "description": "Tenant object absent"
          },
          "409": {
            "description": "Immutable intent or revision conflict"
          },
          "429": {
            "description": "Actor quota"
          },
          "503": {
            "description": "Persistence unavailable"
          }
        }
      }
    },
    "/v1/organizations/{org}/solana-sponsorship/control": {
      "get": {
        "operationId": "get_v1_organizations_org_solana-sponsorship_control",
        "summary": "Development Solana sponsorship get control",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "security": [
          {
            "sessionCookie": []
          },
          {
            "sandboxKey": []
          },
          {
            "SandboxSession": []
          }
        ],
        "responses": {
          "200": {
            "description": "Development company fee obligation only",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SponsorControlResult"
                }
              }
            }
          },
          "400": {
            "description": "Malformed fixture input"
          },
          "401": {
            "description": "Authentication required"
          },
          "403": {
            "description": "Role or sponsorship policy denied"
          },
          "404": {
            "description": "Tenant object absent"
          },
          "409": {
            "description": "Immutable intent or revision conflict"
          },
          "429": {
            "description": "Actor quota"
          },
          "503": {
            "description": "Persistence unavailable"
          }
        }
      },
      "patch": {
        "operationId": "patch_v1_organizations_org_solana-sponsorship_control",
        "summary": "Development Solana sponsorship patch control",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "security": [
          {
            "sessionCookie": []
          },
          {
            "SandboxSession": []
          }
        ],
        "responses": {
          "200": {
            "description": "Development company fee obligation only",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SponsorControlResult"
                }
              }
            }
          },
          "400": {
            "description": "Malformed fixture input"
          },
          "401": {
            "description": "Authentication required"
          },
          "403": {
            "description": "Role or sponsorship policy denied"
          },
          "404": {
            "description": "Tenant object absent"
          },
          "409": {
            "description": "Immutable intent or revision conflict"
          },
          "429": {
            "description": "Actor quota"
          },
          "503": {
            "description": "Persistence unavailable"
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SponsorControlInput"
              }
            }
          }
        }
      }
    },
    "/v1/organizations/{org}/solana-sponsorship/policies": {
      "get": {
        "operationId": "get_v1_organizations_org_solana-sponsorship_policies",
        "summary": "Development Solana sponsorship get policies",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "security": [
          {
            "sessionCookie": []
          },
          {
            "sandboxKey": []
          },
          {
            "SandboxSession": []
          }
        ],
        "responses": {
          "200": {
            "description": "Development company fee obligation only",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SponsorPoliciesResult"
                }
              }
            }
          },
          "400": {
            "description": "Malformed fixture input"
          },
          "401": {
            "description": "Authentication required"
          },
          "403": {
            "description": "Role or sponsorship policy denied"
          },
          "404": {
            "description": "Tenant object absent"
          },
          "409": {
            "description": "Immutable intent or revision conflict"
          },
          "429": {
            "description": "Actor quota"
          },
          "503": {
            "description": "Persistence unavailable"
          }
        }
      },
      "post": {
        "operationId": "post_v1_organizations_org_solana-sponsorship_policies",
        "summary": "Development Solana sponsorship post policies",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "security": [
          {
            "sessionCookie": []
          },
          {
            "sandboxKey": []
          },
          {
            "SandboxSession": []
          }
        ],
        "responses": {
          "201": {
            "description": "Development company fee obligation only",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SponsorPolicyResult"
                }
              }
            }
          },
          "400": {
            "description": "Malformed fixture input"
          },
          "401": {
            "description": "Authentication required"
          },
          "403": {
            "description": "Role or sponsorship policy denied"
          },
          "404": {
            "description": "Tenant object absent"
          },
          "409": {
            "description": "Immutable intent or revision conflict"
          },
          "429": {
            "description": "Actor quota"
          },
          "503": {
            "description": "Persistence unavailable"
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SponsorPolicyInput"
              }
            }
          }
        }
      }
    },
    "/v1/organizations/{org}/solana-sponsorship/requests": {
      "get": {
        "operationId": "get_v1_organizations_org_solana-sponsorship_requests",
        "summary": "Development Solana sponsorship get requests",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "security": [
          {
            "sessionCookie": []
          },
          {
            "sandboxKey": []
          },
          {
            "SandboxSession": []
          }
        ],
        "responses": {
          "200": {
            "description": "Development company fee obligation only",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SponsorRequestsResult"
                }
              }
            }
          },
          "400": {
            "description": "Malformed fixture input"
          },
          "401": {
            "description": "Authentication required"
          },
          "403": {
            "description": "Role or sponsorship policy denied"
          },
          "404": {
            "description": "Tenant object absent"
          },
          "409": {
            "description": "Immutable intent or revision conflict"
          },
          "429": {
            "description": "Actor quota"
          },
          "503": {
            "description": "Persistence unavailable"
          }
        }
      },
      "post": {
        "operationId": "post_v1_organizations_org_solana-sponsorship_requests",
        "summary": "Development Solana sponsorship post requests",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "security": [
          {
            "sessionCookie": []
          },
          {
            "sandboxKey": []
          },
          {
            "SandboxSession": []
          }
        ],
        "responses": {
          "201": {
            "description": "Development company fee obligation only",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SponsorRequestResult"
                }
              }
            }
          },
          "400": {
            "description": "Malformed fixture input"
          },
          "401": {
            "description": "Authentication required"
          },
          "403": {
            "description": "Role or sponsorship policy denied"
          },
          "404": {
            "description": "Tenant object absent"
          },
          "409": {
            "description": "Immutable intent or revision conflict"
          },
          "429": {
            "description": "Actor quota"
          },
          "503": {
            "description": "Persistence unavailable"
          },
          "200": {
            "description": "Same retained sponsorship request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SponsorRequestResult"
                }
              }
            }
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SponsorRequestInput"
              }
            }
          }
        }
      }
    },
    "/v1/organizations/{org}/solana-sponsorship/reservations": {
      "get": {
        "operationId": "get_v1_organizations_org_solana-sponsorship_reservations",
        "summary": "Development Solana sponsorship get reservations",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "security": [
          {
            "sessionCookie": []
          },
          {
            "sandboxKey": []
          },
          {
            "SandboxSession": []
          }
        ],
        "responses": {
          "200": {
            "description": "Development company fee obligation only",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SponsorReservationsResult"
                }
              }
            }
          },
          "400": {
            "description": "Malformed fixture input"
          },
          "401": {
            "description": "Authentication required"
          },
          "403": {
            "description": "Role or sponsorship policy denied"
          },
          "404": {
            "description": "Tenant object absent"
          },
          "409": {
            "description": "Immutable intent or revision conflict"
          },
          "429": {
            "description": "Actor quota"
          },
          "503": {
            "description": "Persistence unavailable"
          }
        }
      }
    },
    "/v1/organizations/{org}/solana-sponsorship/reservations/{reservation}": {
      "get": {
        "operationId": "get_v1_organizations_org_solana-sponsorship_reservations_reservation",
        "summary": "Development Solana sponsorship get reservations/{reservation}",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "reservation",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "security": [
          {
            "sessionCookie": []
          },
          {
            "sandboxKey": []
          },
          {
            "SandboxSession": []
          }
        ],
        "responses": {
          "200": {
            "description": "Development company fee obligation only",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SponsorReservationsResult"
                }
              }
            }
          },
          "400": {
            "description": "Malformed fixture input"
          },
          "401": {
            "description": "Authentication required"
          },
          "403": {
            "description": "Role or sponsorship policy denied"
          },
          "404": {
            "description": "Tenant object absent"
          },
          "409": {
            "description": "Immutable intent or revision conflict"
          },
          "429": {
            "description": "Actor quota"
          },
          "503": {
            "description": "Persistence unavailable"
          }
        }
      }
    },
    "/v1/organizations/{org}/solana-sponsorship/reservations/{reservation}/events": {
      "get": {
        "operationId": "get_v1_organizations_org_solana-sponsorship_reservations_reservation_events",
        "summary": "Development Solana sponsorship get reservations/{reservation}/events",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "reservation",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "security": [
          {
            "sessionCookie": []
          },
          {
            "sandboxKey": []
          },
          {
            "SandboxSession": []
          }
        ],
        "responses": {
          "200": {
            "description": "Development company fee obligation only",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SponsorEventsResult"
                }
              }
            }
          },
          "400": {
            "description": "Malformed fixture input"
          },
          "401": {
            "description": "Authentication required"
          },
          "403": {
            "description": "Role or sponsorship policy denied"
          },
          "404": {
            "description": "Tenant object absent"
          },
          "409": {
            "description": "Immutable intent or revision conflict"
          },
          "429": {
            "description": "Actor quota"
          },
          "503": {
            "description": "Persistence unavailable"
          }
        }
      }
    },
    "/v1/organizations/{org}/solana-sponsorship/usage": {
      "get": {
        "operationId": "get_v1_organizations_org_solana-sponsorship_usage",
        "summary": "Development Solana sponsorship get usage",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "security": [
          {
            "sessionCookie": []
          },
          {
            "sandboxKey": []
          },
          {
            "SandboxSession": []
          }
        ],
        "responses": {
          "200": {
            "description": "Development company fee obligation only",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SponsorUsageResult"
                }
              }
            }
          },
          "400": {
            "description": "Malformed fixture input"
          },
          "401": {
            "description": "Authentication required"
          },
          "403": {
            "description": "Role or sponsorship policy denied"
          },
          "404": {
            "description": "Tenant object absent"
          },
          "409": {
            "description": "Immutable intent or revision conflict"
          },
          "429": {
            "description": "Actor quota"
          },
          "503": {
            "description": "Persistence unavailable"
          }
        }
      }
    },
    "/v1/organizations/{org}/base-sponsorship/capabilities": {
      "get": {
        "operationId": "get_v1_organizations_org_base-sponsorship_capabilities",
        "summary": "Development Base smart-account sponsorship get capabilities",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "security": [
          {
            "sessionCookie": []
          },
          {
            "sandboxKey": []
          },
          {
            "SandboxSession": []
          }
        ],
        "responses": {
          "200": {
            "description": "Development company fee obligation only",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BaseSponsorCapabilities"
                }
              }
            }
          },
          "400": {
            "description": "Malformed fixture input"
          },
          "401": {
            "description": "Authentication required"
          },
          "403": {
            "description": "Role or sponsorship policy denied"
          },
          "404": {
            "description": "Tenant object absent"
          },
          "409": {
            "description": "Immutable intent or revision conflict"
          },
          "429": {
            "description": "Actor quota"
          },
          "503": {
            "description": "Persistence unavailable"
          }
        }
      }
    },
    "/v1/organizations/{org}/base-sponsorship/control": {
      "get": {
        "operationId": "get_v1_organizations_org_base-sponsorship_control",
        "summary": "Development Base smart-account sponsorship get control",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "security": [
          {
            "sessionCookie": []
          },
          {
            "sandboxKey": []
          },
          {
            "SandboxSession": []
          }
        ],
        "responses": {
          "200": {
            "description": "Development company fee obligation only",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BaseSponsorControlResult"
                }
              }
            }
          },
          "400": {
            "description": "Malformed fixture input"
          },
          "401": {
            "description": "Authentication required"
          },
          "403": {
            "description": "Role or sponsorship policy denied"
          },
          "404": {
            "description": "Tenant object absent"
          },
          "409": {
            "description": "Immutable intent or revision conflict"
          },
          "429": {
            "description": "Actor quota"
          },
          "503": {
            "description": "Persistence unavailable"
          }
        }
      },
      "patch": {
        "operationId": "patch_v1_organizations_org_base-sponsorship_control",
        "summary": "Development Base smart-account sponsorship patch control",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "security": [
          {
            "sessionCookie": []
          },
          {
            "SandboxSession": []
          }
        ],
        "responses": {
          "200": {
            "description": "Development company fee obligation only",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BaseSponsorControlResult"
                }
              }
            }
          },
          "400": {
            "description": "Malformed fixture input"
          },
          "401": {
            "description": "Authentication required"
          },
          "403": {
            "description": "Role or sponsorship policy denied"
          },
          "404": {
            "description": "Tenant object absent"
          },
          "409": {
            "description": "Immutable intent or revision conflict"
          },
          "429": {
            "description": "Actor quota"
          },
          "503": {
            "description": "Persistence unavailable"
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/BaseSponsorControlInput"
              }
            }
          }
        }
      }
    },
    "/v1/organizations/{org}/base-sponsorship/policies": {
      "get": {
        "operationId": "get_v1_organizations_org_base-sponsorship_policies",
        "summary": "Development Base smart-account sponsorship get policies",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "security": [
          {
            "sessionCookie": []
          },
          {
            "sandboxKey": []
          },
          {
            "SandboxSession": []
          }
        ],
        "responses": {
          "200": {
            "description": "Development company fee obligation only",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BaseSponsorPoliciesResult"
                }
              }
            }
          },
          "400": {
            "description": "Malformed fixture input"
          },
          "401": {
            "description": "Authentication required"
          },
          "403": {
            "description": "Role or sponsorship policy denied"
          },
          "404": {
            "description": "Tenant object absent"
          },
          "409": {
            "description": "Immutable intent or revision conflict"
          },
          "429": {
            "description": "Actor quota"
          },
          "503": {
            "description": "Persistence unavailable"
          }
        }
      },
      "post": {
        "operationId": "post_v1_organizations_org_base-sponsorship_policies",
        "summary": "Development Base smart-account sponsorship post policies",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "security": [
          {
            "sessionCookie": []
          },
          {
            "sandboxKey": []
          },
          {
            "SandboxSession": []
          }
        ],
        "responses": {
          "201": {
            "description": "Development company fee obligation only",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BaseSponsorPolicyResult"
                }
              }
            }
          },
          "400": {
            "description": "Malformed fixture input"
          },
          "401": {
            "description": "Authentication required"
          },
          "403": {
            "description": "Role or sponsorship policy denied"
          },
          "404": {
            "description": "Tenant object absent"
          },
          "409": {
            "description": "Immutable intent or revision conflict"
          },
          "429": {
            "description": "Actor quota"
          },
          "503": {
            "description": "Persistence unavailable"
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/BaseSponsorPolicyInput"
              }
            }
          }
        },
        "x-azums-max-body-bytes": 16384
      }
    },
    "/v1/organizations/{org}/base-sponsorship/requests": {
      "get": {
        "operationId": "get_v1_organizations_org_base-sponsorship_requests",
        "summary": "Development Base smart-account sponsorship get requests",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "security": [
          {
            "sessionCookie": []
          },
          {
            "sandboxKey": []
          },
          {
            "SandboxSession": []
          }
        ],
        "responses": {
          "200": {
            "description": "Development company fee obligation only",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BaseSponsorRequestsResult"
                }
              }
            }
          },
          "400": {
            "description": "Malformed fixture input"
          },
          "401": {
            "description": "Authentication required"
          },
          "403": {
            "description": "Role or sponsorship policy denied"
          },
          "404": {
            "description": "Tenant object absent"
          },
          "409": {
            "description": "Immutable intent or revision conflict"
          },
          "429": {
            "description": "Actor quota"
          },
          "503": {
            "description": "Persistence unavailable"
          }
        }
      },
      "post": {
        "operationId": "post_v1_organizations_org_base-sponsorship_requests",
        "summary": "Development Base smart-account sponsorship post requests",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "security": [
          {
            "sessionCookie": []
          },
          {
            "sandboxKey": []
          },
          {
            "SandboxSession": []
          }
        ],
        "responses": {
          "201": {
            "description": "Development company fee obligation only",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BaseSponsorRequestResult"
                }
              }
            }
          },
          "400": {
            "description": "Malformed fixture input"
          },
          "401": {
            "description": "Authentication required"
          },
          "403": {
            "description": "Role or sponsorship policy denied"
          },
          "404": {
            "description": "Tenant object absent"
          },
          "409": {
            "description": "Immutable intent or revision conflict"
          },
          "429": {
            "description": "Actor quota"
          },
          "503": {
            "description": "Persistence unavailable"
          },
          "200": {
            "description": "Same retained sponsorship request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BaseSponsorRequestResult"
                }
              }
            }
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/BaseSponsorRequestInput"
              }
            }
          }
        }
      }
    },
    "/v1/organizations/{org}/base-sponsorship/reservations": {
      "get": {
        "operationId": "get_v1_organizations_org_base-sponsorship_reservations",
        "summary": "Development Base smart-account sponsorship get reservations",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "security": [
          {
            "sessionCookie": []
          },
          {
            "sandboxKey": []
          },
          {
            "SandboxSession": []
          }
        ],
        "responses": {
          "200": {
            "description": "Development company fee obligation only",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BaseSponsorReservationsResult"
                }
              }
            }
          },
          "400": {
            "description": "Malformed fixture input"
          },
          "401": {
            "description": "Authentication required"
          },
          "403": {
            "description": "Role or sponsorship policy denied"
          },
          "404": {
            "description": "Tenant object absent"
          },
          "409": {
            "description": "Immutable intent or revision conflict"
          },
          "429": {
            "description": "Actor quota"
          },
          "503": {
            "description": "Persistence unavailable"
          }
        }
      }
    },
    "/v1/organizations/{org}/base-sponsorship/reservations/{reservation}": {
      "get": {
        "operationId": "get_v1_organizations_org_base-sponsorship_reservations_reservation",
        "summary": "Development Base smart-account sponsorship get reservations/{reservation}",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "reservation",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "security": [
          {
            "sessionCookie": []
          },
          {
            "sandboxKey": []
          },
          {
            "SandboxSession": []
          }
        ],
        "responses": {
          "200": {
            "description": "Development company fee obligation only",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BaseSponsorReservationsResult"
                }
              }
            }
          },
          "400": {
            "description": "Malformed fixture input"
          },
          "401": {
            "description": "Authentication required"
          },
          "403": {
            "description": "Role or sponsorship policy denied"
          },
          "404": {
            "description": "Tenant object absent"
          },
          "409": {
            "description": "Immutable intent or revision conflict"
          },
          "429": {
            "description": "Actor quota"
          },
          "503": {
            "description": "Persistence unavailable"
          }
        }
      }
    },
    "/v1/organizations/{org}/base-sponsorship/reservations/{reservation}/events": {
      "get": {
        "operationId": "get_v1_organizations_org_base-sponsorship_reservations_reservation_events",
        "summary": "Development Base smart-account sponsorship get reservations/{reservation}/events",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "reservation",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "security": [
          {
            "sessionCookie": []
          },
          {
            "sandboxKey": []
          },
          {
            "SandboxSession": []
          }
        ],
        "responses": {
          "200": {
            "description": "Development company fee obligation only",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BaseSponsorEventsResult"
                }
              }
            }
          },
          "400": {
            "description": "Malformed fixture input"
          },
          "401": {
            "description": "Authentication required"
          },
          "403": {
            "description": "Role or sponsorship policy denied"
          },
          "404": {
            "description": "Tenant object absent"
          },
          "409": {
            "description": "Immutable intent or revision conflict"
          },
          "429": {
            "description": "Actor quota"
          },
          "503": {
            "description": "Persistence unavailable"
          }
        }
      }
    },
    "/v1/organizations/{org}/base-sponsorship/usage": {
      "get": {
        "operationId": "get_v1_organizations_org_base-sponsorship_usage",
        "summary": "Development Base smart-account sponsorship get usage",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "security": [
          {
            "sessionCookie": []
          },
          {
            "sandboxKey": []
          },
          {
            "SandboxSession": []
          }
        ],
        "responses": {
          "200": {
            "description": "Development company fee obligation only",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BaseSponsorUsageResult"
                }
              }
            }
          },
          "400": {
            "description": "Malformed fixture input"
          },
          "401": {
            "description": "Authentication required"
          },
          "403": {
            "description": "Role or sponsorship policy denied"
          },
          "404": {
            "description": "Tenant object absent"
          },
          "409": {
            "description": "Immutable intent or revision conflict"
          },
          "429": {
            "description": "Actor quota"
          },
          "503": {
            "description": "Persistence unavailable"
          }
        }
      }
    },
    "/v1/organizations/{org}/base-sponsorship/accounts": {
      "get": {
        "operationId": "get_v1_organizations_org_base-sponsorship_accounts",
        "summary": "Development Base account eligibility get",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "security": [
          {
            "sessionCookie": []
          },
          {
            "sandboxKey": []
          },
          {
            "SandboxSession": []
          }
        ],
        "responses": {
          "200": {
            "description": "Fixture eligibility only; never deployed or certified",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BaseSponsorAccountsResult"
                }
              }
            }
          },
          "400": {
            "description": "Rejected or unavailable"
          },
          "401": {
            "description": "Rejected or unavailable"
          },
          "403": {
            "description": "Rejected or unavailable"
          },
          "404": {
            "description": "Rejected or unavailable"
          },
          "409": {
            "description": "Rejected or unavailable"
          },
          "429": {
            "description": "Rejected or unavailable"
          },
          "503": {
            "description": "Rejected or unavailable"
          }
        }
      },
      "post": {
        "operationId": "post_v1_organizations_org_base-sponsorship_accounts",
        "summary": "Development Base account eligibility post",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "security": [
          {
            "sessionCookie": []
          },
          {
            "sandboxKey": []
          },
          {
            "SandboxSession": []
          }
        ],
        "responses": {
          "201": {
            "description": "Fixture eligibility only; never deployed or certified",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BaseSponsorAccountResult"
                }
              }
            }
          },
          "400": {
            "description": "Rejected or unavailable"
          },
          "401": {
            "description": "Rejected or unavailable"
          },
          "403": {
            "description": "Rejected or unavailable"
          },
          "404": {
            "description": "Rejected or unavailable"
          },
          "409": {
            "description": "Rejected or unavailable"
          },
          "429": {
            "description": "Rejected or unavailable"
          },
          "503": {
            "description": "Rejected or unavailable"
          },
          "200": {
            "description": "Fixture eligibility only; never deployed or certified",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BaseSponsorAccountResult"
                }
              }
            }
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/BaseSponsorAccountInput"
              }
            }
          }
        }
      }
    },
    "/v1/organizations/{org}/base-sponsorship/accounts/{account}": {
      "patch": {
        "operationId": "patch_v1_organizations_org_base-sponsorship_accounts_account",
        "summary": "Development Base account eligibility patch",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "account",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "security": [
          {
            "sessionCookie": []
          },
          {
            "sandboxKey": []
          },
          {
            "SandboxSession": []
          }
        ],
        "responses": {
          "200": {
            "description": "Fixture eligibility only; never deployed or certified",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BaseSponsorAccountChangeResult"
                }
              }
            }
          },
          "400": {
            "description": "Rejected or unavailable"
          },
          "401": {
            "description": "Rejected or unavailable"
          },
          "403": {
            "description": "Rejected or unavailable"
          },
          "404": {
            "description": "Rejected or unavailable"
          },
          "409": {
            "description": "Rejected or unavailable"
          },
          "429": {
            "description": "Rejected or unavailable"
          },
          "503": {
            "description": "Rejected or unavailable"
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/BaseSponsorAccountChange"
              }
            }
          }
        }
      }
    },
    "/v1/organizations/{org}/treasury": {
      "get": {
        "operationId": "get_v1_organizations_org_treasury",
        "summary": "Development manual treasury sweep get",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "security": [
          {
            "sessionCookie": []
          },
          {
            "sandboxKey": []
          },
          {
            "SandboxSession": []
          }
        ],
        "responses": {
          "200": {
            "description": "Manual-only fixture result; native ownership and sweep verification remain open",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TreasuriesResult"
                }
              }
            }
          },
          "400": {
            "description": "Rejected or unavailable"
          },
          "401": {
            "description": "Rejected or unavailable"
          },
          "403": {
            "description": "Rejected or unavailable"
          },
          "404": {
            "description": "Rejected or unavailable"
          },
          "409": {
            "description": "Rejected or unavailable"
          },
          "429": {
            "description": "Rejected or unavailable"
          },
          "503": {
            "description": "Rejected or unavailable"
          }
        }
      },
      "post": {
        "operationId": "post_v1_organizations_org_treasury",
        "summary": "Development manual treasury sweep post",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "security": [
          {
            "sessionCookie": []
          },
          {
            "sandboxKey": []
          },
          {
            "SandboxSession": []
          }
        ],
        "responses": {
          "201": {
            "description": "Manual-only fixture result; native ownership and sweep verification remain open",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TreasuryResult"
                }
              }
            }
          },
          "400": {
            "description": "Rejected or unavailable"
          },
          "401": {
            "description": "Rejected or unavailable"
          },
          "403": {
            "description": "Rejected or unavailable"
          },
          "404": {
            "description": "Rejected or unavailable"
          },
          "409": {
            "description": "Rejected or unavailable"
          },
          "429": {
            "description": "Rejected or unavailable"
          },
          "503": {
            "description": "Rejected or unavailable"
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/TreasuryRegister"
              }
            }
          }
        }
      }
    },
    "/v1/organizations/{org}/treasury/capabilities": {
      "get": {
        "operationId": "get_v1_organizations_org_treasury_capabilities",
        "summary": "Development manual treasury sweep get",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "security": [
          {
            "sessionCookie": []
          },
          {
            "sandboxKey": []
          },
          {
            "SandboxSession": []
          }
        ],
        "responses": {
          "200": {
            "description": "Manual-only fixture result; native ownership and sweep verification remain open",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TreasuryCapabilities"
                }
              }
            }
          },
          "400": {
            "description": "Rejected or unavailable"
          },
          "401": {
            "description": "Rejected or unavailable"
          },
          "403": {
            "description": "Rejected or unavailable"
          },
          "404": {
            "description": "Rejected or unavailable"
          },
          "409": {
            "description": "Rejected or unavailable"
          },
          "429": {
            "description": "Rejected or unavailable"
          },
          "503": {
            "description": "Rejected or unavailable"
          }
        }
      }
    },
    "/v1/organizations/{org}/treasury/accounts/{treasury}/confirm": {
      "post": {
        "operationId": "post_v1_organizations_org_treasury_accounts_treasury_confirm",
        "summary": "Development manual treasury sweep post",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "treasury",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "security": [
          {
            "sessionCookie": []
          },
          {
            "sandboxKey": []
          },
          {
            "SandboxSession": []
          }
        ],
        "responses": {
          "200": {
            "description": "Manual-only fixture result; native ownership and sweep verification remain open",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TreasuryResult"
                }
              }
            }
          },
          "400": {
            "description": "Rejected or unavailable"
          },
          "401": {
            "description": "Rejected or unavailable"
          },
          "403": {
            "description": "Rejected or unavailable"
          },
          "404": {
            "description": "Rejected or unavailable"
          },
          "409": {
            "description": "Rejected or unavailable"
          },
          "429": {
            "description": "Rejected or unavailable"
          },
          "503": {
            "description": "Rejected or unavailable"
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/TreasuryConfirm"
              }
            }
          }
        }
      }
    },
    "/v1/organizations/{org}/treasury/accounts/{treasury}/disable": {
      "post": {
        "operationId": "post_v1_organizations_org_treasury_accounts_treasury_disable",
        "summary": "Development manual treasury sweep post",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "treasury",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "security": [
          {
            "sessionCookie": []
          },
          {
            "sandboxKey": []
          },
          {
            "SandboxSession": []
          }
        ],
        "responses": {
          "200": {
            "description": "Manual-only fixture result; native ownership and sweep verification remain open",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TreasuryResult"
                }
              }
            }
          },
          "400": {
            "description": "Rejected or unavailable"
          },
          "401": {
            "description": "Rejected or unavailable"
          },
          "403": {
            "description": "Rejected or unavailable"
          },
          "404": {
            "description": "Rejected or unavailable"
          },
          "409": {
            "description": "Rejected or unavailable"
          },
          "429": {
            "description": "Rejected or unavailable"
          },
          "503": {
            "description": "Rejected or unavailable"
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/TreasuryChange"
              }
            }
          }
        }
      }
    },
    "/v1/organizations/{org}/treasury/rules": {
      "get": {
        "operationId": "get_v1_organizations_org_treasury_rules",
        "summary": "Development manual treasury sweep get",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "security": [
          {
            "sessionCookie": []
          },
          {
            "sandboxKey": []
          },
          {
            "SandboxSession": []
          }
        ],
        "responses": {
          "200": {
            "description": "Manual-only fixture result; native ownership and sweep verification remain open",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SweepRulesResult"
                }
              }
            }
          },
          "400": {
            "description": "Rejected or unavailable"
          },
          "401": {
            "description": "Rejected or unavailable"
          },
          "403": {
            "description": "Rejected or unavailable"
          },
          "404": {
            "description": "Rejected or unavailable"
          },
          "409": {
            "description": "Rejected or unavailable"
          },
          "429": {
            "description": "Rejected or unavailable"
          },
          "503": {
            "description": "Rejected or unavailable"
          }
        }
      },
      "post": {
        "operationId": "post_v1_organizations_org_treasury_rules",
        "summary": "Development manual treasury sweep post",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "security": [
          {
            "sessionCookie": []
          },
          {
            "sandboxKey": []
          },
          {
            "SandboxSession": []
          }
        ],
        "responses": {
          "201": {
            "description": "Manual-only fixture result; native ownership and sweep verification remain open",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SweepRuleResult"
                }
              }
            }
          },
          "400": {
            "description": "Rejected or unavailable"
          },
          "401": {
            "description": "Rejected or unavailable"
          },
          "403": {
            "description": "Rejected or unavailable"
          },
          "404": {
            "description": "Rejected or unavailable"
          },
          "409": {
            "description": "Rejected or unavailable"
          },
          "429": {
            "description": "Rejected or unavailable"
          },
          "503": {
            "description": "Rejected or unavailable"
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SweepRuleInput"
              }
            }
          }
        }
      }
    },
    "/v1/organizations/{org}/treasury/rules/{rule}/evaluate": {
      "post": {
        "operationId": "post_v1_organizations_org_treasury_rules_rule_evaluate",
        "summary": "Development manual treasury sweep post",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "rule",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "security": [
          {
            "sessionCookie": []
          },
          {
            "sandboxKey": []
          },
          {
            "SandboxSession": []
          }
        ],
        "responses": {
          "200": {
            "description": "Manual-only fixture result; native ownership and sweep verification remain open",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SweepEvaluation"
                }
              }
            }
          },
          "400": {
            "description": "Rejected or unavailable"
          },
          "401": {
            "description": "Rejected or unavailable"
          },
          "403": {
            "description": "Rejected or unavailable"
          },
          "404": {
            "description": "Rejected or unavailable"
          },
          "409": {
            "description": "Rejected or unavailable"
          },
          "429": {
            "description": "Rejected or unavailable"
          },
          "503": {
            "description": "Rejected or unavailable"
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/TreasuryEmpty"
              }
            }
          }
        }
      }
    },
    "/v1/organizations/{org}/treasury/rules/{rule}/control": {
      "post": {
        "operationId": "post_v1_organizations_org_treasury_rules_rule_control",
        "summary": "Development manual treasury sweep post",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "rule",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "security": [
          {
            "sessionCookie": []
          },
          {
            "SandboxSession": []
          }
        ],
        "responses": {
          "200": {
            "description": "Manual-only fixture result; native ownership and sweep verification remain open",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SweepRuleResult"
                }
              }
            }
          },
          "400": {
            "description": "Rejected or unavailable"
          },
          "401": {
            "description": "Rejected or unavailable"
          },
          "403": {
            "description": "Rejected or unavailable"
          },
          "404": {
            "description": "Rejected or unavailable"
          },
          "409": {
            "description": "Rejected or unavailable"
          },
          "429": {
            "description": "Rejected or unavailable"
          },
          "503": {
            "description": "Rejected or unavailable"
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/TreasuryChange"
              }
            }
          }
        }
      }
    },
    "/v1/organizations/{org}/treasury/proposals": {
      "get": {
        "operationId": "get_v1_organizations_org_treasury_proposals",
        "summary": "Development manual treasury sweep get",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "security": [
          {
            "sessionCookie": []
          },
          {
            "sandboxKey": []
          },
          {
            "SandboxSession": []
          }
        ],
        "responses": {
          "200": {
            "description": "Manual-only fixture result; native ownership and sweep verification remain open",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SweepProposalsResult"
                }
              }
            }
          },
          "400": {
            "description": "Rejected or unavailable"
          },
          "401": {
            "description": "Rejected or unavailable"
          },
          "403": {
            "description": "Rejected or unavailable"
          },
          "404": {
            "description": "Rejected or unavailable"
          },
          "409": {
            "description": "Rejected or unavailable"
          },
          "429": {
            "description": "Rejected or unavailable"
          },
          "503": {
            "description": "Rejected or unavailable"
          }
        }
      }
    },
    "/v1/organizations/{org}/treasury/proposals/{proposal}/attach": {
      "post": {
        "operationId": "post_v1_organizations_org_treasury_proposals_proposal_attach",
        "summary": "Development manual treasury sweep post",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "proposal",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "security": [
          {
            "sessionCookie": []
          },
          {
            "sandboxKey": []
          },
          {
            "SandboxSession": []
          }
        ],
        "responses": {
          "201": {
            "description": "Manual-only fixture result; native ownership and sweep verification remain open",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SweepAttachResult"
                }
              }
            }
          },
          "400": {
            "description": "Rejected or unavailable"
          },
          "401": {
            "description": "Rejected or unavailable"
          },
          "403": {
            "description": "Rejected or unavailable"
          },
          "404": {
            "description": "Rejected or unavailable"
          },
          "409": {
            "description": "Rejected or unavailable"
          },
          "429": {
            "description": "Rejected or unavailable"
          },
          "503": {
            "description": "Rejected or unavailable"
          },
          "200": {
            "description": "Manual-only fixture result; native ownership and sweep verification remain open",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SweepAttachResult"
                }
              }
            }
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/TreasuryAttach"
              }
            }
          }
        }
      }
    },
    "/v1/organizations/{org}/treasury/proposals/{proposal}/release": {
      "post": {
        "operationId": "post_v1_organizations_org_treasury_proposals_proposal_release",
        "summary": "Development manual treasury sweep post",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "proposal",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "security": [
          {
            "sessionCookie": []
          },
          {
            "sandboxKey": []
          },
          {
            "SandboxSession": []
          }
        ],
        "responses": {
          "200": {
            "description": "Manual-only fixture result; native ownership and sweep verification remain open",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SweepProposalResult"
                }
              }
            }
          },
          "400": {
            "description": "Rejected or unavailable"
          },
          "401": {
            "description": "Rejected or unavailable"
          },
          "403": {
            "description": "Rejected or unavailable"
          },
          "404": {
            "description": "Rejected or unavailable"
          },
          "409": {
            "description": "Rejected or unavailable"
          },
          "429": {
            "description": "Rejected or unavailable"
          },
          "503": {
            "description": "Rejected or unavailable"
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/TreasuryEmpty"
              }
            }
          }
        }
      }
    },
    "/v1/organizations/{org}/treasury/events": {
      "get": {
        "operationId": "get_v1_organizations_org_treasury_events",
        "summary": "Development manual treasury sweep get",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "security": [
          {
            "sessionCookie": []
          },
          {
            "sandboxKey": []
          },
          {
            "SandboxSession": []
          }
        ],
        "responses": {
          "200": {
            "description": "Manual-only fixture result; native ownership and sweep verification remain open",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SweepEventsResult"
                }
              }
            }
          },
          "400": {
            "description": "Rejected or unavailable"
          },
          "401": {
            "description": "Rejected or unavailable"
          },
          "403": {
            "description": "Rejected or unavailable"
          },
          "404": {
            "description": "Rejected or unavailable"
          },
          "409": {
            "description": "Rejected or unavailable"
          },
          "429": {
            "description": "Rejected or unavailable"
          },
          "503": {
            "description": "Rejected or unavailable"
          }
        }
      }
    },
    "/v1/organizations/{org}/risk/capabilities": {
      "get": {
        "operationId": "get_v1_organizations_org_risk_capabilities",
        "summary": "Internal fixture risk get capabilities",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "security": [
          {
            "sessionCookie": []
          },
          {
            "sandboxKey": []
          },
          {
            "SandboxSession": []
          }
        ],
        "responses": {
          "400": {
            "description": "Malformed policy"
          },
          "401": {
            "description": "Authentication required"
          },
          "403": {
            "description": "Human role or policy denied"
          },
          "404": {
            "description": "Tenant object absent"
          },
          "409": {
            "description": "Revision conflict"
          },
          "429": {
            "description": "Actor quota"
          },
          "503": {
            "description": "Persistence unavailable"
          },
          "200": {
            "description": "Internal fixture only",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RiskCapabilities"
                }
              }
            }
          }
        }
      }
    },
    "/v1/organizations/{org}/risk/control": {
      "get": {
        "operationId": "get_v1_organizations_org_risk_control",
        "summary": "Internal fixture risk get control",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "security": [
          {
            "sessionCookie": []
          },
          {
            "sandboxKey": []
          },
          {
            "SandboxSession": []
          }
        ],
        "responses": {
          "400": {
            "description": "Malformed policy"
          },
          "401": {
            "description": "Authentication required"
          },
          "403": {
            "description": "Human role or policy denied"
          },
          "404": {
            "description": "Tenant object absent"
          },
          "409": {
            "description": "Revision conflict"
          },
          "429": {
            "description": "Actor quota"
          },
          "503": {
            "description": "Persistence unavailable"
          },
          "200": {
            "description": "Internal fixture only",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RiskControlResult"
                }
              }
            }
          }
        }
      },
      "patch": {
        "operationId": "patch_v1_organizations_org_risk_control",
        "summary": "Internal fixture risk patch control",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "security": [
          {
            "sessionCookie": []
          },
          {
            "SandboxSession": []
          }
        ],
        "responses": {
          "400": {
            "description": "Malformed policy"
          },
          "401": {
            "description": "Authentication required"
          },
          "403": {
            "description": "Human role or policy denied"
          },
          "404": {
            "description": "Tenant object absent"
          },
          "409": {
            "description": "Revision conflict"
          },
          "429": {
            "description": "Actor quota"
          },
          "503": {
            "description": "Persistence unavailable"
          },
          "200": {
            "description": "Internal fixture only",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RiskControlResult"
                }
              }
            }
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/RiskControlInput"
              }
            }
          }
        }
      }
    },
    "/v1/organizations/{org}/risk/screenings": {
      "post": {
        "operationId": "post_v1_organizations_org_risk_screenings",
        "summary": "Internal fixture risk post screenings",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "security": [
          {
            "sessionCookie": []
          }
        ],
        "responses": {
          "400": {
            "description": "Malformed policy"
          },
          "401": {
            "description": "Authentication required"
          },
          "403": {
            "description": "Human role or policy denied"
          },
          "404": {
            "description": "Tenant object absent"
          },
          "409": {
            "description": "Revision conflict"
          },
          "429": {
            "description": "Actor quota"
          },
          "503": {
            "description": "Persistence unavailable"
          },
          "201": {
            "description": "Internal fixture only",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RiskScreenResult"
                }
              }
            }
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/RiskScreenInput"
              }
            }
          }
        }
      }
    },
    "/v1/organizations/{org}/risk/cases": {
      "get": {
        "operationId": "get_v1_organizations_org_risk_cases",
        "summary": "Internal fixture risk get cases",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "security": [
          {
            "sessionCookie": []
          },
          {
            "sandboxKey": []
          },
          {
            "SandboxSession": []
          }
        ],
        "responses": {
          "400": {
            "description": "Malformed policy"
          },
          "401": {
            "description": "Authentication required"
          },
          "403": {
            "description": "Human role or policy denied"
          },
          "404": {
            "description": "Tenant object absent"
          },
          "409": {
            "description": "Revision conflict"
          },
          "429": {
            "description": "Actor quota"
          },
          "503": {
            "description": "Persistence unavailable"
          },
          "200": {
            "description": "Internal fixture only",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RiskCases"
                }
              }
            }
          }
        }
      }
    },
    "/v1/organizations/{org}/risk/cases/{case}/review": {
      "post": {
        "operationId": "post_v1_organizations_org_risk_cases_case_review",
        "summary": "Internal fixture risk post cases/{case}/review",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "case",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "security": [
          {
            "sessionCookie": []
          }
        ],
        "responses": {
          "400": {
            "description": "Malformed policy"
          },
          "401": {
            "description": "Authentication required"
          },
          "403": {
            "description": "Human role or policy denied"
          },
          "404": {
            "description": "Tenant object absent"
          },
          "409": {
            "description": "Revision conflict"
          },
          "429": {
            "description": "Actor quota"
          },
          "503": {
            "description": "Persistence unavailable"
          },
          "200": {
            "description": "Internal fixture only",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RiskReviewResult"
                }
              }
            }
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/RiskReviewInput"
              }
            }
          }
        }
      }
    },
    "/v1/organizations/{org}/risk/reviews": {
      "get": {
        "operationId": "get_v1_organizations_org_risk_reviews",
        "summary": "Internal fixture risk get reviews",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "security": [
          {
            "sessionCookie": []
          },
          {
            "sandboxKey": []
          },
          {
            "SandboxSession": []
          }
        ],
        "responses": {
          "400": {
            "description": "Malformed policy"
          },
          "401": {
            "description": "Authentication required"
          },
          "403": {
            "description": "Human role or policy denied"
          },
          "404": {
            "description": "Tenant object absent"
          },
          "409": {
            "description": "Revision conflict"
          },
          "429": {
            "description": "Actor quota"
          },
          "503": {
            "description": "Persistence unavailable"
          },
          "200": {
            "description": "Internal fixture only",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RiskReviews"
                }
              }
            }
          }
        }
      }
    },
    "/v1/organizations/{org}/risk/authorizations": {
      "get": {
        "operationId": "get_v1_organizations_org_risk_authorizations",
        "summary": "Internal fixture risk get authorizations",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "security": [
          {
            "sessionCookie": []
          },
          {
            "sandboxKey": []
          },
          {
            "SandboxSession": []
          }
        ],
        "responses": {
          "400": {
            "description": "Malformed policy"
          },
          "401": {
            "description": "Authentication required"
          },
          "403": {
            "description": "Human role or policy denied"
          },
          "404": {
            "description": "Tenant object absent"
          },
          "409": {
            "description": "Revision conflict"
          },
          "429": {
            "description": "Actor quota"
          },
          "503": {
            "description": "Persistence unavailable"
          },
          "200": {
            "description": "Internal fixture only",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RiskAuthorizations"
                }
              }
            }
          }
        }
      }
    },
    "/v1/organizations/{org}/crosschain-intents/capabilities": {
      "get": {
        "operationId": "get_v1_organizations_org_crosschain_capabilities",
        "summary": "CCTP fixture get capabilities",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "security": [
          {
            "sessionCookie": []
          },
          {
            "sandboxKey": []
          },
          {
            "SandboxSession": []
          }
        ],
        "responses": {
          "400": {
            "description": "Malformed policy"
          },
          "401": {
            "description": "Authentication required"
          },
          "403": {
            "description": "Human role or policy denied"
          },
          "404": {
            "description": "Tenant object absent"
          },
          "409": {
            "description": "Revision conflict"
          },
          "429": {
            "description": "Actor quota"
          },
          "503": {
            "description": "Persistence unavailable"
          },
          "200": {
            "description": "Internal two-leg fixture only",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CctpCapabilities"
                }
              }
            }
          }
        }
      }
    },
    "/v1/organizations/{org}/crosschain-intents/control": {
      "get": {
        "operationId": "get_v1_organizations_org_crosschain_control",
        "summary": "CCTP fixture get control",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "security": [
          {
            "sessionCookie": []
          },
          {
            "sandboxKey": []
          },
          {
            "SandboxSession": []
          }
        ],
        "responses": {
          "400": {
            "description": "Malformed policy"
          },
          "401": {
            "description": "Authentication required"
          },
          "403": {
            "description": "Human role or policy denied"
          },
          "404": {
            "description": "Tenant object absent"
          },
          "409": {
            "description": "Revision conflict"
          },
          "429": {
            "description": "Actor quota"
          },
          "503": {
            "description": "Persistence unavailable"
          },
          "200": {
            "description": "Internal two-leg fixture only",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CctpControlResult"
                }
              }
            }
          }
        }
      },
      "patch": {
        "operationId": "patch_v1_organizations_org_crosschain_control",
        "summary": "CCTP fixture patch control",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "X-Azums-CSRF",
            "in": "header",
            "required": true,
            "schema": {
              "const": "1"
            }
          }
        ],
        "security": [
          {
            "sessionCookie": []
          },
          {
            "SandboxSession": []
          }
        ],
        "responses": {
          "400": {
            "description": "Malformed policy"
          },
          "401": {
            "description": "Authentication required"
          },
          "403": {
            "description": "Human role or policy denied"
          },
          "404": {
            "description": "Tenant object absent"
          },
          "409": {
            "description": "Revision conflict"
          },
          "429": {
            "description": "Actor quota"
          },
          "503": {
            "description": "Persistence unavailable"
          },
          "200": {
            "description": "Internal two-leg fixture only",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CctpControlResult"
                }
              }
            }
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CctpControlInput"
              }
            }
          }
        }
      }
    },
    "/v1/organizations/{org}/crosschain-intents/quotes": {
      "post": {
        "operationId": "post_v1_organizations_org_crosschain_quotes",
        "summary": "CCTP fixture post quotes",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "X-Azums-CSRF",
            "in": "header",
            "required": true,
            "schema": {
              "const": "1"
            }
          }
        ],
        "security": [
          {
            "sessionCookie": []
          },
          {
            "sandboxKey": []
          },
          {
            "SandboxSession": []
          }
        ],
        "responses": {
          "400": {
            "description": "Malformed policy"
          },
          "401": {
            "description": "Authentication required"
          },
          "403": {
            "description": "Human role or policy denied"
          },
          "404": {
            "description": "Tenant object absent"
          },
          "409": {
            "description": "Revision conflict"
          },
          "429": {
            "description": "Actor quota"
          },
          "503": {
            "description": "Persistence unavailable"
          },
          "201": {
            "description": "Internal two-leg fixture only",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CctpQuoteResult"
                }
              }
            }
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CctpQuoteInput"
              }
            }
          }
        }
      }
    },
    "/v1/organizations/{org}/crosschain-intents": {
      "get": {
        "operationId": "get_v1_organizations_org_crosschain_",
        "summary": "CCTP fixture get ",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "security": [
          {
            "sessionCookie": []
          },
          {
            "sandboxKey": []
          },
          {
            "SandboxSession": []
          }
        ],
        "responses": {
          "400": {
            "description": "Malformed policy"
          },
          "401": {
            "description": "Authentication required"
          },
          "403": {
            "description": "Human role or policy denied"
          },
          "404": {
            "description": "Tenant object absent"
          },
          "409": {
            "description": "Revision conflict"
          },
          "429": {
            "description": "Actor quota"
          },
          "503": {
            "description": "Persistence unavailable"
          },
          "200": {
            "description": "Internal two-leg fixture only",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CctpTransfersResult"
                }
              }
            }
          }
        }
      },
      "post": {
        "operationId": "post_v1_organizations_org_crosschain_",
        "summary": "CCTP fixture post ",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "X-Azums-CSRF",
            "in": "header",
            "required": true,
            "schema": {
              "const": "1"
            }
          },
          {
            "name": "Idempotency-Key",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string",
              "minLength": 8,
              "maxLength": 80
            }
          }
        ],
        "security": [
          {
            "sessionCookie": []
          },
          {
            "sandboxKey": []
          },
          {
            "SandboxSession": []
          }
        ],
        "responses": {
          "400": {
            "description": "Malformed policy"
          },
          "401": {
            "description": "Authentication required"
          },
          "403": {
            "description": "Human role or policy denied"
          },
          "404": {
            "description": "Tenant object absent"
          },
          "409": {
            "description": "Revision conflict"
          },
          "429": {
            "description": "Actor quota"
          },
          "503": {
            "description": "Persistence unavailable"
          },
          "201": {
            "description": "Internal two-leg fixture only",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CctpTransferResult"
                }
              }
            }
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CctpCreateInput"
              }
            }
          }
        }
      }
    },
    "/v1/organizations/{org}/crosschain-intents/{intent}": {
      "get": {
        "operationId": "get_v1_organizations_org_crosschain_intent",
        "summary": "CCTP fixture get {intent}",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "intent",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "security": [
          {
            "sessionCookie": []
          },
          {
            "sandboxKey": []
          },
          {
            "SandboxSession": []
          }
        ],
        "responses": {
          "400": {
            "description": "Malformed policy"
          },
          "401": {
            "description": "Authentication required"
          },
          "403": {
            "description": "Human role or policy denied"
          },
          "404": {
            "description": "Tenant object absent"
          },
          "409": {
            "description": "Revision conflict"
          },
          "429": {
            "description": "Actor quota"
          },
          "503": {
            "description": "Persistence unavailable"
          },
          "200": {
            "description": "Internal two-leg fixture only",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CctpTransferResult"
                }
              }
            }
          }
        }
      }
    },
    "/v1/organizations/{org}/crosschain-intents/{intent}/events": {
      "get": {
        "operationId": "get_v1_organizations_org_crosschain_intent_events",
        "summary": "CCTP fixture get {intent}/events",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "intent",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "security": [
          {
            "sessionCookie": []
          },
          {
            "sandboxKey": []
          },
          {
            "SandboxSession": []
          }
        ],
        "responses": {
          "400": {
            "description": "Malformed policy"
          },
          "401": {
            "description": "Authentication required"
          },
          "403": {
            "description": "Human role or policy denied"
          },
          "404": {
            "description": "Tenant object absent"
          },
          "409": {
            "description": "Revision conflict"
          },
          "429": {
            "description": "Actor quota"
          },
          "503": {
            "description": "Persistence unavailable"
          },
          "200": {
            "description": "Internal two-leg fixture only",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CctpEventsResult"
                }
              }
            }
          }
        }
      }
    },
    "/v1/organizations/{org}/crosschain-intents/{intent}/attestation": {
      "post": {
        "operationId": "post_v1_organizations_org_crosschain_intent_attestation",
        "summary": "CCTP fixture post {intent}/attestation",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "intent",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "X-Azums-CSRF",
            "in": "header",
            "required": true,
            "schema": {
              "const": "1"
            }
          }
        ],
        "security": [
          {
            "sessionCookie": []
          },
          {
            "sandboxKey": []
          },
          {
            "SandboxSession": []
          }
        ],
        "responses": {
          "400": {
            "description": "Malformed policy"
          },
          "401": {
            "description": "Authentication required"
          },
          "403": {
            "description": "Human role or policy denied"
          },
          "404": {
            "description": "Tenant object absent"
          },
          "409": {
            "description": "Revision conflict"
          },
          "429": {
            "description": "Actor quota"
          },
          "503": {
            "description": "Persistence unavailable"
          },
          "200": {
            "description": "Internal two-leg fixture only",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CctpTransferResult"
                }
              }
            }
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CctpAttestation"
              }
            }
          }
        }
      }
    },
    "/v1/organizations/{org}/crosschain-intents/{intent}/cancel": {
      "post": {
        "operationId": "post_v1_organizations_org_crosschain_intent_cancel",
        "summary": "CCTP fixture post {intent}/cancel",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "intent",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "X-Azums-CSRF",
            "in": "header",
            "required": true,
            "schema": {
              "const": "1"
            }
          }
        ],
        "security": [
          {
            "sessionCookie": []
          },
          {
            "sandboxKey": []
          },
          {
            "SandboxSession": []
          }
        ],
        "responses": {
          "400": {
            "description": "Malformed policy"
          },
          "401": {
            "description": "Authentication required"
          },
          "403": {
            "description": "Human role or policy denied"
          },
          "404": {
            "description": "Tenant object absent"
          },
          "409": {
            "description": "Revision conflict"
          },
          "429": {
            "description": "Actor quota"
          },
          "503": {
            "description": "Persistence unavailable"
          },
          "200": {
            "description": "Internal two-leg fixture only",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CctpTransferResult"
                }
              }
            }
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/EmptyObject"
              }
            }
          }
        }
      }
    },
    "/v1/organizations/{org}/crosschain-intents/{intent}/mint-approve": {
      "post": {
        "operationId": "post_v1_organizations_org_crosschain_intent_mint-approve",
        "summary": "CCTP fixture post {intent}/mint-approve",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "intent",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "X-Azums-CSRF",
            "in": "header",
            "required": true,
            "schema": {
              "const": "1"
            }
          }
        ],
        "security": [
          {
            "sessionCookie": []
          },
          {
            "sandboxKey": []
          },
          {
            "SandboxSession": []
          }
        ],
        "responses": {
          "400": {
            "description": "Malformed policy"
          },
          "401": {
            "description": "Authentication required"
          },
          "403": {
            "description": "Human role or policy denied"
          },
          "404": {
            "description": "Tenant object absent"
          },
          "409": {
            "description": "Revision conflict"
          },
          "429": {
            "description": "Actor quota"
          },
          "503": {
            "description": "Persistence unavailable"
          },
          "200": {
            "description": "Internal two-leg fixture only",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CctpMintApproveResult"
                }
              }
            }
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CctpMintApproveInput"
              }
            }
          }
        }
      }
    },
    "/v1/organizations/{org}/crosschain-intents/{intent}/mint-signed": {
      "post": {
        "operationId": "post_v1_organizations_org_crosschain_intent_mint-signed",
        "summary": "CCTP fixture post {intent}/mint-signed",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "intent",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "X-Azums-CSRF",
            "in": "header",
            "required": true,
            "schema": {
              "const": "1"
            }
          }
        ],
        "security": [
          {
            "sessionCookie": []
          },
          {
            "sandboxKey": []
          },
          {
            "SandboxSession": []
          }
        ],
        "responses": {
          "400": {
            "description": "Malformed policy"
          },
          "401": {
            "description": "Authentication required"
          },
          "403": {
            "description": "Human role or policy denied"
          },
          "404": {
            "description": "Tenant object absent"
          },
          "409": {
            "description": "Revision conflict"
          },
          "429": {
            "description": "Actor quota"
          },
          "503": {
            "description": "Persistence unavailable"
          },
          "200": {
            "description": "Internal two-leg fixture only",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CctpTransferResult"
                }
              }
            }
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CctpMintProof"
              }
            }
          }
        }
      }
    },
    "/v1/organizations/{org}/crosschain-intents/{intent}/reconcile": {
      "post": {
        "operationId": "post_v1_organizations_org_crosschain_intent_reconcile",
        "summary": "CCTP fixture post {intent}/reconcile",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "intent",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "X-Azums-CSRF",
            "in": "header",
            "required": true,
            "schema": {
              "const": "1"
            }
          }
        ],
        "security": [
          {
            "sessionCookie": []
          },
          {
            "sandboxKey": []
          },
          {
            "SandboxSession": []
          }
        ],
        "responses": {
          "400": {
            "description": "Malformed policy"
          },
          "401": {
            "description": "Authentication required"
          },
          "403": {
            "description": "Human role or policy denied"
          },
          "404": {
            "description": "Tenant object absent"
          },
          "409": {
            "description": "Revision conflict"
          },
          "429": {
            "description": "Actor quota"
          },
          "503": {
            "description": "Persistence unavailable"
          },
          "202": {
            "description": "Internal two-leg fixture only",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CctpLookupResult"
                }
              }
            }
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/EmptyObject"
              }
            }
          }
        }
      }
    },
    "/v1/organizations/{org}/obligations": {
      "get": {
        "operationId": "m26_get__obligations",
        "summary": "Retained fixture business outcomes; customer assertions remain separately labeled",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "security": [
          {
            "sessionCookie": []
          },
          {
            "sandboxKey": []
          },
          {
            "SandboxSession": []
          }
        ],
        "responses": {
          "200": {
            "description": "Fixture outcome response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OutcomeListResult"
                }
              }
            }
          },
          "400": {
            "description": "Malformed policy"
          },
          "401": {
            "description": "Authentication required"
          },
          "403": {
            "description": "Human role or policy denied"
          },
          "404": {
            "description": "Tenant object absent"
          },
          "409": {
            "description": "Revision conflict"
          },
          "429": {
            "description": "Actor quota"
          },
          "503": {
            "description": "Persistence unavailable"
          }
        },
        "x-required-scopes": [
          "organization:read",
          "outcomes:read"
        ]
      },
      "post": {
        "operationId": "m26_post__obligations",
        "summary": "Retained fixture business outcomes; customer assertions remain separately labeled",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "Idempotency-Key",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string",
              "minLength": 8,
              "maxLength": 80
            }
          }
        ],
        "security": [
          {
            "sessionCookie": []
          },
          {
            "sandboxKey": []
          },
          {
            "SandboxSession": []
          }
        ],
        "responses": {
          "201": {
            "description": "Fixture outcome response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OutcomeObligationResult"
                }
              }
            }
          },
          "400": {
            "description": "Malformed policy"
          },
          "401": {
            "description": "Authentication required"
          },
          "403": {
            "description": "Human role or policy denied"
          },
          "404": {
            "description": "Tenant object absent"
          },
          "409": {
            "description": "Revision conflict"
          },
          "429": {
            "description": "Actor quota"
          },
          "503": {
            "description": "Persistence unavailable"
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/OutcomeCreate"
              }
            }
          }
        },
        "x-required-scopes": [
          "organization:read",
          "outcomes:read",
          "outcomes:write"
        ]
      }
    },
    "/v1/organizations/{org}/obligations/capabilities": {
      "get": {
        "operationId": "m26_get__capabilities_obligations",
        "summary": "Retained fixture business outcomes; customer assertions remain separately labeled",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "security": [
          {
            "sessionCookie": []
          },
          {
            "sandboxKey": []
          },
          {
            "SandboxSession": []
          }
        ],
        "responses": {
          "200": {
            "description": "Fixture outcome response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OutcomeCapabilities"
                }
              }
            }
          },
          "400": {
            "description": "Malformed policy"
          },
          "401": {
            "description": "Authentication required"
          },
          "403": {
            "description": "Human role or policy denied"
          },
          "404": {
            "description": "Tenant object absent"
          },
          "409": {
            "description": "Revision conflict"
          },
          "429": {
            "description": "Actor quota"
          },
          "503": {
            "description": "Persistence unavailable"
          }
        },
        "x-required-scopes": [
          "organization:read",
          "outcomes:read"
        ]
      }
    },
    "/v1/organizations/{org}/obligations/{obligation}": {
      "get": {
        "operationId": "m26_get__obligation_obligations",
        "summary": "Retained fixture business outcomes; customer assertions remain separately labeled",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "obligation",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "security": [
          {
            "sessionCookie": []
          },
          {
            "sandboxKey": []
          },
          {
            "SandboxSession": []
          }
        ],
        "responses": {
          "200": {
            "description": "Fixture outcome response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OutcomeObligationResult"
                }
              }
            }
          },
          "400": {
            "description": "Malformed policy"
          },
          "401": {
            "description": "Authentication required"
          },
          "403": {
            "description": "Human role or policy denied"
          },
          "404": {
            "description": "Tenant object absent"
          },
          "409": {
            "description": "Revision conflict"
          },
          "429": {
            "description": "Actor quota"
          },
          "503": {
            "description": "Persistence unavailable"
          }
        },
        "x-required-scopes": [
          "organization:read",
          "outcomes:read"
        ]
      }
    },
    "/v1/organizations/{org}/obligations/{obligation}/allocations": {
      "get": {
        "operationId": "m26_get__obligation_allocations_obligations",
        "summary": "Retained fixture business outcomes; customer assertions remain separately labeled",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "obligation",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "security": [
          {
            "sessionCookie": []
          },
          {
            "sandboxKey": []
          },
          {
            "SandboxSession": []
          }
        ],
        "responses": {
          "200": {
            "description": "Fixture outcome response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OutcomeAllocationsResult"
                }
              }
            }
          },
          "400": {
            "description": "Malformed policy"
          },
          "401": {
            "description": "Authentication required"
          },
          "403": {
            "description": "Human role or policy denied"
          },
          "404": {
            "description": "Tenant object absent"
          },
          "409": {
            "description": "Revision conflict"
          },
          "429": {
            "description": "Actor quota"
          },
          "503": {
            "description": "Persistence unavailable"
          }
        },
        "x-required-scopes": [
          "organization:read",
          "outcomes:read"
        ]
      },
      "post": {
        "operationId": "m26_post__obligation_allocations_obligations",
        "summary": "Retained fixture business outcomes; customer assertions remain separately labeled",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "obligation",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "security": [
          {
            "sessionCookie": []
          },
          {
            "sandboxKey": []
          },
          {
            "SandboxSession": []
          }
        ],
        "responses": {
          "200": {
            "description": "Fixture outcome response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OutcomeObligationResult"
                }
              }
            }
          },
          "400": {
            "description": "Malformed policy"
          },
          "401": {
            "description": "Authentication required"
          },
          "403": {
            "description": "Human role or policy denied"
          },
          "404": {
            "description": "Tenant object absent"
          },
          "409": {
            "description": "Revision conflict"
          },
          "429": {
            "description": "Actor quota"
          },
          "503": {
            "description": "Persistence unavailable"
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/OutcomeAllocate"
              }
            }
          }
        },
        "x-required-scopes": [
          "organization:read",
          "outcomes:read",
          "outcomes:write"
        ]
      }
    },
    "/v1/organizations/{org}/obligations/{obligation}/acknowledgements": {
      "get": {
        "operationId": "m26_get__obligation_acknowledgements_obligations",
        "summary": "Retained fixture business outcomes; customer assertions remain separately labeled",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "obligation",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "security": [
          {
            "sessionCookie": []
          },
          {
            "sandboxKey": []
          },
          {
            "SandboxSession": []
          }
        ],
        "responses": {
          "200": {
            "description": "Fixture outcome response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OutcomeAcknowledgementsResult"
                }
              }
            }
          },
          "400": {
            "description": "Malformed policy"
          },
          "401": {
            "description": "Authentication required"
          },
          "403": {
            "description": "Human role or policy denied"
          },
          "404": {
            "description": "Tenant object absent"
          },
          "409": {
            "description": "Revision conflict"
          },
          "429": {
            "description": "Actor quota"
          },
          "503": {
            "description": "Persistence unavailable"
          }
        },
        "x-required-scopes": [
          "organization:read",
          "outcomes:read"
        ],
        "x-customer-assertions-are-independent-proof": false
      },
      "post": {
        "operationId": "m26_post__obligation_acknowledgements_obligations",
        "summary": "Retained fixture business outcomes; customer assertions remain separately labeled",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "obligation",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "security": [
          {
            "sessionCookie": []
          },
          {
            "SandboxSession": []
          }
        ],
        "responses": {
          "201": {
            "description": "Fixture outcome response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OutcomeObligationResult"
                }
              }
            }
          },
          "400": {
            "description": "Malformed policy"
          },
          "401": {
            "description": "Authentication required"
          },
          "403": {
            "description": "Human role or policy denied"
          },
          "404": {
            "description": "Tenant object absent"
          },
          "409": {
            "description": "Revision conflict"
          },
          "429": {
            "description": "Actor quota"
          },
          "503": {
            "description": "Persistence unavailable"
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/OutcomeAcknowledge"
              }
            }
          }
        },
        "x-required-scopes": [
          "organization:read",
          "outcomes:read"
        ],
        "x-human-mfa-roles": [
          "owner",
          "admin",
          "finance"
        ],
        "x-customer-assertions-are-independent-proof": false
      }
    },
    "/v1/organizations/{org}/obligations/{obligation}/disputes": {
      "get": {
        "operationId": "m26_get__obligation_disputes_obligations",
        "summary": "Retained fixture business outcomes; customer assertions remain separately labeled",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "obligation",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "security": [
          {
            "sessionCookie": []
          },
          {
            "sandboxKey": []
          },
          {
            "SandboxSession": []
          }
        ],
        "responses": {
          "200": {
            "description": "Fixture outcome response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OutcomeDisputesResult"
                }
              }
            }
          },
          "400": {
            "description": "Malformed policy"
          },
          "401": {
            "description": "Authentication required"
          },
          "403": {
            "description": "Human role or policy denied"
          },
          "404": {
            "description": "Tenant object absent"
          },
          "409": {
            "description": "Revision conflict"
          },
          "429": {
            "description": "Actor quota"
          },
          "503": {
            "description": "Persistence unavailable"
          }
        },
        "x-required-scopes": [
          "organization:read",
          "outcomes:read"
        ]
      },
      "post": {
        "operationId": "m26_post__obligation_disputes_obligations",
        "summary": "Retained fixture business outcomes; customer assertions remain separately labeled",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "obligation",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "security": [
          {
            "sessionCookie": []
          },
          {
            "SandboxSession": []
          }
        ],
        "responses": {
          "201": {
            "description": "Fixture outcome response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OutcomeObligationResult"
                }
              }
            }
          },
          "400": {
            "description": "Malformed policy"
          },
          "401": {
            "description": "Authentication required"
          },
          "403": {
            "description": "Human role or policy denied"
          },
          "404": {
            "description": "Tenant object absent"
          },
          "409": {
            "description": "Revision conflict"
          },
          "429": {
            "description": "Actor quota"
          },
          "503": {
            "description": "Persistence unavailable"
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/OutcomeDisputeInput"
              }
            }
          }
        },
        "x-required-scopes": [
          "organization:read",
          "outcomes:read"
        ],
        "x-human-mfa-roles": [
          "owner",
          "admin",
          "finance"
        ]
      }
    },
    "/v1/organizations/{org}/obligations/{obligation}/disputes/{dispute}/resolve": {
      "post": {
        "operationId": "m26_post__obligation_disputes_dispute_resolve_obligations",
        "summary": "Retained fixture business outcomes; customer assertions remain separately labeled",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "obligation",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "dispute",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "security": [
          {
            "sessionCookie": []
          },
          {
            "SandboxSession": []
          }
        ],
        "responses": {
          "200": {
            "description": "Fixture outcome response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OutcomeObligationResult"
                }
              }
            }
          },
          "400": {
            "description": "Malformed policy"
          },
          "401": {
            "description": "Authentication required"
          },
          "403": {
            "description": "Human role or policy denied"
          },
          "404": {
            "description": "Tenant object absent"
          },
          "409": {
            "description": "Revision conflict"
          },
          "429": {
            "description": "Actor quota"
          },
          "503": {
            "description": "Persistence unavailable"
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/OutcomeResolveInput"
              }
            }
          }
        },
        "x-required-scopes": [
          "organization:read",
          "outcomes:read"
        ],
        "x-human-mfa-roles": [
          "owner",
          "admin",
          "finance"
        ]
      }
    },
    "/v1/organizations/{org}/obligations/{obligation}/events": {
      "get": {
        "operationId": "m26_get__obligation_events_obligations",
        "summary": "Retained fixture business outcomes; customer assertions remain separately labeled",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "obligation",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "security": [
          {
            "sessionCookie": []
          },
          {
            "sandboxKey": []
          },
          {
            "SandboxSession": []
          }
        ],
        "responses": {
          "200": {
            "description": "Fixture outcome response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OutcomeEventsResult"
                }
              }
            }
          },
          "400": {
            "description": "Malformed policy"
          },
          "401": {
            "description": "Authentication required"
          },
          "403": {
            "description": "Human role or policy denied"
          },
          "404": {
            "description": "Tenant object absent"
          },
          "409": {
            "description": "Revision conflict"
          },
          "429": {
            "description": "Actor quota"
          },
          "503": {
            "description": "Persistence unavailable"
          }
        },
        "x-required-scopes": [
          "organization:read",
          "outcomes:read"
        ]
      }
    },
    "/v1/organizations/{org}/obligations/{obligation}/evaluate": {
      "post": {
        "operationId": "m26_post__obligation_evaluate_obligations",
        "summary": "Retained fixture business outcomes; customer assertions remain separately labeled",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "obligation",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "security": [
          {
            "sessionCookie": []
          },
          {
            "sandboxKey": []
          },
          {
            "SandboxSession": []
          }
        ],
        "responses": {
          "200": {
            "description": "Fixture outcome response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OutcomeObligationResult"
                }
              }
            }
          },
          "400": {
            "description": "Malformed policy"
          },
          "401": {
            "description": "Authentication required"
          },
          "403": {
            "description": "Human role or policy denied"
          },
          "404": {
            "description": "Tenant object absent"
          },
          "409": {
            "description": "Revision conflict"
          },
          "429": {
            "description": "Actor quota"
          },
          "503": {
            "description": "Persistence unavailable"
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Empty"
              }
            }
          }
        },
        "x-required-scopes": [
          "organization:read",
          "outcomes:read",
          "outcomes:write"
        ]
      }
    },
    "/v1/organizations/{org}/evidence/capabilities": {
      "get": {
        "operationId": "evidenceCapabilities",
        "summary": "Capabilities",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "security": [
          {
            "sessionCookie": []
          },
          {
            "sandboxKey": []
          },
          {
            "SandboxSession": []
          }
        ],
        "responses": {
          "200": {
            "description": "Retained local evidence",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EvidenceCapabilities"
                }
              }
            }
          },
          "400": {
            "description": "Malformed policy"
          },
          "401": {
            "description": "Authentication required"
          },
          "403": {
            "description": "Human role or policy denied"
          },
          "404": {
            "description": "Tenant object absent"
          },
          "409": {
            "description": "Revision conflict"
          },
          "429": {
            "description": "Actor quota"
          },
          "503": {
            "description": "Persistence unavailable"
          }
        },
        "x-required-scopes": [
          "organization:read",
          "outcomes:read"
        ],
        "description": "Local as-of issuer statement; no native chain, ERP or vendor verification. Outcome read scope exposes retained source evidence.",
        "x-allowed-roles": [
          "owner",
          "admin",
          "developer",
          "operator",
          "finance",
          "approver",
          "auditor"
        ]
      }
    },
    "/v1/organizations/{org}/evidence/issuer-key": {
      "get": {
        "operationId": "evidenceIssuerKey",
        "summary": "IssuerKey",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "security": [
          {
            "sessionCookie": []
          },
          {
            "sandboxKey": []
          },
          {
            "SandboxSession": []
          }
        ],
        "responses": {
          "200": {
            "description": "Retained local evidence",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EvidenceIssuerKey"
                }
              }
            }
          },
          "400": {
            "description": "Malformed policy"
          },
          "401": {
            "description": "Authentication required"
          },
          "403": {
            "description": "Human role or policy denied"
          },
          "404": {
            "description": "Tenant object absent"
          },
          "409": {
            "description": "Revision conflict"
          },
          "429": {
            "description": "Actor quota"
          },
          "503": {
            "description": "Persistence unavailable"
          }
        },
        "x-required-scopes": [
          "organization:read",
          "outcomes:read"
        ],
        "description": "Local as-of issuer statement; no native chain, ERP or vendor verification. Outcome read scope exposes retained source evidence.",
        "x-allowed-roles": [
          "owner",
          "admin",
          "developer",
          "operator",
          "finance",
          "approver",
          "auditor"
        ]
      }
    },
    "/v1/organizations/{org}/evidence/receipts": {
      "get": {
        "operationId": "evidenceListReceipts",
        "summary": "ListReceipts",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "security": [
          {
            "sessionCookie": []
          },
          {
            "sandboxKey": []
          },
          {
            "SandboxSession": []
          }
        ],
        "responses": {
          "200": {
            "description": "Retained local evidence",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EvidenceReceiptList"
                }
              }
            }
          },
          "400": {
            "description": "Malformed policy"
          },
          "401": {
            "description": "Authentication required"
          },
          "403": {
            "description": "Human role or policy denied"
          },
          "404": {
            "description": "Tenant object absent"
          },
          "409": {
            "description": "Revision conflict"
          },
          "429": {
            "description": "Actor quota"
          },
          "503": {
            "description": "Persistence unavailable"
          }
        },
        "x-required-scopes": [
          "organization:read",
          "outcomes:read"
        ],
        "description": "Local as-of issuer statement; no native chain, ERP or vendor verification. Outcome read scope exposes retained source evidence.",
        "x-allowed-roles": [
          "owner",
          "admin",
          "developer",
          "operator",
          "finance",
          "approver",
          "auditor"
        ]
      }
    },
    "/v1/organizations/{org}/evidence/receipts/{receipt}": {
      "get": {
        "operationId": "evidenceGetReceipt",
        "summary": "GetReceipt",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "receipt",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "security": [
          {
            "sessionCookie": []
          },
          {
            "sandboxKey": []
          },
          {
            "SandboxSession": []
          }
        ],
        "responses": {
          "200": {
            "description": "Retained local evidence",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EvidenceReceiptResult"
                }
              }
            }
          },
          "400": {
            "description": "Malformed policy"
          },
          "401": {
            "description": "Authentication required"
          },
          "403": {
            "description": "Human role or policy denied"
          },
          "404": {
            "description": "Tenant object absent"
          },
          "409": {
            "description": "Revision conflict"
          },
          "429": {
            "description": "Actor quota"
          },
          "503": {
            "description": "Persistence unavailable"
          }
        },
        "x-required-scopes": [
          "organization:read",
          "outcomes:read"
        ],
        "description": "Local as-of issuer statement; no native chain, ERP or vendor verification. Outcome read scope exposes retained source evidence.",
        "x-allowed-roles": [
          "owner",
          "admin",
          "developer",
          "operator",
          "finance",
          "approver",
          "auditor"
        ]
      }
    },
    "/v1/organizations/{org}/evidence/receipts/{receipt}/export": {
      "get": {
        "operationId": "evidenceExportReceipt",
        "summary": "ExportReceipt",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "receipt",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "security": [
          {
            "sessionCookie": []
          },
          {
            "sandboxKey": []
          },
          {
            "SandboxSession": []
          }
        ],
        "responses": {
          "200": {
            "description": "Retained local evidence",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EvidenceReceiptResult"
                }
              }
            }
          },
          "400": {
            "description": "Malformed policy"
          },
          "401": {
            "description": "Authentication required"
          },
          "403": {
            "description": "Human role or policy denied"
          },
          "404": {
            "description": "Tenant object absent"
          },
          "409": {
            "description": "Revision conflict"
          },
          "429": {
            "description": "Actor quota"
          },
          "503": {
            "description": "Persistence unavailable"
          }
        },
        "x-required-scopes": [
          "organization:read",
          "outcomes:read"
        ],
        "description": "Local as-of issuer statement; no native chain, ERP or vendor verification. Outcome read scope exposes retained source evidence.",
        "x-allowed-roles": [
          "owner",
          "admin",
          "developer",
          "operator",
          "finance",
          "approver",
          "auditor"
        ]
      }
    },
    "/v1/organizations/{org}/evidence/receipts/{receipt}/facts": {
      "get": {
        "operationId": "evidenceReceiptFacts",
        "summary": "ReceiptFacts",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "receipt",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "security": [
          {
            "sessionCookie": []
          },
          {
            "sandboxKey": []
          },
          {
            "SandboxSession": []
          }
        ],
        "responses": {
          "200": {
            "description": "Retained local evidence",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EvidenceFactsResult"
                }
              }
            }
          },
          "400": {
            "description": "Malformed policy"
          },
          "401": {
            "description": "Authentication required"
          },
          "403": {
            "description": "Human role or policy denied"
          },
          "404": {
            "description": "Tenant object absent"
          },
          "409": {
            "description": "Revision conflict"
          },
          "429": {
            "description": "Actor quota"
          },
          "503": {
            "description": "Persistence unavailable"
          }
        },
        "x-required-scopes": [
          "organization:read",
          "outcomes:read"
        ],
        "description": "Local as-of issuer statement; no native chain, ERP or vendor verification. Outcome read scope exposes retained source evidence.",
        "x-allowed-roles": [
          "owner",
          "admin",
          "developer",
          "operator",
          "finance",
          "approver",
          "auditor"
        ]
      }
    },
    "/v1/organizations/{org}/evidence/receipts/{receipt}/reconcile": {
      "post": {
        "operationId": "evidenceLookupReceipt",
        "summary": "LookupReceipt",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "receipt",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "security": [
          {
            "sessionCookie": []
          },
          {
            "sandboxKey": []
          },
          {
            "SandboxSession": []
          }
        ],
        "responses": {
          "202": {
            "description": "Retained local evidence",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EvidenceReconcileResult"
                }
              }
            }
          },
          "400": {
            "description": "Malformed policy"
          },
          "401": {
            "description": "Authentication required"
          },
          "403": {
            "description": "Human role or policy denied"
          },
          "404": {
            "description": "Tenant object absent"
          },
          "409": {
            "description": "Revision conflict"
          },
          "429": {
            "description": "Actor quota"
          },
          "503": {
            "description": "Persistence unavailable"
          }
        },
        "x-required-scopes": [
          "organization:read",
          "outcomes:read",
          "outcomes:write"
        ],
        "description": "Local as-of issuer statement; no native chain, ERP or vendor verification. Outcome read scope exposes retained source evidence.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Empty"
              }
            }
          }
        },
        "x-allowed-roles": [
          "owner",
          "admin",
          "developer",
          "operator",
          "finance"
        ]
      }
    },
    "/v1/organizations/{org}/obligations/{obligation}/evidence": {
      "get": {
        "operationId": "evidenceUnsignedEvidence",
        "summary": "UnsignedEvidence",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "obligation",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "security": [
          {
            "sessionCookie": []
          },
          {
            "sandboxKey": []
          },
          {
            "SandboxSession": []
          }
        ],
        "responses": {
          "200": {
            "description": "Retained local evidence",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EvidenceUnsignedResult"
                }
              }
            }
          },
          "400": {
            "description": "Malformed policy"
          },
          "401": {
            "description": "Authentication required"
          },
          "403": {
            "description": "Human role or policy denied"
          },
          "404": {
            "description": "Tenant object absent"
          },
          "409": {
            "description": "Revision conflict"
          },
          "429": {
            "description": "Actor quota"
          },
          "503": {
            "description": "Persistence unavailable"
          }
        },
        "x-required-scopes": [
          "organization:read",
          "outcomes:read"
        ],
        "description": "Local as-of issuer statement; no native chain, ERP or vendor verification. Outcome read scope exposes retained source evidence.",
        "x-allowed-roles": [
          "owner",
          "admin",
          "developer",
          "operator",
          "finance",
          "approver",
          "auditor"
        ]
      }
    },
    "/v1/organizations/{org}/obligations/{obligation}/receipts": {
      "get": {
        "operationId": "evidenceObligationReceipts",
        "summary": "ObligationReceipts",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "obligation",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "security": [
          {
            "sessionCookie": []
          },
          {
            "sandboxKey": []
          },
          {
            "SandboxSession": []
          }
        ],
        "responses": {
          "200": {
            "description": "Retained local evidence",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EvidenceReceiptList"
                }
              }
            }
          },
          "400": {
            "description": "Malformed policy"
          },
          "401": {
            "description": "Authentication required"
          },
          "403": {
            "description": "Human role or policy denied"
          },
          "404": {
            "description": "Tenant object absent"
          },
          "409": {
            "description": "Revision conflict"
          },
          "429": {
            "description": "Actor quota"
          },
          "503": {
            "description": "Persistence unavailable"
          }
        },
        "x-required-scopes": [
          "organization:read",
          "outcomes:read"
        ],
        "description": "Local as-of issuer statement; no native chain, ERP or vendor verification. Outcome read scope exposes retained source evidence.",
        "x-allowed-roles": [
          "owner",
          "admin",
          "developer",
          "operator",
          "finance",
          "approver",
          "auditor"
        ]
      },
      "post": {
        "operationId": "evidenceRequestReceipt",
        "summary": "RequestReceipt",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "obligation",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "Idempotency-Key",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string",
              "pattern": "^[a-zA-Z0-9_-]{8,80}$"
            }
          }
        ],
        "security": [
          {
            "sessionCookie": []
          },
          {
            "sandboxKey": []
          },
          {
            "SandboxSession": []
          }
        ],
        "responses": {
          "202": {
            "description": "Retained local evidence",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EvidenceCreateResult"
                }
              }
            }
          },
          "400": {
            "description": "Malformed policy"
          },
          "401": {
            "description": "Authentication required"
          },
          "403": {
            "description": "Human role or policy denied"
          },
          "404": {
            "description": "Tenant object absent"
          },
          "409": {
            "description": "Revision conflict"
          },
          "429": {
            "description": "Actor quota"
          },
          "503": {
            "description": "Persistence unavailable"
          },
          "200": {
            "description": "Exact request replay returns the original retained receipt",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EvidenceCreateResult"
                }
              }
            }
          }
        },
        "x-required-scopes": [
          "organization:read",
          "outcomes:read",
          "outcomes:write"
        ],
        "description": "Local as-of issuer statement; no native chain, ERP or vendor verification. Outcome read scope exposes retained source evidence.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/EvidenceCreate"
              }
            }
          }
        },
        "x-allowed-roles": [
          "owner",
          "admin",
          "developer",
          "operator",
          "finance"
        ]
      }
    },
    "/v1/organizations/{org}/recovery/capabilities": {
      "get": {
        "operationId": "recoveryCapabilities",
        "summary": "Capabilities",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "security": [
          {
            "sessionCookie": []
          },
          {
            "sandboxKey": []
          },
          {
            "SandboxSession": []
          }
        ],
        "responses": {
          "200": {
            "description": "Retained recovery case",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RecoveryCapabilities"
                }
              }
            }
          },
          "400": {
            "description": "Malformed policy"
          },
          "401": {
            "description": "Authentication required"
          },
          "403": {
            "description": "Human role or policy denied"
          },
          "404": {
            "description": "Tenant object absent"
          },
          "409": {
            "description": "Revision conflict"
          },
          "429": {
            "description": "Actor quota"
          },
          "503": {
            "description": "Persistence unavailable"
          }
        },
        "x-required-scopes": [
          "organization:read",
          "outcomes:read"
        ],
        "description": "Local administrative recovery case over retained fixture evidence. No financial override, release, new asset attempt or native/ERP verification. Outcome read scope includes supporting source evidence. Mutations require an MFA human; lookup/replay additionally requires the underlying payout/webhook authority."
      }
    },
    "/v1/organizations/{org}/recovery/cases": {
      "get": {
        "operationId": "recoveryListCases",
        "summary": "ListCases",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "security": [
          {
            "sessionCookie": []
          },
          {
            "sandboxKey": []
          },
          {
            "SandboxSession": []
          }
        ],
        "responses": {
          "200": {
            "description": "Retained recovery case",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RecoveryListResult"
                }
              }
            }
          },
          "400": {
            "description": "Malformed policy"
          },
          "401": {
            "description": "Authentication required"
          },
          "403": {
            "description": "Human role or policy denied"
          },
          "404": {
            "description": "Tenant object absent"
          },
          "409": {
            "description": "Revision conflict"
          },
          "429": {
            "description": "Actor quota"
          },
          "503": {
            "description": "Persistence unavailable"
          }
        },
        "x-required-scopes": [
          "organization:read",
          "outcomes:read"
        ],
        "description": "Local administrative recovery case over retained fixture evidence. No financial override, release, new asset attempt or native/ERP verification. Outcome read scope includes supporting source evidence. Mutations require an MFA human; lookup/replay additionally requires the underlying payout/webhook authority."
      },
      "post": {
        "operationId": "recoveryCreateCase",
        "summary": "CreateCase",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "Idempotency-Key",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string",
              "pattern": "^[a-zA-Z0-9_-]{8,80}$"
            }
          }
        ],
        "security": [
          {
            "sessionCookie": []
          },
          {
            "sandboxKey": []
          },
          {
            "SandboxSession": []
          }
        ],
        "responses": {
          "201": {
            "description": "Retained recovery case",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RecoveryCreateResult"
                }
              }
            }
          },
          "400": {
            "description": "Malformed policy"
          },
          "401": {
            "description": "Authentication required"
          },
          "403": {
            "description": "Human role or policy denied"
          },
          "404": {
            "description": "Tenant object absent"
          },
          "409": {
            "description": "Revision conflict"
          },
          "429": {
            "description": "Actor quota"
          },
          "503": {
            "description": "Persistence unavailable"
          },
          "200": {
            "description": "Exact replay of original case",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RecoveryCreateResult"
                }
              }
            }
          }
        },
        "x-required-scopes": [
          "organization:read",
          "outcomes:read",
          "outcomes:write"
        ],
        "description": "Local administrative recovery case over retained fixture evidence. No financial override, release, new asset attempt or native/ERP verification. Outcome read scope includes supporting source evidence. Mutations require an MFA human; lookup/replay additionally requires the underlying payout/webhook authority.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/RecoveryCreate"
              }
            }
          }
        }
      }
    },
    "/v1/organizations/{org}/recovery/cases/{case}": {
      "get": {
        "operationId": "recoveryInspectCase",
        "summary": "InspectCase",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "case",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "security": [
          {
            "sessionCookie": []
          },
          {
            "sandboxKey": []
          },
          {
            "SandboxSession": []
          }
        ],
        "responses": {
          "200": {
            "description": "Retained recovery case",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RecoveryDetailResult"
                }
              }
            }
          },
          "400": {
            "description": "Malformed policy"
          },
          "401": {
            "description": "Authentication required"
          },
          "403": {
            "description": "Human role or policy denied"
          },
          "404": {
            "description": "Tenant object absent"
          },
          "409": {
            "description": "Revision conflict"
          },
          "429": {
            "description": "Actor quota"
          },
          "503": {
            "description": "Persistence unavailable"
          }
        },
        "x-required-scopes": [
          "organization:read",
          "outcomes:read"
        ],
        "description": "Local administrative recovery case over retained fixture evidence. No financial override, release, new asset attempt or native/ERP verification. Outcome read scope includes supporting source evidence. Mutations require an MFA human; lookup/replay additionally requires the underlying payout/webhook authority."
      }
    },
    "/v1/organizations/{org}/recovery/cases/{case}/events": {
      "get": {
        "operationId": "recoveryCaseEvents",
        "summary": "CaseEvents",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "case",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "security": [
          {
            "sessionCookie": []
          },
          {
            "sandboxKey": []
          },
          {
            "SandboxSession": []
          }
        ],
        "responses": {
          "200": {
            "description": "Retained recovery case",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RecoveryEventsResult"
                }
              }
            }
          },
          "400": {
            "description": "Malformed policy"
          },
          "401": {
            "description": "Authentication required"
          },
          "403": {
            "description": "Human role or policy denied"
          },
          "404": {
            "description": "Tenant object absent"
          },
          "409": {
            "description": "Revision conflict"
          },
          "429": {
            "description": "Actor quota"
          },
          "503": {
            "description": "Persistence unavailable"
          }
        },
        "x-required-scopes": [
          "organization:read",
          "outcomes:read"
        ],
        "description": "Local administrative recovery case over retained fixture evidence. No financial override, release, new asset attempt or native/ERP verification. Outcome read scope includes supporting source evidence. Mutations require an MFA human; lookup/replay additionally requires the underlying payout/webhook authority."
      }
    },
    "/v1/organizations/{org}/recovery/cases/{case}/actions": {
      "post": {
        "operationId": "recoveryCaseAction",
        "summary": "CaseAction",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "case",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "security": [
          {
            "sessionCookie": []
          },
          {
            "sandboxKey": []
          },
          {
            "SandboxSession": []
          }
        ],
        "responses": {
          "200": {
            "description": "Retained recovery case",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RecoveryActionResult"
                }
              }
            }
          },
          "400": {
            "description": "Malformed policy"
          },
          "401": {
            "description": "Authentication required"
          },
          "403": {
            "description": "Human role or policy denied"
          },
          "404": {
            "description": "Tenant object absent"
          },
          "409": {
            "description": "Revision conflict"
          },
          "429": {
            "description": "Actor quota"
          },
          "503": {
            "description": "Persistence unavailable"
          }
        },
        "x-required-scopes": [
          "organization:read",
          "outcomes:read",
          "outcomes:write"
        ],
        "description": "Local administrative recovery case over retained fixture evidence. No financial override, release, new asset attempt or native/ERP verification. Outcome read scope includes supporting source evidence. Mutations require an MFA human; lookup/replay additionally requires the underlying payout/webhook authority.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/RecoveryAction"
              }
            }
          }
        }
      }
    },
    "/v1/organizations/{org}/billing/capabilities": {
      "get": {
        "operationId": "billingCapabilities",
        "summary": "Capabilities",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "security": [
          {
            "sessionCookie": []
          },
          {
            "SandboxSession": []
          },
          {
            "sandboxKey": []
          }
        ],
        "x-required-scopes": [
          "organization:read",
          "billing:read"
        ],
        "description": "Illustrative local/sandbox company billing. Mutations require owner/admin/finance MFA; service keys are read-only. No production invoice, approved PSP or customer-principal collection.",
        "responses": {
          "400": {
            "description": "Strict context or request validation"
          },
          "401": {
            "description": "Authentication/signature required"
          },
          "402": {
            "description": "Overdue blocks new intents"
          },
          "403": {
            "description": "MFA human billing role denied"
          },
          "404": {
            "description": "Tenant resource absent"
          },
          "409": {
            "description": "Original identity/revision/quota conflict"
          },
          "429": {
            "description": "Unchanged actor quota"
          },
          "503": {
            "description": "Persistence unavailable"
          },
          "200": {
            "description": "Local fixture billing result",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BillingCapabilities"
                }
              }
            }
          }
        }
      }
    },
    "/v1/organizations/{org}/billing/catalog": {
      "get": {
        "operationId": "billingCatalog",
        "summary": "Catalog",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "security": [
          {
            "sessionCookie": []
          },
          {
            "SandboxSession": []
          },
          {
            "sandboxKey": []
          }
        ],
        "x-required-scopes": [
          "organization:read",
          "billing:read"
        ],
        "description": "Illustrative local/sandbox company billing. Mutations require owner/admin/finance MFA; service keys are read-only. No production invoice, approved PSP or customer-principal collection.",
        "responses": {
          "400": {
            "description": "Strict context or request validation"
          },
          "401": {
            "description": "Authentication/signature required"
          },
          "402": {
            "description": "Overdue blocks new intents"
          },
          "403": {
            "description": "MFA human billing role denied"
          },
          "404": {
            "description": "Tenant resource absent"
          },
          "409": {
            "description": "Original identity/revision/quota conflict"
          },
          "429": {
            "description": "Unchanged actor quota"
          },
          "503": {
            "description": "Persistence unavailable"
          },
          "200": {
            "description": "Local fixture billing result",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BillingCatalog"
                }
              }
            }
          }
        }
      }
    },
    "/v1/organizations/{org}/billing/subscription": {
      "get": {
        "operationId": "billingSubscription",
        "summary": "Subscription",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "security": [
          {
            "sessionCookie": []
          },
          {
            "SandboxSession": []
          },
          {
            "sandboxKey": []
          }
        ],
        "x-required-scopes": [
          "organization:read",
          "billing:read"
        ],
        "description": "Illustrative local/sandbox company billing. Mutations require owner/admin/finance MFA; service keys are read-only. No production invoice, approved PSP or customer-principal collection.",
        "responses": {
          "400": {
            "description": "Strict context or request validation"
          },
          "401": {
            "description": "Authentication/signature required"
          },
          "402": {
            "description": "Overdue blocks new intents"
          },
          "403": {
            "description": "MFA human billing role denied"
          },
          "404": {
            "description": "Tenant resource absent"
          },
          "409": {
            "description": "Original identity/revision/quota conflict"
          },
          "429": {
            "description": "Unchanged actor quota"
          },
          "503": {
            "description": "Persistence unavailable"
          },
          "200": {
            "description": "Local fixture billing result",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BillingSubscription"
                }
              }
            }
          }
        }
      },
      "put": {
        "operationId": "billingChangeSubscription",
        "summary": "ChangeSubscription",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "security": [
          {
            "sessionCookie": []
          },
          {
            "SandboxSession": []
          }
        ],
        "x-required-scopes": [
          "organization:read",
          "billing:read",
          "billing:write"
        ],
        "description": "Illustrative local/sandbox company billing. Mutations require owner/admin/finance MFA; service keys are read-only. No production invoice, approved PSP or customer-principal collection.",
        "responses": {
          "400": {
            "description": "Strict context or request validation"
          },
          "401": {
            "description": "Authentication/signature required"
          },
          "402": {
            "description": "Overdue blocks new intents"
          },
          "403": {
            "description": "MFA human billing role denied"
          },
          "404": {
            "description": "Tenant resource absent"
          },
          "409": {
            "description": "Original identity/revision/quota conflict"
          },
          "429": {
            "description": "Unchanged actor quota"
          },
          "503": {
            "description": "Persistence unavailable"
          },
          "200": {
            "description": "Local fixture billing result",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BillingSubscription"
                }
              }
            }
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/BillingChange"
              }
            }
          }
        }
      }
    },
    "/v1/organizations/{org}/billing/preview": {
      "get": {
        "operationId": "billingPreview",
        "summary": "Preview",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "security": [
          {
            "sessionCookie": []
          },
          {
            "SandboxSession": []
          },
          {
            "sandboxKey": []
          }
        ],
        "x-required-scopes": [
          "organization:read",
          "billing:read"
        ],
        "description": "Illustrative local/sandbox company billing. Mutations require owner/admin/finance MFA; service keys are read-only. No production invoice, approved PSP or customer-principal collection.",
        "responses": {
          "400": {
            "description": "Strict context or request validation"
          },
          "401": {
            "description": "Authentication/signature required"
          },
          "402": {
            "description": "Overdue blocks new intents"
          },
          "403": {
            "description": "MFA human billing role denied"
          },
          "404": {
            "description": "Tenant resource absent"
          },
          "409": {
            "description": "Original identity/revision/quota conflict"
          },
          "429": {
            "description": "Unchanged actor quota"
          },
          "503": {
            "description": "Persistence unavailable"
          },
          "200": {
            "description": "Local fixture billing result",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BillingPreviewResult"
                }
              }
            }
          }
        }
      }
    },
    "/v1/organizations/{org}/billing/preview/{month}": {
      "get": {
        "operationId": "billingHistoricalPreview",
        "summary": "HistoricalPreview",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "month",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "minimum": 0
            }
          }
        ],
        "security": [
          {
            "sessionCookie": []
          },
          {
            "SandboxSession": []
          },
          {
            "sandboxKey": []
          }
        ],
        "x-required-scopes": [
          "organization:read",
          "billing:read"
        ],
        "description": "Illustrative local/sandbox company billing. Mutations require owner/admin/finance MFA; service keys are read-only. No production invoice, approved PSP or customer-principal collection.",
        "responses": {
          "400": {
            "description": "Strict context or request validation"
          },
          "401": {
            "description": "Authentication/signature required"
          },
          "402": {
            "description": "Overdue blocks new intents"
          },
          "403": {
            "description": "MFA human billing role denied"
          },
          "404": {
            "description": "Tenant resource absent"
          },
          "409": {
            "description": "Original identity/revision/quota conflict"
          },
          "429": {
            "description": "Unchanged actor quota"
          },
          "503": {
            "description": "Persistence unavailable"
          },
          "200": {
            "description": "Local fixture billing result",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BillingPreviewResult"
                }
              }
            }
          }
        }
      }
    },
    "/v1/organizations/{org}/billing/invoices": {
      "get": {
        "operationId": "billingInvoices",
        "summary": "Invoices",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "security": [
          {
            "sessionCookie": []
          },
          {
            "SandboxSession": []
          },
          {
            "sandboxKey": []
          }
        ],
        "x-required-scopes": [
          "organization:read",
          "billing:read"
        ],
        "description": "Illustrative local/sandbox company billing. Mutations require owner/admin/finance MFA; service keys are read-only. No production invoice, approved PSP or customer-principal collection.",
        "responses": {
          "400": {
            "description": "Strict context or request validation"
          },
          "401": {
            "description": "Authentication/signature required"
          },
          "402": {
            "description": "Overdue blocks new intents"
          },
          "403": {
            "description": "MFA human billing role denied"
          },
          "404": {
            "description": "Tenant resource absent"
          },
          "409": {
            "description": "Original identity/revision/quota conflict"
          },
          "429": {
            "description": "Unchanged actor quota"
          },
          "503": {
            "description": "Persistence unavailable"
          },
          "200": {
            "description": "Local fixture billing result",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BillingInvoicesResult"
                }
              }
            }
          }
        }
      },
      "post": {
        "operationId": "billingCloseInvoice",
        "summary": "CloseInvoice",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "Idempotency-Key",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string",
              "pattern": "^[A-Za-z0-9_-]{8,80}$"
            }
          }
        ],
        "security": [
          {
            "sessionCookie": []
          },
          {
            "SandboxSession": []
          }
        ],
        "x-required-scopes": [
          "organization:read",
          "billing:read",
          "billing:write"
        ],
        "description": "Illustrative local/sandbox company billing. Mutations require owner/admin/finance MFA; service keys are read-only. No production invoice, approved PSP or customer-principal collection.",
        "responses": {
          "400": {
            "description": "Strict context or request validation"
          },
          "401": {
            "description": "Authentication/signature required"
          },
          "402": {
            "description": "Overdue blocks new intents"
          },
          "403": {
            "description": "MFA human billing role denied"
          },
          "404": {
            "description": "Tenant resource absent"
          },
          "409": {
            "description": "Original identity/revision/quota conflict"
          },
          "429": {
            "description": "Unchanged actor quota"
          },
          "503": {
            "description": "Persistence unavailable"
          },
          "201": {
            "description": "Local fixture billing result",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BillingInvoiceCreateResult"
                }
              }
            }
          },
          "200": {
            "description": "Local fixture billing result",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BillingInvoiceCreateResult"
                }
              }
            }
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/BillingClose"
              }
            }
          }
        }
      }
    },
    "/v1/organizations/{org}/billing/invoices/{invoice}": {
      "get": {
        "operationId": "billingInvoice",
        "summary": "Invoice",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "invoice",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "security": [
          {
            "sessionCookie": []
          },
          {
            "SandboxSession": []
          },
          {
            "sandboxKey": []
          }
        ],
        "x-required-scopes": [
          "organization:read",
          "billing:read"
        ],
        "description": "Illustrative local/sandbox company billing. Mutations require owner/admin/finance MFA; service keys are read-only. No production invoice, approved PSP or customer-principal collection.",
        "responses": {
          "400": {
            "description": "Strict context or request validation"
          },
          "401": {
            "description": "Authentication/signature required"
          },
          "402": {
            "description": "Overdue blocks new intents"
          },
          "403": {
            "description": "MFA human billing role denied"
          },
          "404": {
            "description": "Tenant resource absent"
          },
          "409": {
            "description": "Original identity/revision/quota conflict"
          },
          "429": {
            "description": "Unchanged actor quota"
          },
          "503": {
            "description": "Persistence unavailable"
          },
          "200": {
            "description": "Local fixture billing result",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BillingInvoiceResult"
                }
              }
            }
          }
        }
      }
    },
    "/v1/organizations/{org}/billing/usage": {
      "get": {
        "operationId": "billingUsage",
        "summary": "Usage",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "security": [
          {
            "sessionCookie": []
          },
          {
            "SandboxSession": []
          },
          {
            "sandboxKey": []
          }
        ],
        "x-required-scopes": [
          "organization:read",
          "billing:read"
        ],
        "description": "Illustrative local/sandbox company billing. Mutations require owner/admin/finance MFA; service keys are read-only. No production invoice, approved PSP or customer-principal collection.",
        "responses": {
          "400": {
            "description": "Strict context or request validation"
          },
          "401": {
            "description": "Authentication/signature required"
          },
          "402": {
            "description": "Overdue blocks new intents"
          },
          "403": {
            "description": "MFA human billing role denied"
          },
          "404": {
            "description": "Tenant resource absent"
          },
          "409": {
            "description": "Original identity/revision/quota conflict"
          },
          "429": {
            "description": "Unchanged actor quota"
          },
          "503": {
            "description": "Persistence unavailable"
          },
          "200": {
            "description": "Local fixture billing result",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BillingUsageResult"
                }
              }
            }
          }
        }
      }
    },
    "/v1/organizations/{org}/billing/costs": {
      "get": {
        "operationId": "billingCosts",
        "summary": "Costs",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "security": [
          {
            "sessionCookie": []
          },
          {
            "SandboxSession": []
          },
          {
            "sandboxKey": []
          }
        ],
        "x-required-scopes": [
          "organization:read",
          "billing:read"
        ],
        "description": "Illustrative local/sandbox company billing. Mutations require owner/admin/finance MFA; service keys are read-only. No production invoice, approved PSP or customer-principal collection.",
        "responses": {
          "400": {
            "description": "Strict context or request validation"
          },
          "401": {
            "description": "Authentication/signature required"
          },
          "402": {
            "description": "Overdue blocks new intents"
          },
          "403": {
            "description": "MFA human billing role denied"
          },
          "404": {
            "description": "Tenant resource absent"
          },
          "409": {
            "description": "Original identity/revision/quota conflict"
          },
          "429": {
            "description": "Unchanged actor quota"
          },
          "503": {
            "description": "Persistence unavailable"
          },
          "200": {
            "description": "Local fixture billing result",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BillingCostsResult"
                }
              }
            }
          }
        }
      }
    },
    "/v1/organizations/{org}/billing/ledger": {
      "get": {
        "operationId": "billingLedger",
        "summary": "Ledger",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "security": [
          {
            "sessionCookie": []
          },
          {
            "SandboxSession": []
          },
          {
            "sandboxKey": []
          }
        ],
        "x-required-scopes": [
          "organization:read",
          "billing:read"
        ],
        "description": "Illustrative local/sandbox company billing. Mutations require owner/admin/finance MFA; service keys are read-only. No production invoice, approved PSP or customer-principal collection.",
        "responses": {
          "400": {
            "description": "Strict context or request validation"
          },
          "401": {
            "description": "Authentication/signature required"
          },
          "402": {
            "description": "Overdue blocks new intents"
          },
          "403": {
            "description": "MFA human billing role denied"
          },
          "404": {
            "description": "Tenant resource absent"
          },
          "409": {
            "description": "Original identity/revision/quota conflict"
          },
          "429": {
            "description": "Unchanged actor quota"
          },
          "503": {
            "description": "Persistence unavailable"
          },
          "200": {
            "description": "Local fixture billing result",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BillingLedgerResult"
                }
              }
            }
          }
        }
      }
    },
    "/v1/organizations/{org}/billing/events": {
      "get": {
        "operationId": "billingEvents",
        "summary": "Events",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "security": [
          {
            "sessionCookie": []
          },
          {
            "SandboxSession": []
          },
          {
            "sandboxKey": []
          }
        ],
        "x-required-scopes": [
          "organization:read",
          "billing:read"
        ],
        "description": "Illustrative local/sandbox company billing. Mutations require owner/admin/finance MFA; service keys are read-only. No production invoice, approved PSP or customer-principal collection.",
        "responses": {
          "400": {
            "description": "Strict context or request validation"
          },
          "401": {
            "description": "Authentication/signature required"
          },
          "402": {
            "description": "Overdue blocks new intents"
          },
          "403": {
            "description": "MFA human billing role denied"
          },
          "404": {
            "description": "Tenant resource absent"
          },
          "409": {
            "description": "Original identity/revision/quota conflict"
          },
          "429": {
            "description": "Unchanged actor quota"
          },
          "503": {
            "description": "Persistence unavailable"
          },
          "200": {
            "description": "Local fixture billing result",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BillingEventsResult"
                }
              }
            }
          }
        }
      }
    },
    "/v1/organizations/{org}/billing/exports": {
      "get": {
        "operationId": "billingExports",
        "summary": "Exports",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "security": [
          {
            "sessionCookie": []
          },
          {
            "SandboxSession": []
          },
          {
            "sandboxKey": []
          }
        ],
        "x-required-scopes": [
          "organization:read",
          "billing:read"
        ],
        "description": "Illustrative local/sandbox company billing. Mutations require owner/admin/finance MFA; service keys are read-only. No production invoice, approved PSP or customer-principal collection.",
        "responses": {
          "400": {
            "description": "Strict context or request validation"
          },
          "401": {
            "description": "Authentication/signature required"
          },
          "402": {
            "description": "Overdue blocks new intents"
          },
          "403": {
            "description": "MFA human billing role denied"
          },
          "404": {
            "description": "Tenant resource absent"
          },
          "409": {
            "description": "Original identity/revision/quota conflict"
          },
          "429": {
            "description": "Unchanged actor quota"
          },
          "503": {
            "description": "Persistence unavailable"
          },
          "200": {
            "description": "Local fixture billing result",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BillingExports"
                }
              }
            }
          }
        }
      }
    },
    "/v1/organizations/{org}/billing/reconcile": {
      "post": {
        "operationId": "billingReconcile",
        "summary": "Reconcile",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "security": [
          {
            "sessionCookie": []
          },
          {
            "SandboxSession": []
          }
        ],
        "x-required-scopes": [
          "organization:read",
          "billing:read",
          "billing:write"
        ],
        "description": "Illustrative local/sandbox company billing. Mutations require owner/admin/finance MFA; service keys are read-only. No production invoice, approved PSP or customer-principal collection.",
        "responses": {
          "400": {
            "description": "Strict context or request validation"
          },
          "401": {
            "description": "Authentication/signature required"
          },
          "402": {
            "description": "Overdue blocks new intents"
          },
          "403": {
            "description": "MFA human billing role denied"
          },
          "404": {
            "description": "Tenant resource absent"
          },
          "409": {
            "description": "Original identity/revision/quota conflict"
          },
          "429": {
            "description": "Unchanged actor quota"
          },
          "503": {
            "description": "Persistence unavailable"
          },
          "200": {
            "description": "Local fixture billing result",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BillingReconcileResult"
                }
              }
            }
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/BillingEmpty"
              }
            }
          }
        }
      }
    },
    "/v1/organizations/{org}/billing/replay": {
      "post": {
        "operationId": "billingReplay",
        "summary": "Replay",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "security": [
          {
            "sessionCookie": []
          },
          {
            "SandboxSession": []
          }
        ],
        "x-required-scopes": [
          "organization:read",
          "billing:read",
          "billing:write"
        ],
        "description": "Illustrative local/sandbox company billing. Mutations require owner/admin/finance MFA; service keys are read-only. No production invoice, approved PSP or customer-principal collection.",
        "responses": {
          "400": {
            "description": "Strict context or request validation"
          },
          "401": {
            "description": "Authentication/signature required"
          },
          "402": {
            "description": "Overdue blocks new intents"
          },
          "403": {
            "description": "MFA human billing role denied"
          },
          "404": {
            "description": "Tenant resource absent"
          },
          "409": {
            "description": "Original identity/revision/quota conflict"
          },
          "429": {
            "description": "Unchanged actor quota"
          },
          "503": {
            "description": "Persistence unavailable"
          },
          "200": {
            "description": "Local fixture billing result",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BillingReplayResult"
                }
              }
            }
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/BillingReplay"
              }
            }
          }
        }
      }
    },
    "/v1/organizations/{org}/billing/invoices/{invoice}/credits": {
      "post": {
        "operationId": "billingCreditInvoice",
        "summary": "CreditInvoice",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "invoice",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "Idempotency-Key",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string",
              "pattern": "^[A-Za-z0-9_-]{8,80}$"
            }
          }
        ],
        "security": [
          {
            "sessionCookie": []
          },
          {
            "SandboxSession": []
          }
        ],
        "x-required-scopes": [
          "organization:read",
          "billing:read",
          "billing:write"
        ],
        "description": "Illustrative local/sandbox company billing. Mutations require owner/admin/finance MFA; service keys are read-only. No production invoice, approved PSP or customer-principal collection.",
        "responses": {
          "400": {
            "description": "Strict context or request validation"
          },
          "401": {
            "description": "Authentication/signature required"
          },
          "402": {
            "description": "Overdue blocks new intents"
          },
          "403": {
            "description": "MFA human billing role denied"
          },
          "404": {
            "description": "Tenant resource absent"
          },
          "409": {
            "description": "Original identity/revision/quota conflict"
          },
          "429": {
            "description": "Unchanged actor quota"
          },
          "503": {
            "description": "Persistence unavailable"
          },
          "201": {
            "description": "Local fixture billing result",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BillingCreditResult"
                }
              }
            }
          },
          "200": {
            "description": "Local fixture billing result",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BillingCreditResult"
                }
              }
            }
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/BillingCredit"
              }
            }
          }
        }
      }
    },
    "/v1/organizations/{org}/billing/invoices/{invoice}/disputes": {
      "post": {
        "operationId": "billingDisputeInvoice",
        "summary": "DisputeInvoice",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "invoice",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "security": [
          {
            "sessionCookie": []
          },
          {
            "SandboxSession": []
          }
        ],
        "x-required-scopes": [
          "organization:read",
          "billing:read",
          "billing:write"
        ],
        "description": "Illustrative local/sandbox company billing. Mutations require owner/admin/finance MFA; service keys are read-only. No production invoice, approved PSP or customer-principal collection.",
        "responses": {
          "400": {
            "description": "Strict context or request validation"
          },
          "401": {
            "description": "Authentication/signature required"
          },
          "402": {
            "description": "Overdue blocks new intents"
          },
          "403": {
            "description": "MFA human billing role denied"
          },
          "404": {
            "description": "Tenant resource absent"
          },
          "409": {
            "description": "Original identity/revision/quota conflict"
          },
          "429": {
            "description": "Unchanged actor quota"
          },
          "503": {
            "description": "Persistence unavailable"
          },
          "200": {
            "description": "Local fixture billing result",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BillingInvoiceResult"
                }
              }
            }
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/BillingDispute"
              }
            }
          }
        }
      }
    },
    "/v1/organizations/{org}/billing/invoices/{invoice}/collections": {
      "post": {
        "operationId": "billingCollectInvoice",
        "summary": "CollectInvoice",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "invoice",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "Idempotency-Key",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string",
              "pattern": "^[A-Za-z0-9_-]{8,80}$"
            }
          }
        ],
        "security": [
          {
            "sessionCookie": []
          },
          {
            "SandboxSession": []
          }
        ],
        "x-required-scopes": [
          "organization:read",
          "billing:read",
          "billing:write"
        ],
        "description": "Illustrative local/sandbox company billing. Mutations require owner/admin/finance MFA; service keys are read-only. No production invoice, approved PSP or customer-principal collection.",
        "responses": {
          "400": {
            "description": "Strict context or request validation"
          },
          "401": {
            "description": "Authentication/signature required"
          },
          "402": {
            "description": "Overdue blocks new intents"
          },
          "403": {
            "description": "MFA human billing role denied"
          },
          "404": {
            "description": "Tenant resource absent"
          },
          "409": {
            "description": "Original identity/revision/quota conflict"
          },
          "429": {
            "description": "Unchanged actor quota"
          },
          "503": {
            "description": "Persistence unavailable"
          },
          "201": {
            "description": "Local fixture billing result",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BillingCollectionResult"
                }
              }
            }
          },
          "200": {
            "description": "Local fixture billing result",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BillingCollectionResult"
                }
              }
            }
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/BillingCollection"
              }
            }
          }
        }
      }
    },
    "/v1/organizations/{org}/billing/collections/{attempt}/lookup": {
      "post": {
        "operationId": "billingLookupCollection",
        "summary": "LookupCollection",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "attempt",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "security": [
          {
            "sessionCookie": []
          },
          {
            "SandboxSession": []
          }
        ],
        "x-required-scopes": [
          "organization:read",
          "billing:read",
          "billing:write"
        ],
        "description": "Illustrative local/sandbox company billing. Mutations require owner/admin/finance MFA; service keys are read-only. No production invoice, approved PSP or customer-principal collection.",
        "responses": {
          "400": {
            "description": "Strict context or request validation"
          },
          "401": {
            "description": "Authentication/signature required"
          },
          "402": {
            "description": "Overdue blocks new intents"
          },
          "403": {
            "description": "MFA human billing role denied"
          },
          "404": {
            "description": "Tenant resource absent"
          },
          "409": {
            "description": "Original identity/revision/quota conflict"
          },
          "429": {
            "description": "Unchanged actor quota"
          },
          "503": {
            "description": "Persistence unavailable"
          },
          "200": {
            "description": "Local fixture billing result",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BillingLookupResult"
                }
              }
            }
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/BillingEmpty"
              }
            }
          }
        }
      }
    },
    "/v1/billing/provider-callback": {
      "post": {
        "operationId": "billingProviderCallback",
        "summary": "ProviderCallback",
        "parameters": [
          {
            "name": "X-Azums-PSP-Timestamp",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string",
              "pattern": "^[0-9]+$"
            }
          },
          {
            "name": "X-Azums-PSP-Signature",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string",
              "pattern": "^[a-f0-9]{64}$"
            }
          }
        ],
        "security": [
          {
            "fixturePspSignature": []
          }
        ],
        "x-required-scopes": [],
        "description": "HMAC-SHA256 authenticated local fixture provider event over exact raw bytes; not browser/session authority. Domain azums-fixture-psp-callback-v1 newline timestamp newline raw body; five-minute transport freshness; original request/invoice/environment/amount binding and event deduplication. New envelopes can redeliver the same immutable original event.",
        "responses": {
          "400": {
            "description": "Strict context or request validation"
          },
          "401": {
            "description": "Authentication/signature required"
          },
          "402": {
            "description": "Overdue blocks new intents"
          },
          "403": {
            "description": "MFA human billing role denied"
          },
          "404": {
            "description": "Tenant resource absent"
          },
          "409": {
            "description": "Original identity/revision/quota conflict"
          },
          "429": {
            "description": "Unchanged actor quota"
          },
          "503": {
            "description": "Persistence unavailable"
          },
          "200": {
            "description": "Local fixture billing result",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BillingCallbackResult"
                }
              }
            }
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/BillingProviderEvent"
              }
            }
          }
        }
      }
    },
    "/v1/organizations/{org}/developer/overview": {
      "get": {
        "operationId": "get_v1_organizations_org_developer_overview",
        "summary": "developer / overview",
        "description": "Local fixture support/developer metadata. No staff access, asset execution or production verification. Tenant read permissions and current membership required. Requires organization:read, payouts:read, wallets:read, orders:read, collections:read and billing:read; a partial key cannot observe another product count.",
        "security": [
          {
            "sessionCookie": []
          },
          {
            "SandboxSession": []
          },
          {
            "sandboxKey": []
          }
        ],
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "400": {
            "description": "Invalid strict input"
          },
          "401": {
            "description": "Authentication required"
          },
          "403": {
            "description": "Role/scope/MFA/consent denied"
          },
          "404": {
            "description": "Missing or foreign object"
          },
          "409": {
            "description": "Revision or immutable identity conflict"
          },
          "429": {
            "description": "Unchanged actor quota"
          },
          "503": {
            "description": "Persistence unavailable"
          },
          "200": {
            "description": "Tenant-owned local metadata",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DeveloperOverview"
                }
              }
            }
          }
        }
      }
    },
    "/v1/organizations/{org}/developer/transactions/{id}": {
      "get": {
        "operationId": "get_v1_organizations_org_developer_transactions_id",
        "summary": "developer / transactions / {id}",
        "description": "Local fixture support/developer metadata. No staff access, asset execution or production verification. Tenant read permissions and current membership required.",
        "security": [
          {
            "sessionCookie": []
          },
          {
            "SandboxSession": []
          },
          {
            "sandboxKey": []
          }
        ],
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "400": {
            "description": "Invalid strict input"
          },
          "401": {
            "description": "Authentication required"
          },
          "403": {
            "description": "Role/scope/MFA/consent denied"
          },
          "404": {
            "description": "Missing or foreign object"
          },
          "409": {
            "description": "Revision or immutable identity conflict"
          },
          "429": {
            "description": "Unchanged actor quota"
          },
          "503": {
            "description": "Persistence unavailable"
          },
          "200": {
            "description": "Tenant-owned local metadata",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DeveloperTransaction"
                }
              }
            }
          }
        }
      }
    },
    "/v1/organizations/{org}/support/capabilities": {
      "get": {
        "operationId": "get_v1_organizations_org_support_capabilities",
        "summary": "support / capabilities",
        "description": "Local fixture support/developer metadata. No staff access, asset execution or production verification. Tenant read permissions and current membership required.",
        "security": [
          {
            "sessionCookie": []
          },
          {
            "SandboxSession": []
          },
          {
            "sandboxKey": []
          }
        ],
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "400": {
            "description": "Invalid strict input"
          },
          "401": {
            "description": "Authentication required"
          },
          "403": {
            "description": "Role/scope/MFA/consent denied"
          },
          "404": {
            "description": "Missing or foreign object"
          },
          "409": {
            "description": "Revision or immutable identity conflict"
          },
          "429": {
            "description": "Unchanged actor quota"
          },
          "503": {
            "description": "Persistence unavailable"
          },
          "200": {
            "description": "Tenant-owned local metadata",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SupportCapabilities"
                }
              }
            }
          }
        }
      }
    },
    "/v1/organizations/{org}/support/requests": {
      "get": {
        "operationId": "get_v1_organizations_org_support_requests",
        "summary": "support / requests",
        "description": "Local fixture support/developer metadata. No staff access, asset execution or production verification. Tenant read permissions and current membership required.",
        "security": [
          {
            "sessionCookie": []
          },
          {
            "SandboxSession": []
          },
          {
            "sandboxKey": []
          }
        ],
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "400": {
            "description": "Invalid strict input"
          },
          "401": {
            "description": "Authentication required"
          },
          "403": {
            "description": "Role/scope/MFA/consent denied"
          },
          "404": {
            "description": "Missing or foreign object"
          },
          "409": {
            "description": "Revision or immutable identity conflict"
          },
          "429": {
            "description": "Unchanged actor quota"
          },
          "503": {
            "description": "Persistence unavailable"
          },
          "200": {
            "description": "Tenant-owned local metadata",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SupportList"
                }
              }
            }
          }
        }
      },
      "post": {
        "operationId": "post_v1_organizations_org_support_requests",
        "summary": "support / requests",
        "description": "Local fixture support/developer metadata. No staff access, asset execution or production verification. Authorized MFA human required; consent requires owner/admin.",
        "security": [
          {
            "sessionCookie": []
          },
          {
            "SandboxSession": []
          }
        ],
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "Idempotency-Key",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string",
              "pattern": "^[A-Za-z0-9_-]{8,80}$"
            }
          }
        ],
        "responses": {
          "400": {
            "description": "Invalid strict input"
          },
          "401": {
            "description": "Authentication required"
          },
          "403": {
            "description": "Role/scope/MFA/consent denied"
          },
          "404": {
            "description": "Missing or foreign object"
          },
          "409": {
            "description": "Revision or immutable identity conflict"
          },
          "429": {
            "description": "Unchanged actor quota"
          },
          "503": {
            "description": "Persistence unavailable"
          },
          "201": {
            "description": "Tenant-owned local metadata",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SupportCreatedResult"
                }
              }
            }
          },
          "200": {
            "description": "Tenant-owned local metadata",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SupportCreatedResult"
                }
              }
            }
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SupportCreate"
              }
            }
          }
        }
      }
    },
    "/v1/organizations/{org}/support/requests/{id}": {
      "get": {
        "operationId": "get_v1_organizations_org_support_requests_id",
        "summary": "support / requests / {id}",
        "description": "Local fixture support/developer metadata. No staff access, asset execution or production verification. Tenant read permissions and current membership required.",
        "security": [
          {
            "sessionCookie": []
          },
          {
            "SandboxSession": []
          },
          {
            "sandboxKey": []
          }
        ],
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "400": {
            "description": "Invalid strict input"
          },
          "401": {
            "description": "Authentication required"
          },
          "403": {
            "description": "Role/scope/MFA/consent denied"
          },
          "404": {
            "description": "Missing or foreign object"
          },
          "409": {
            "description": "Revision or immutable identity conflict"
          },
          "429": {
            "description": "Unchanged actor quota"
          },
          "503": {
            "description": "Persistence unavailable"
          },
          "200": {
            "description": "Tenant-owned local metadata",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SupportRequestResult"
                }
              }
            }
          }
        }
      }
    },
    "/v1/organizations/{org}/support/requests/{id}/events": {
      "get": {
        "operationId": "get_v1_organizations_org_support_requests_id_events",
        "summary": "support / requests / {id} / events",
        "description": "Local fixture support/developer metadata. No staff access, asset execution or production verification. Tenant read permissions and current membership required.",
        "security": [
          {
            "sessionCookie": []
          },
          {
            "SandboxSession": []
          },
          {
            "sandboxKey": []
          }
        ],
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "400": {
            "description": "Invalid strict input"
          },
          "401": {
            "description": "Authentication required"
          },
          "403": {
            "description": "Role/scope/MFA/consent denied"
          },
          "404": {
            "description": "Missing or foreign object"
          },
          "409": {
            "description": "Revision or immutable identity conflict"
          },
          "429": {
            "description": "Unchanged actor quota"
          },
          "503": {
            "description": "Persistence unavailable"
          },
          "200": {
            "description": "Tenant-owned local metadata",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SupportEvents"
                }
              }
            }
          }
        }
      }
    },
    "/v1/organizations/{org}/support/requests/{id}/actions": {
      "post": {
        "operationId": "post_v1_organizations_org_support_requests_id_actions",
        "summary": "support / requests / {id} / actions",
        "description": "Local fixture support/developer metadata. No staff access, asset execution or production verification. Authorized MFA human required; consent requires owner/admin.",
        "security": [
          {
            "sessionCookie": []
          },
          {
            "SandboxSession": []
          }
        ],
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "400": {
            "description": "Invalid strict input"
          },
          "401": {
            "description": "Authentication required"
          },
          "403": {
            "description": "Role/scope/MFA/consent denied"
          },
          "404": {
            "description": "Missing or foreign object"
          },
          "409": {
            "description": "Revision or immutable identity conflict"
          },
          "429": {
            "description": "Unchanged actor quota"
          },
          "503": {
            "description": "Persistence unavailable"
          },
          "200": {
            "description": "Tenant-owned local metadata",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SupportRequestResult"
                }
              }
            }
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SupportAction"
              }
            }
          }
        }
      }
    },
    "/v1/organizations/{org}/support/requests/{id}/grants": {
      "get": {
        "operationId": "get_v1_organizations_org_support_requests_id_grants",
        "summary": "support / requests / {id} / grants",
        "description": "Local fixture support/developer metadata. No staff access, asset execution or production verification. Tenant read permissions and current membership required.",
        "security": [
          {
            "sessionCookie": []
          },
          {
            "SandboxSession": []
          },
          {
            "sandboxKey": []
          }
        ],
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "400": {
            "description": "Invalid strict input"
          },
          "401": {
            "description": "Authentication required"
          },
          "403": {
            "description": "Role/scope/MFA/consent denied"
          },
          "404": {
            "description": "Missing or foreign object"
          },
          "409": {
            "description": "Revision or immutable identity conflict"
          },
          "429": {
            "description": "Unchanged actor quota"
          },
          "503": {
            "description": "Persistence unavailable"
          },
          "200": {
            "description": "Tenant-owned local metadata",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SupportGrantList"
                }
              }
            }
          }
        }
      },
      "post": {
        "operationId": "post_v1_organizations_org_support_requests_id_grants",
        "summary": "support / requests / {id} / grants",
        "description": "Local fixture support/developer metadata. No staff access, asset execution or production verification. Authorized MFA human required; consent requires owner/admin.",
        "security": [
          {
            "sessionCookie": []
          },
          {
            "SandboxSession": []
          }
        ],
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "400": {
            "description": "Invalid strict input"
          },
          "401": {
            "description": "Authentication required"
          },
          "403": {
            "description": "Role/scope/MFA/consent denied"
          },
          "404": {
            "description": "Missing or foreign object"
          },
          "409": {
            "description": "Revision or immutable identity conflict"
          },
          "429": {
            "description": "Unchanged actor quota"
          },
          "503": {
            "description": "Persistence unavailable"
          },
          "201": {
            "description": "Tenant-owned local metadata",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SupportGrantResult"
                }
              }
            }
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SupportGrantInput"
              }
            }
          }
        }
      }
    },
    "/v1/organizations/{org}/support/requests/{id}/grants/{grant}/revoke": {
      "post": {
        "operationId": "post_v1_organizations_org_support_requests_id_grants_grant_revoke",
        "summary": "support / requests / {id} / grants / {grant} / revoke",
        "description": "Local fixture support/developer metadata. No staff access, asset execution or production verification. Authorized MFA human required; consent requires owner/admin.",
        "security": [
          {
            "sessionCookie": []
          },
          {
            "SandboxSession": []
          }
        ],
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "grant",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "400": {
            "description": "Invalid strict input"
          },
          "401": {
            "description": "Authentication required"
          },
          "403": {
            "description": "Role/scope/MFA/consent denied"
          },
          "404": {
            "description": "Missing or foreign object"
          },
          "409": {
            "description": "Revision or immutable identity conflict"
          },
          "429": {
            "description": "Unchanged actor quota"
          },
          "503": {
            "description": "Persistence unavailable"
          },
          "200": {
            "description": "Consent revoked",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "properties": {
                    "revoked": {
                      "const": true
                    },
                    "request_id": {
                      "type": "string",
                      "format": "uuid"
                    }
                  },
                  "required": [
                    "revoked",
                    "request_id"
                  ]
                }
              }
            }
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SupportEmpty"
              }
            }
          }
        }
      }
    },
    "/v1/organizations/{org}/support/requests/{id}/grants/{grant}/export": {
      "get": {
        "operationId": "get_v1_organizations_org_support_requests_id_grants_grant_export",
        "summary": "support / requests / {id} / grants / {grant} / export",
        "description": "Local fixture support/developer metadata. No staff access, asset execution or production verification. Authorized MFA human required; consent requires owner/admin.",
        "security": [
          {
            "sessionCookie": []
          },
          {
            "SandboxSession": []
          }
        ],
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "grant",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "400": {
            "description": "Invalid strict input"
          },
          "401": {
            "description": "Authentication required"
          },
          "403": {
            "description": "Role/scope/MFA/consent denied"
          },
          "404": {
            "description": "Missing or foreign object"
          },
          "409": {
            "description": "Revision or immutable identity conflict"
          },
          "429": {
            "description": "Unchanged actor quota"
          },
          "503": {
            "description": "Persistence unavailable"
          },
          "200": {
            "description": "Tenant-owned local metadata",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SupportExport"
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "Register": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "email": {
            "type": "string",
            "format": "email"
          },
          "password": {
            "type": "string",
            "minLength": 12,
            "maxLength": 256,
            "writeOnly": true,
            "description": "Maximum 256 UTF-8 bytes."
          },
          "display_name": {
            "type": "string",
            "minLength": 2,
            "maxLength": 80
          }
        },
        "required": [
          "email",
          "password",
          "display_name"
        ]
      },
      "Login": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "email": {
            "type": "string",
            "format": "email"
          },
          "password": {
            "type": "string",
            "writeOnly": true
          }
        },
        "required": [
          "email",
          "password"
        ]
      },
      "Token": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "token": {
            "type": "string",
            "writeOnly": true
          }
        },
        "required": [
          "token"
        ]
      },
      "MfaCode": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "code": {
            "type": "string",
            "pattern": "^[0-9]{6}$",
            "writeOnly": true
          },
          "recovery_code": {
            "type": "string",
            "writeOnly": true
          }
        },
        "required": [],
        "oneOf": [
          {
            "required": [
              "code"
            ],
            "not": {
              "required": [
                "recovery_code"
              ]
            }
          },
          {
            "required": [
              "recovery_code"
            ],
            "not": {
              "required": [
                "code"
              ]
            }
          }
        ]
      },
      "OrganizationCreate": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "name": {
            "type": "string",
            "minLength": 2,
            "maxLength": 80
          }
        },
        "required": [
          "name"
        ]
      },
      "InvitationCreate": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "email": {
            "type": "string",
            "format": "email"
          },
          "role": {
            "type": "string",
            "enum": [
              "admin",
              "developer",
              "operator",
              "finance",
              "approver",
              "auditor"
            ]
          }
        },
        "required": [
          "email",
          "role"
        ]
      },
      "MemberChange": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "role": {
            "type": "string",
            "enum": [
              "admin",
              "developer",
              "operator",
              "finance",
              "approver",
              "auditor"
            ]
          },
          "active": {
            "type": "boolean"
          }
        },
        "required": [
          "role",
          "active"
        ]
      },
      "KeyCreate": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "name": {
            "type": "string",
            "minLength": 2,
            "maxLength": 80
          },
          "scopes": {
            "type": "array",
            "minItems": 1,
            "maxItems": 27,
            "items": {
              "type": "string",
              "enum": [
                "organization:read",
                "members:read",
                "jobs:read",
                "jobs:write",
                "audit:read",
                "signers:read",
                "signers:write",
                "wallets:read",
                "wallets:write",
                "destinations:read",
                "destinations:write",
                "solana:read",
                "solana:write",
                "base:read",
                "base:write",
                "collections:read",
                "collections:write",
                "webhooks:read",
                "webhooks:write",
                "orders:read",
                "orders:write",
                "payouts:read",
                "payouts:write",
                "outcomes:read",
                "outcomes:write",
                "billing:read",
                "support:read"
              ]
            }
          },
          "environment": {
            "type": "string",
            "enum": [
              "sandbox"
            ]
          },
          "expires_in_seconds": {
            "type": "integer",
            "minimum": 60,
            "maximum": 7776000
          }
        },
        "required": [
          "name",
          "scopes",
          "environment",
          "expires_in_seconds"
        ]
      },
      "DiagnosticRequest": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "network": {
            "type": "string",
            "enum": [
              "solana",
              "base"
            ]
          },
          "asset": {
            "type": "string",
            "enum": [
              "USDC",
              "USDT"
            ]
          },
          "scenario": {
            "type": "string",
            "enum": [
              "success",
              "provider_timeout",
              "worker_error"
            ]
          }
        },
        "required": [
          "network",
          "asset",
          "scenario"
        ]
      },
      "Problem": {
        "type": "object",
        "required": [
          "code",
          "message",
          "request_id"
        ],
        "properties": {
          "code": {
            "type": "string"
          },
          "message": {
            "type": "string"
          },
          "request_id": {
            "type": "string",
            "format": "uuid"
          }
        }
      },
      "Envelope": {
        "type": "object",
        "required": [
          "request_id"
        ],
        "properties": {
          "request_id": {
            "type": "string",
            "format": "uuid"
          }
        },
        "additionalProperties": true
      },
      "OneTimeKey": {
        "type": "object",
        "required": [
          "id",
          "secret",
          "shown_once",
          "environment",
          "request_id"
        ],
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "secret": {
            "type": "string",
            "readOnly": true,
            "description": "Returned exactly at issuance/rotation; never available from list/audit."
          },
          "shown_once": {
            "const": true
          },
          "environment": {
            "const": "sandbox"
          },
          "request_id": {
            "type": "string",
            "format": "uuid"
          }
        },
        "additionalProperties": true
      },
      "EnrollmentConfirm": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "code": {
            "type": "string",
            "pattern": "^[0-9]{6}$",
            "writeOnly": true
          }
        },
        "required": [
          "code"
        ]
      },
      "BusinessDeclaration": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "business_name": {
            "type": "string",
            "minLength": 2,
            "maxLength": 120
          },
          "country_code": {
            "type": "string",
            "description": "Two-letter declared code format, normalized to uppercase; not a jurisdiction approval."
          },
          "business_model": {
            "type": "string",
            "enum": [
              "payment_fintech",
              "merchant_platform",
              "business_payouts",
              "other"
            ]
          },
          "sandbox_notice_version": {
            "type": "string",
            "const": "sandbox-onboarding-v1"
          },
          "sandbox_notice_accepted": {
            "type": "boolean",
            "const": true
          },
          "expected_revision": {
            "type": "integer",
            "format": "int64",
            "minimum": 0
          }
        },
        "required": [
          "business_name",
          "country_code",
          "business_model",
          "sandbox_notice_version",
          "sandbox_notice_accepted",
          "expected_revision"
        ]
      },
      "SandboxPlanSelection": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "plan_id": {
            "type": "string",
            "enum": [
              "sandbox_free",
              "evaluation"
            ]
          },
          "catalog_version": {
            "type": "string",
            "const": "sandbox-catalog-v1"
          },
          "expected_revision": {
            "type": "integer",
            "format": "int64",
            "minimum": 0
          }
        },
        "required": [
          "plan_id",
          "catalog_version",
          "expected_revision"
        ]
      },
      "KybSubmission": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "expected_revision": {
            "type": "integer",
            "format": "int64",
            "minimum": 0
          }
        },
        "required": [
          "expected_revision"
        ]
      },
      "RegistryIdentity": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "asset_id",
          "asset_version",
          "network_id",
          "token_identifier",
          "decimals"
        ],
        "properties": {
          "asset_id": {
            "enum": [
              "USDC_SOL",
              "USDT_SOL",
              "USDC_BASE"
            ]
          },
          "asset_version": {
            "const": "2026-11-12.1"
          },
          "network_id": {
            "enum": [
              "solana-mainnet",
              "base-mainnet"
            ]
          },
          "token_identifier": {
            "type": "string"
          },
          "decimals": {
            "const": 6
          }
        }
      },
      "RegistryConversion": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "asset_id",
          "asset_version",
          "direction",
          "value"
        ],
        "properties": {
          "asset_id": {
            "enum": [
              "USDC_SOL",
              "USDT_SOL",
              "USDC_BASE"
            ]
          },
          "asset_version": {
            "const": "2026-11-12.1"
          },
          "direction": {
            "enum": [
              "to_raw",
              "to_decimal"
            ]
          },
          "value": {
            "type": "string",
            "maxLength": 90
          }
        }
      },
      "RegistrySourceCheck": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "asset_id",
          "asset_version",
          "scenario"
        ],
        "properties": {
          "asset_id": {
            "enum": [
              "USDC_SOL",
              "USDT_SOL",
              "USDC_BASE"
            ]
          },
          "asset_version": {
            "const": "2026-11-12.1"
          },
          "scenario": {
            "enum": [
              "success",
              "primary_timeout",
              "secondary_timeout",
              "both_timeout",
              "wrong_chain",
              "wrong_decimals",
              "wrong_program",
              "missing_token",
              "malformed",
              "rpc_error",
              "lagging",
              "wrong_id",
              "wrong_environment"
            ]
          }
        }
      },
      "SignerConnection": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "profile",
          "network_id",
          "wallet_reference",
          "customer_public_key"
        ],
        "properties": {
          "profile": {
            "enum": [
              "fixture_strict",
              "fixture_observe_only"
            ]
          },
          "network_id": {
            "enum": [
              "solana-mainnet",
              "base-mainnet"
            ]
          },
          "wallet_reference": {
            "type": "string",
            "pattern": "^fixture_wallet_[A-Za-z0-9_]{1,40}$"
          },
          "customer_public_key": {
            "type": "string",
            "pattern": "^[0-9a-f]{64}$"
          }
        }
      },
      "SignerRequest": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "asset_id",
          "asset_version",
          "recipient",
          "amount_raw",
          "ttl_seconds"
        ],
        "properties": {
          "asset_id": {
            "enum": [
              "USDC_SOL",
              "USDT_SOL",
              "USDC_BASE"
            ]
          },
          "asset_version": {
            "const": "2026-11-12.1"
          },
          "recipient": {
            "type": "string",
            "pattern": "^fixture_wallet_[A-Za-z0-9_]{1,40}$"
          },
          "amount_raw": {
            "type": "string",
            "pattern": "^[1-9][0-9]*$",
            "maxLength": 78
          },
          "ttl_seconds": {
            "type": "integer",
            "minimum": 1,
            "maximum": 300
          }
        }
      },
      "SignerRevision": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "expected_revision"
        ],
        "properties": {
          "expected_revision": {
            "type": "integer",
            "minimum": 0
          }
        }
      },
      "SignerIntent": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "asset_id",
          "asset_version",
          "token_identifier",
          "recipient",
          "amount_raw",
          "policy_reference"
        ],
        "properties": {
          "asset_id": {
            "type": "string"
          },
          "asset_version": {
            "type": "string"
          },
          "token_identifier": {
            "type": "string"
          },
          "recipient": {
            "type": "string"
          },
          "amount_raw": {
            "type": "string"
          },
          "policy_reference": {
            "type": "string"
          }
        }
      },
      "SignerApproval": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "protocol",
          "environment",
          "organization_id",
          "binding_id",
          "operation_id",
          "nonce",
          "expires_at",
          "profile",
          "network_id",
          "wallet_reference",
          "customer_public_key",
          "kind",
          "intent"
        ],
        "properties": {
          "protocol": {
            "const": "azums-fixture-signer-v1"
          },
          "environment": {
            "enum": [
              "local",
              "sandbox"
            ]
          },
          "organization_id": {
            "type": "string",
            "format": "uuid"
          },
          "binding_id": {
            "type": "string",
            "format": "uuid"
          },
          "operation_id": {
            "type": "string",
            "format": "uuid"
          },
          "nonce": {
            "type": "string",
            "pattern": "^[0-9a-f]{64}$"
          },
          "expires_at": {
            "type": "integer",
            "format": "int64"
          },
          "profile": {
            "enum": [
              "fixture_strict",
              "fixture_observe_only"
            ]
          },
          "network_id": {
            "enum": [
              "solana-mainnet",
              "base-mainnet"
            ]
          },
          "wallet_reference": {
            "type": "string"
          },
          "customer_public_key": {
            "type": "string",
            "pattern": "^[0-9a-f]{64}$"
          },
          "kind": {
            "enum": [
              "connect",
              "sign",
              "revoke"
            ]
          },
          "intent": {
            "anyOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/SignerIntent"
              }
            ]
          }
        }
      },
      "SignerCustomerProof": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "approval",
          "customer_signature"
        ],
        "properties": {
          "approval": {
            "$ref": "#/components/schemas/SignerApproval"
          },
          "customer_signature": {
            "type": "string",
            "pattern": "^[0-9a-f]{128}$"
          }
        }
      },
      "SignerReceipt": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "proof",
          "approval_digest",
          "outcome",
          "provider_signature"
        ],
        "properties": {
          "proof": {
            "$ref": "#/components/schemas/SignerCustomerProof"
          },
          "approval_digest": {
            "type": "string",
            "pattern": "^[0-9a-f]{64}$"
          },
          "outcome": {
            "enum": [
              "connected_fixture",
              "signed_fixture_protocol",
              "revoked_fixture"
            ]
          },
          "provider_signature": {
            "type": "string",
            "pattern": "^[0-9a-f]{128}$"
          }
        }
      },
      "FixtureWalletProviderRequest": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "protocol": {
            "const": "azums-fixture-wallet-v1"
          },
          "environment": {
            "enum": [
              "local",
              "sandbox"
            ]
          },
          "organization_id": {
            "type": "string",
            "format": "uuid"
          },
          "wallet_id": {
            "type": "string",
            "format": "uuid"
          },
          "customer_reference": {
            "type": "string",
            "pattern": "^[A-Za-z0-9_-]{2,80}$"
          },
          "binding_id": {
            "type": "string",
            "format": "uuid"
          },
          "binding_revision": {
            "type": "integer",
            "minimum": 1
          },
          "network_id": {
            "enum": [
              "solana-mainnet",
              "base-mainnet"
            ]
          },
          "customer_public_key": {
            "type": "string",
            "pattern": "^[0-9a-f]{64}$"
          },
          "fixture_scenario": {
            "enum": [
              "success",
              "commit_then_timeout",
              "unavailable_before_create",
              "crash_after_dispatch"
            ]
          }
        },
        "required": [
          "protocol",
          "environment",
          "organization_id",
          "wallet_id",
          "customer_reference",
          "binding_id",
          "binding_revision",
          "network_id",
          "customer_public_key",
          "fixture_scenario"
        ]
      },
      "FixtureWalletReceipt": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "request",
          "provider_wallet_reference",
          "provider_signature"
        ],
        "properties": {
          "request": {
            "$ref": "#/components/schemas/FixtureWalletProviderRequest"
          },
          "provider_wallet_reference": {
            "type": "string",
            "pattern": "^fixture_provisioned_[0-9a-f]{32}$",
            "description": "Non-address simulated journal reference."
          },
          "provider_signature": {
            "type": "string",
            "pattern": "^[0-9a-f]{128}$",
            "description": "Domain-separated provider protocol signature; not an asset signature or custody certificate."
          }
        }
      },
      "FixtureWallet": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "customer_reference": {
            "type": "string",
            "pattern": "^[A-Za-z0-9_-]{2,80}$"
          },
          "network_id": {
            "enum": [
              "solana-mainnet",
              "base-mainnet"
            ]
          },
          "binding_id": {
            "type": "string",
            "format": "uuid"
          },
          "state": {
            "enum": [
              "queued",
              "dispatching",
              "unknown_outcome",
              "provisioned_fixture",
              "cancelled_authorization"
            ]
          },
          "dispatch_attempts": {
            "type": "integer",
            "minimum": 0,
            "maximum": 1
          },
          "result_code": {
            "type": "string"
          },
          "fixture_binding_current": {
            "type": "boolean",
            "description": "Current local protocol binding only; cannot enable live deposits."
          },
          "receipt": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/FixtureWalletReceipt"
              }
            ]
          },
          "address": {
            "type": "null"
          },
          "token_accounts_created": {
            "const": false
          },
          "live_deposits_enabled": {
            "const": false
          },
          "key_control_certified": {
            "const": false
          },
          "fixture_only": {
            "const": true
          }
        },
        "required": [
          "id",
          "customer_reference",
          "network_id",
          "binding_id",
          "state",
          "dispatch_attempts",
          "result_code",
          "fixture_binding_current",
          "receipt",
          "address",
          "token_accounts_created",
          "live_deposits_enabled",
          "key_control_certified",
          "fixture_only"
        ]
      },
      "FixtureWalletList": {
        "allOf": [
          {
            "$ref": "#/components/schemas/Envelope"
          },
          {
            "type": "object",
            "required": [
              "wallets",
              "limit",
              "fixture_only"
            ],
            "properties": {
              "wallets": {
                "type": "array",
                "maxItems": 200,
                "items": {
                  "$ref": "#/components/schemas/FixtureWallet"
                }
              },
              "limit": {
                "const": 200
              },
              "fixture_only": {
                "const": true
              }
            }
          }
        ]
      },
      "FixtureDestinationAssignment": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "wallet_id",
          "asset_id",
          "asset_version",
          "model"
        ],
        "properties": {
          "wallet_id": {
            "type": "string",
            "format": "uuid"
          },
          "asset_id": {
            "enum": [
              "USDC_SOL",
              "USDT_SOL",
              "USDC_BASE"
            ]
          },
          "asset_version": {
            "type": "string"
          },
          "model": {
            "const": "fixture_wallet_asset"
          }
        }
      },
      "FixtureDepositObservationInput": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "event_id": {
            "type": "string",
            "format": "uuid"
          },
          "provider_wallet_reference": {
            "type": "string",
            "pattern": "^fixture_provisioned_[0-9a-f]{32}$"
          },
          "network_id": {
            "enum": [
              "solana-mainnet",
              "base-mainnet"
            ]
          },
          "asset_id": {
            "enum": [
              "USDC_SOL",
              "USDT_SOL",
              "USDC_BASE"
            ]
          },
          "asset_version": {
            "type": "string"
          },
          "token_identifier": {
            "type": "string"
          },
          "amount_raw": {
            "type": "string",
            "pattern": "^[1-9][0-9]*$",
            "description": "Bounded by the exact asset registry u64/u256 limit."
          },
          "account_status": {
            "enum": [
              "fixture_funded",
              "fixture_unfunded",
              "fixture_rent_required"
            ],
            "description": "Synthetic account condition only; Solana rent state rejected on Base."
          }
        },
        "required": [
          "event_id",
          "provider_wallet_reference",
          "network_id",
          "asset_id",
          "asset_version",
          "token_identifier",
          "amount_raw",
          "account_status"
        ]
      },
      "FixtureDepositDestination": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "wallet_id": {
            "type": "string",
            "format": "uuid"
          },
          "customer_reference": {
            "type": "string"
          },
          "network_id": {
            "type": "string"
          },
          "asset_id": {
            "type": "string"
          },
          "asset_version": {
            "type": "string"
          },
          "token_identifier": {
            "type": "string"
          },
          "provider_wallet_reference": {
            "type": "string"
          },
          "fixture_binding_current": {
            "type": "boolean"
          },
          "model": {
            "const": "fixture_wallet_asset"
          },
          "receiving_address": {
            "type": "null"
          },
          "token_accounts_created": {
            "const": false
          },
          "rent_lamports": {
            "type": "null"
          },
          "live_deposits_enabled": {
            "const": false
          },
          "key_control_certified": {
            "const": false
          }
        },
        "required": [
          "id",
          "wallet_id",
          "customer_reference",
          "network_id",
          "asset_id",
          "asset_version",
          "token_identifier",
          "provider_wallet_reference",
          "fixture_binding_current",
          "model",
          "receiving_address",
          "token_accounts_created",
          "rent_lamports",
          "live_deposits_enabled",
          "key_control_certified"
        ]
      },
      "FixtureDepositObservation": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "event_id": {
            "type": "string",
            "format": "uuid"
          },
          "destination_id": {
            "type": "string",
            "format": "uuid"
          },
          "customer_reference": {
            "type": "string"
          },
          "network_id": {
            "type": "string"
          },
          "asset_id": {
            "type": "string"
          },
          "asset_version": {
            "type": "string"
          },
          "provider_wallet_reference": {
            "type": "string"
          },
          "amount_raw": {
            "type": "string"
          },
          "account_status": {
            "enum": [
              "fixture_funded",
              "fixture_unfunded",
              "fixture_rent_required"
            ],
            "description": "Synthetic account condition only; Solana rent state rejected on Base."
          },
          "status": {
            "enum": [
              "attributed_fixture",
              "blocked_fixture_unfunded",
              "blocked_fixture_rent_required"
            ]
          },
          "credited": {
            "const": false
          },
          "source_mode": {
            "const": "synthetic_fixture"
          },
          "rent_lamports": {
            "type": "null"
          }
        },
        "required": [
          "id",
          "event_id",
          "destination_id",
          "customer_reference",
          "network_id",
          "asset_id",
          "asset_version",
          "provider_wallet_reference",
          "amount_raw",
          "account_status",
          "status",
          "credited",
          "source_mode",
          "rent_lamports"
        ]
      },
      "SolanaFixturePeer": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "genesis",
          "produced_slots",
          "block",
          "status_signatures",
          "statuses"
        ],
        "properties": {
          "genesis": {
            "type": "object",
            "description": "JSON-RPC 2.0 getGenesisHash envelope; pinned Solana genesis."
          },
          "produced_slots": {
            "type": "object",
            "description": "JSON-RPC getBlocks result for (parentSlot,slot]; exactly [slot], with skipped_slots covering the rest. Fixture consistency, not live proof."
          },
          "block": {
            "type": "object",
            "description": "JSON-RPC getBlock envelope, bounded legacy/0 transactions, pre/post token metadata and parsed/compiled outer/inner instructions."
          },
          "status_signatures": {
            "type": "array",
            "maxItems": 64,
            "items": {
              "type": "string"
            }
          },
          "statuses": {
            "type": "object",
            "description": "getSignatureStatuses results in requested signature order, exact slot/err/commitment and context not before block."
          }
        }
      },
      "SolanaFixtureObservation": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "slot",
          "commitment",
          "skipped_slots",
          "primary",
          "secondary"
        ],
        "properties": {
          "slot": {
            "type": "integer",
            "minimum": 0,
            "maximum": 9223372036854775807
          },
          "commitment": {
            "enum": [
              "confirmed",
              "finalized"
            ]
          },
          "skipped_slots": {
            "type": "array",
            "maxItems": 256,
            "items": {
              "type": "integer",
              "minimum": 0,
              "maximum": 9223372036854775807
            }
          },
          "primary": {
            "$ref": "#/components/schemas/SolanaFixturePeer"
          },
          "secondary": {
            "$ref": "#/components/schemas/SolanaFixturePeer"
          }
        }
      },
      "SolanaFixturePageInput": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "expected_revision",
          "mode",
          "anchor_slot",
          "anchor_hash",
          "blocks"
        ],
        "properties": {
          "expected_revision": {
            "type": "integer",
            "minimum": 0,
            "maximum": 9223372036854775807
          },
          "mode": {
            "enum": [
              "stream",
              "backfill",
              "reorg",
              "finalize"
            ]
          },
          "anchor_slot": {
            "type": "integer",
            "minimum": 0,
            "maximum": 9223372036854775807
          },
          "anchor_hash": {
            "type": "string"
          },
          "blocks": {
            "type": "array",
            "minItems": 1,
            "maxItems": 8,
            "items": {
              "$ref": "#/components/schemas/SolanaFixtureObservation"
            }
          }
        }
      },
      "SolanaFixtureStreamInput": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "name",
          "anchor_slot",
          "anchor_hash",
          "watch_token_accounts"
        ],
        "properties": {
          "name": {
            "type": "string",
            "minLength": 2,
            "maxLength": 80
          },
          "anchor_slot": {
            "type": "integer",
            "minimum": 0,
            "maximum": 9223372036854775807
          },
          "anchor_hash": {
            "type": "string"
          },
          "watch_token_accounts": {
            "type": "array",
            "minItems": 1,
            "maxItems": 16,
            "uniqueItems": true,
            "items": {
              "type": "string"
            },
            "description": "Public observation filters only, not customer receiving addresses or ownership proof."
          }
        }
      },
      "SolanaFixtureControl": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "expected_control_revision",
          "paused"
        ],
        "properties": {
          "expected_control_revision": {
            "type": "integer",
            "minimum": 0,
            "maximum": 9223372036854775807
          },
          "paused": {
            "type": "boolean"
          }
        }
      },
      "SolanaFixtureStream": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "id",
          "name",
          "watch_token_accounts",
          "anchor_slot",
          "anchor_hash",
          "current_slot",
          "current_hash",
          "finalized_slot",
          "revision",
          "paused",
          "control_revision",
          "last_error",
          "canonical_events",
          "source_mode",
          "transaction_signature_verified",
          "deposit_credited",
          "live_ingestion"
        ],
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "name": {
            "type": "string"
          },
          "watch_token_accounts": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "anchor_slot": {
            "type": "integer",
            "minimum": 0,
            "maximum": 9223372036854775807
          },
          "anchor_hash": {
            "type": "string"
          },
          "current_slot": {
            "type": "integer",
            "minimum": 0,
            "maximum": 9223372036854775807
          },
          "current_hash": {
            "type": "string"
          },
          "finalized_slot": {
            "type": [
              "integer",
              "null"
            ]
          },
          "revision": {
            "type": "integer",
            "minimum": 0,
            "maximum": 9223372036854775807
          },
          "paused": {
            "type": "boolean"
          },
          "control_revision": {
            "type": "integer",
            "minimum": 0,
            "maximum": 9223372036854775807
          },
          "last_error": {
            "type": [
              "string",
              "null"
            ]
          },
          "canonical_events": {
            "type": "integer",
            "minimum": 0,
            "maximum": 9223372036854775807
          },
          "source_mode": {
            "const": "rpc_shaped_fixture"
          },
          "transaction_signature_verified": {
            "const": false
          },
          "deposit_credited": {
            "const": false
          },
          "live_ingestion": {
            "const": false
          }
        }
      },
      "SolanaFixturePage": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "id",
          "stream_id",
          "state",
          "error_code",
          "result",
          "input_digest",
          "source_mode",
          "deposit_credited"
        ],
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "stream_id": {
            "type": "string",
            "format": "uuid"
          },
          "state": {
            "enum": [
              "queued",
              "applied",
              "rejected"
            ]
          },
          "error_code": {
            "type": [
              "string",
              "null"
            ]
          },
          "result": {
            "type": [
              "object",
              "null"
            ]
          },
          "input_digest": {
            "type": "string"
          },
          "source_mode": {
            "const": "rpc_shaped_fixture"
          },
          "deposit_credited": {
            "const": false
          }
        }
      },
      "SolanaFixtureTransfer": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "event_key",
          "signature",
          "instruction_path",
          "source_token_account",
          "destination_token_account",
          "sender_owner",
          "recipient_owner",
          "mint",
          "asset_version",
          "blockhash",
          "asset_id",
          "amount_raw",
          "decimals",
          "direction",
          "slot",
          "canonical",
          "state",
          "source_mode",
          "transaction_signature_verified",
          "deposit_credited"
        ],
        "properties": {
          "event_key": {
            "type": "string"
          },
          "signature": {
            "type": "string"
          },
          "instruction_path": {
            "type": "string"
          },
          "source_token_account": {
            "type": "string"
          },
          "destination_token_account": {
            "type": "string"
          },
          "sender_owner": {
            "type": "string"
          },
          "recipient_owner": {
            "type": "string"
          },
          "mint": {
            "type": "string"
          },
          "asset_version": {
            "type": "string"
          },
          "blockhash": {
            "type": "string"
          },
          "asset_id": {
            "enum": [
              "USDC_SOL",
              "USDT_SOL"
            ]
          },
          "amount_raw": {
            "type": "string",
            "pattern": "^[1-9][0-9]*$",
            "description": "Checked positive u64 raw units; always a JSON string."
          },
          "decimals": {
            "const": 6
          },
          "direction": {
            "enum": [
              "incoming",
              "outgoing"
            ]
          },
          "slot": {
            "type": "integer",
            "minimum": 0,
            "maximum": 9223372036854775807
          },
          "canonical": {
            "type": "boolean"
          },
          "state": {
            "enum": [
              "confirmed_fixture",
              "finalized_fixture",
              "orphaned_fixture"
            ]
          },
          "source_mode": {
            "const": "rpc_shaped_fixture"
          },
          "transaction_signature_verified": {
            "const": false
          },
          "deposit_credited": {
            "const": false
          }
        }
      },
      "BaseFixturePeer": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "chain_id",
          "block",
          "receipts",
          "logs",
          "level_tag",
          "level_block"
        ],
        "properties": {
          "chain_id": {
            "type": "object",
            "description": "eth_chainId JSON-RPC envelope; exactly Base 8453."
          },
          "block": {
            "type": "object",
            "description": "eth_getBlockByNumber full transactions; bounded complete fixture block, not Flashblocks."
          },
          "receipts": {
            "type": "array",
            "maxItems": 64,
            "items": {
              "type": "object"
            },
            "description": "One JSON-RPC receipt per included transaction in transaction order; status 0 or 1."
          },
          "logs": {
            "type": "object",
            "description": "eth_getLogs envelope filtered by exact native USDC emitter, all events, complete per-block receipt-derived order."
          },
          "level_tag": {
            "enum": [
              "latest",
              "safe",
              "finalized"
            ]
          },
          "level_block": {
            "type": "object",
            "description": "Result of requested tag must match observed block number/hash/parent exactly. Fixture consistency only; not L1 provenance."
          }
        }
      },
      "BaseFixtureObservation": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "finality",
          "primary",
          "secondary"
        ],
        "properties": {
          "finality": {
            "enum": [
              "unsafe",
              "safe",
              "finalized"
            ]
          },
          "primary": {
            "$ref": "#/components/schemas/BaseFixturePeer"
          },
          "secondary": {
            "$ref": "#/components/schemas/BaseFixturePeer"
          }
        }
      },
      "BaseFixturePageInput": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "expected_revision",
          "mode",
          "anchor_block",
          "anchor_hash",
          "blocks"
        ],
        "properties": {
          "expected_revision": {
            "type": "integer",
            "minimum": 0,
            "maximum": 9223372036854775807
          },
          "mode": {
            "enum": [
              "stream",
              "backfill",
              "reorg",
              "promote"
            ]
          },
          "anchor_block": {
            "type": "integer",
            "minimum": 0,
            "maximum": 9223372036854775807
          },
          "anchor_hash": {
            "type": "string"
          },
          "blocks": {
            "type": "array",
            "minItems": 1,
            "maxItems": 8,
            "items": {
              "$ref": "#/components/schemas/BaseFixtureObservation"
            }
          }
        }
      },
      "BaseFixtureStreamInput": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "name",
          "anchor_block",
          "anchor_hash",
          "watch_addresses"
        ],
        "properties": {
          "name": {
            "type": "string",
            "minLength": 2,
            "maxLength": 80
          },
          "anchor_block": {
            "type": "integer",
            "minimum": 0,
            "maximum": 9223372036854775807
          },
          "anchor_hash": {
            "type": "string"
          },
          "watch_addresses": {
            "type": "array",
            "minItems": 1,
            "maxItems": 16,
            "uniqueItems": true,
            "items": {
              "type": "string",
              "pattern": "^0x[0-9a-fA-F]{40}$"
            },
            "description": "Public observation filters only, not customer receiving addresses or ownership proof."
          }
        }
      },
      "BaseFixtureControl": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "expected_control_revision",
          "paused"
        ],
        "properties": {
          "expected_control_revision": {
            "type": "integer",
            "minimum": 0,
            "maximum": 9223372036854775807
          },
          "paused": {
            "type": "boolean"
          }
        }
      },
      "BaseFixtureStream": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "id",
          "name",
          "watch_addresses",
          "anchor_block",
          "anchor_hash",
          "current_block",
          "current_hash",
          "finalized_block",
          "revision",
          "paused",
          "control_revision",
          "last_error",
          "canonical_events",
          "source_mode",
          "transaction_signature_verified",
          "deposit_credited",
          "live_ingestion",
          "safe_block"
        ],
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "name": {
            "type": "string"
          },
          "watch_addresses": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "anchor_block": {
            "type": "integer",
            "minimum": 0,
            "maximum": 9223372036854775807
          },
          "anchor_hash": {
            "type": "string"
          },
          "current_block": {
            "type": "integer",
            "minimum": 0,
            "maximum": 9223372036854775807
          },
          "current_hash": {
            "type": "string"
          },
          "finalized_block": {
            "type": [
              "integer",
              "null"
            ]
          },
          "revision": {
            "type": "integer",
            "minimum": 0,
            "maximum": 9223372036854775807
          },
          "paused": {
            "type": "boolean"
          },
          "control_revision": {
            "type": "integer",
            "minimum": 0,
            "maximum": 9223372036854775807
          },
          "last_error": {
            "type": [
              "string",
              "null"
            ]
          },
          "canonical_events": {
            "type": "integer",
            "minimum": 0,
            "maximum": 9223372036854775807
          },
          "source_mode": {
            "const": "rpc_shaped_fixture"
          },
          "transaction_signature_verified": {
            "const": false
          },
          "deposit_credited": {
            "const": false
          },
          "live_ingestion": {
            "const": false
          },
          "safe_block": {
            "type": [
              "integer",
              "null"
            ]
          }
        }
      },
      "BaseFixturePage": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "id",
          "stream_id",
          "state",
          "error_code",
          "result",
          "input_digest",
          "source_mode",
          "deposit_credited"
        ],
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "stream_id": {
            "type": "string",
            "format": "uuid"
          },
          "state": {
            "enum": [
              "queued",
              "applied",
              "rejected"
            ]
          },
          "error_code": {
            "type": [
              "string",
              "null"
            ]
          },
          "result": {
            "type": [
              "object",
              "null"
            ]
          },
          "input_digest": {
            "type": "string"
          },
          "source_mode": {
            "const": "rpc_shaped_fixture"
          },
          "deposit_credited": {
            "const": false
          }
        }
      },
      "BaseFixtureTransfer": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "event_key",
          "transaction_hash",
          "sender",
          "recipient",
          "contract",
          "asset_version",
          "blockhash",
          "receipt_log_index",
          "log_index",
          "asset_id",
          "amount_raw",
          "decimals",
          "direction",
          "block_number",
          "canonical",
          "state",
          "source_mode",
          "transaction_signature_verified",
          "deposit_credited"
        ],
        "properties": {
          "event_key": {
            "type": "string"
          },
          "transaction_hash": {
            "type": "string"
          },
          "sender": {
            "type": "string"
          },
          "recipient": {
            "type": "string"
          },
          "contract": {
            "type": "string"
          },
          "asset_version": {
            "type": "string"
          },
          "blockhash": {
            "type": "string"
          },
          "receipt_log_index": {
            "type": "integer",
            "minimum": 0,
            "maximum": 9223372036854775807
          },
          "log_index": {
            "type": "integer",
            "minimum": 0,
            "maximum": 9223372036854775807
          },
          "asset_id": {
            "const": "USDC_BASE"
          },
          "amount_raw": {
            "type": "string",
            "pattern": "^[1-9][0-9]*$",
            "description": "Positive uint256 raw units from the 32-byte event data word; always a string."
          },
          "decimals": {
            "const": 6
          },
          "direction": {
            "enum": [
              "incoming",
              "outgoing"
            ]
          },
          "block_number": {
            "type": "integer",
            "minimum": 0,
            "maximum": 9223372036854775807
          },
          "canonical": {
            "type": "boolean"
          },
          "state": {
            "enum": [
              "unsafe_fixture",
              "safe_fixture",
              "finalized_fixture",
              "orphaned_fixture"
            ]
          },
          "source_mode": {
            "const": "rpc_shaped_fixture"
          },
          "transaction_signature_verified": {
            "const": false
          },
          "deposit_credited": {
            "const": false
          }
        }
      },
      "BaseFixtureTransaction": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "transaction_hash",
          "sender",
          "nonce",
          "to",
          "receipt_success",
          "blockhash",
          "block_number",
          "canonical",
          "state",
          "replaced_by",
          "transaction_signature_verified",
          "replacement_scope"
        ],
        "properties": {
          "transaction_hash": {
            "type": "string"
          },
          "sender": {
            "type": "string"
          },
          "nonce": {
            "type": "string",
            "pattern": "^[0-9]+$"
          },
          "to": {
            "type": [
              "string",
              "null"
            ]
          },
          "receipt_success": {
            "type": "boolean"
          },
          "blockhash": {
            "type": "string"
          },
          "block_number": {
            "type": "integer",
            "minimum": 0,
            "maximum": 9223372036854775807
          },
          "canonical": {
            "type": "boolean"
          },
          "state": {
            "enum": [
              "unsafe_fixture",
              "safe_fixture",
              "finalized_fixture",
              "orphaned_fixture"
            ]
          },
          "replaced_by": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "transaction_signature_verified": {
            "const": false
          },
          "replacement_scope": {
            "const": "same_sender_nonce_in_fixture_branch_history"
          }
        }
      },
      "CollectionRegistrationInput": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "destination_id",
          "source_kind",
          "stream_id",
          "observed_account"
        ],
        "properties": {
          "destination_id": {
            "type": "string",
            "format": "uuid"
          },
          "source_kind": {
            "enum": [
              "solana_fixture",
              "base_fixture"
            ]
          },
          "stream_id": {
            "type": "string",
            "format": "uuid"
          },
          "observed_account": {
            "type": "string"
          }
        }
      },
      "CollectionControlInput": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "expected_revision",
          "paused"
        ],
        "properties": {
          "expected_revision": {
            "type": "integer",
            "minimum": 0
          },
          "paused": {
            "type": "boolean"
          }
        }
      },
      "WebhookEndpointInput": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "name",
          "receiver"
        ],
        "properties": {
          "name": {
            "type": "string",
            "minLength": 2,
            "maxLength": 80
          },
          "receiver": {
            "const": "local_fixture"
          }
        }
      },
      "WebhookControlInput": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "expected_revision",
          "enabled",
          "scenario"
        ],
        "properties": {
          "expected_revision": {
            "type": "integer",
            "minimum": 0
          },
          "enabled": {
            "type": "boolean"
          },
          "scenario": {
            "enum": [
              "accept",
              "outage",
              "ack_lost_once",
              "permanent_error",
              "crash_after_dispatch"
            ]
          }
        }
      },
      "WebhookReplayInput": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "expected_revision"
        ],
        "properties": {
          "expected_revision": {
            "type": "integer",
            "minimum": 0
          }
        }
      },
      "CollectionRawEvent": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "id",
          "payload",
          "payload_sha256"
        ],
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "payload": {
            "type": "string",
            "description": "Immutable UTF-8 JSON bytes signed as id.timestamp.raw_body. All retries preserve event ID and payload."
          },
          "payload_sha256": {
            "type": "string",
            "pattern": "^[0-9a-f]{64}$"
          }
        }
      },
      "CollectionFixturePayload": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "id",
          "organization_id",
          "environment",
          "type",
          "created_at",
          "data",
          "source_mode",
          "financial_credit_created",
          "chain_signature_verified"
        ],
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "organization_id": {
            "type": "string",
            "format": "uuid"
          },
          "environment": {
            "enum": [
              "local",
              "sandbox"
            ]
          },
          "type": {
            "const": "deposit.finalized_fixture"
          },
          "created_at": {
            "type": "integer",
            "minimum": 0
          },
          "data": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "movement_id",
              "collection_id",
              "destination_id",
              "customer_reference",
              "network_id",
              "transfer",
              "source_evidence"
            ],
            "properties": {
              "movement_id": {
                "type": "string",
                "format": "uuid"
              },
              "collection_id": {
                "type": "string",
                "format": "uuid"
              },
              "destination_id": {
                "type": "string",
                "format": "uuid"
              },
              "customer_reference": {
                "type": "string"
              },
              "network_id": {
                "enum": [
                  "solana-mainnet",
                  "base-mainnet"
                ]
              },
              "transfer": {
                "$ref": "#/components/schemas/CollectionFixtureTransfer"
              },
              "source_evidence": {
                "type": "array",
                "minItems": 1,
                "items": {
                  "$ref": "#/components/schemas/CollectionSourceEvidence"
                }
              }
            }
          },
          "source_mode": {
            "const": "rpc_shaped_fixture"
          },
          "financial_credit_created": {
            "const": false
          },
          "chain_signature_verified": {
            "const": false
          }
        }
      },
      "EmptyObject": {
        "type": "object",
        "additionalProperties": false,
        "required": [],
        "properties": {}
      },
      "CollectionFixtureTransfer": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "asset_id",
          "asset_version",
          "token_identifier",
          "amount_raw",
          "sender",
          "recipient",
          "observed_account",
          "transaction_id",
          "event_position"
        ],
        "properties": {
          "asset_id": {
            "enum": [
              "USDC_SOL",
              "USDT_SOL",
              "USDC_BASE"
            ]
          },
          "asset_version": {
            "type": "string"
          },
          "token_identifier": {
            "type": "string"
          },
          "amount_raw": {
            "type": "string",
            "pattern": "^[1-9][0-9]*$"
          },
          "sender": {
            "type": "string"
          },
          "recipient": {
            "type": "string"
          },
          "observed_account": {
            "type": "string"
          },
          "transaction_id": {
            "type": "string"
          },
          "event_position": {
            "type": [
              "string",
              "integer"
            ]
          }
        }
      },
      "CollectionSourceEvidence": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "source_kind",
          "stream_id",
          "blockhash",
          "event_key",
          "canonical",
          "finality"
        ],
        "properties": {
          "source_kind": {
            "enum": [
              "solana_fixture",
              "base_fixture"
            ]
          },
          "stream_id": {
            "type": "string",
            "format": "uuid"
          },
          "blockhash": {
            "type": "string"
          },
          "event_key": {
            "type": "string"
          },
          "canonical": {
            "type": "boolean"
          },
          "finality": {
            "enum": [
              "unsafe_fixture",
              "safe_fixture",
              "confirmed_fixture",
              "finalized_fixture"
            ]
          }
        }
      },
      "CollectionRegistration": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "id",
          "destination_id",
          "source_kind",
          "stream_id",
          "observed_account",
          "network_id",
          "asset_id",
          "asset_version",
          "customer_reference",
          "ownership_verified",
          "financial_credit_created"
        ],
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "destination_id": {
            "type": "string",
            "format": "uuid"
          },
          "source_kind": {
            "enum": [
              "solana_fixture",
              "base_fixture"
            ]
          },
          "stream_id": {
            "type": "string",
            "format": "uuid"
          },
          "observed_account": {
            "type": "string"
          },
          "network_id": {
            "type": "string"
          },
          "asset_id": {
            "type": "string"
          },
          "asset_version": {
            "type": "string"
          },
          "customer_reference": {
            "type": "string"
          },
          "ownership_verified": {
            "const": false
          },
          "financial_credit_created": {
            "const": false
          }
        }
      },
      "CollectionMovement": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "id",
          "network_id",
          "event_key",
          "state",
          "reason",
          "data",
          "source_evidence",
          "collection_id",
          "event_id",
          "financial_credit_created",
          "chain_signature_verified"
        ],
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "network_id": {
            "type": "string"
          },
          "event_key": {
            "type": "string"
          },
          "state": {
            "enum": [
              "unmatched",
              "pending_finality_fixture",
              "orphaned_fixture",
              "attributed_fixture",
              "evidence_conflict"
            ]
          },
          "reason": {
            "type": "string"
          },
          "data": {
            "$ref": "#/components/schemas/CollectionFixtureTransfer"
          },
          "source_evidence": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CollectionSourceEvidence"
            }
          },
          "collection_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "event_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "financial_credit_created": {
            "const": false
          },
          "chain_signature_verified": {
            "const": false
          }
        }
      },
      "WebhookEndpoint": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "id",
          "name",
          "receiver",
          "enabled",
          "scenario",
          "revision",
          "secret_available"
        ],
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "name": {
            "type": "string"
          },
          "receiver": {
            "const": "local_fixture"
          },
          "enabled": {
            "type": "boolean"
          },
          "scenario": {
            "enum": [
              "accept",
              "outage",
              "ack_lost_once",
              "permanent_error",
              "crash_after_dispatch"
            ]
          },
          "revision": {
            "type": "integer",
            "minimum": 0
          },
          "secret_available": {
            "const": false
          }
        }
      },
      "WebhookAttempt": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "ordinal",
          "state",
          "result_code",
          "payload_sha256"
        ],
        "properties": {
          "ordinal": {
            "type": "integer",
            "minimum": 1
          },
          "state": {
            "enum": [
              "started",
              "acknowledged",
              "failed",
              "unknown"
            ]
          },
          "result_code": {
            "type": [
              "string",
              "null"
            ]
          },
          "payload_sha256": {
            "type": "string",
            "pattern": "^[0-9a-f]{64}$"
          }
        }
      },
      "WebhookDelivery": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "id",
          "endpoint_id",
          "event_id",
          "state",
          "attempts",
          "cycle_attempts",
          "revision",
          "last_error",
          "attempt_history",
          "financial_credit_created"
        ],
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "endpoint_id": {
            "type": "string",
            "format": "uuid"
          },
          "event_id": {
            "type": "string",
            "format": "uuid"
          },
          "state": {
            "enum": [
              "queued",
              "dispatching",
              "delivered",
              "retry_scheduled",
              "dead_letter",
              "blocked_authority"
            ]
          },
          "attempts": {
            "type": "integer",
            "minimum": 0
          },
          "cycle_attempts": {
            "type": "integer",
            "minimum": 0
          },
          "revision": {
            "type": "integer",
            "minimum": 0
          },
          "last_error": {
            "type": [
              "string",
              "null"
            ]
          },
          "attempt_history": {
            "type": "array",
            "maxItems": 100,
            "items": {
              "$ref": "#/components/schemas/WebhookAttempt"
            }
          },
          "financial_credit_created": {
            "const": false
          }
        }
      },
      "WebhookReceipt": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "endpoint_id",
          "event_id",
          "payload",
          "payload_sha256",
          "request_count",
          "fixture_effect_count",
          "webhook_timestamp",
          "webhook_signature",
          "financial_credit_created"
        ],
        "properties": {
          "endpoint_id": {
            "type": "string",
            "format": "uuid"
          },
          "event_id": {
            "type": "string",
            "format": "uuid"
          },
          "payload": {
            "type": "string"
          },
          "payload_sha256": {
            "type": "string",
            "pattern": "^[0-9a-f]{64}$"
          },
          "request_count": {
            "type": "integer",
            "minimum": 1
          },
          "fixture_effect_count": {
            "const": 1
          },
          "webhook_timestamp": {
            "type": "string",
            "pattern": "^[0-9]+$"
          },
          "webhook_signature": {
            "type": "string",
            "pattern": "^v1,[A-Za-z0-9+/]+={0,2}$"
          },
          "financial_credit_created": {
            "const": false
          }
        }
      },
      "CheckoutBrand": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "display_name",
          "accent",
          "revision",
          "business_identity_verified"
        ],
        "properties": {
          "display_name": {
            "type": "string",
            "minLength": 2,
            "maxLength": 80
          },
          "accent": {
            "enum": [
              "green",
              "blue",
              "purple"
            ]
          },
          "revision": {
            "type": "integer",
            "minimum": 0
          },
          "business_identity_verified": {
            "const": false
          }
        }
      },
      "CheckoutBrandInput": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "expected_revision",
          "display_name",
          "accent"
        ],
        "properties": {
          "expected_revision": {
            "type": "integer",
            "minimum": 0
          },
          "display_name": {
            "type": "string",
            "minLength": 2,
            "maxLength": 80
          },
          "accent": {
            "enum": [
              "green",
              "blue",
              "purple"
            ]
          }
        }
      },
      "PaymentOrderInput": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "merchant_reference",
          "collection_id",
          "amount",
          "title"
        ],
        "properties": {
          "merchant_reference": {
            "type": "string",
            "minLength": 1,
            "maxLength": 80
          },
          "collection_id": {
            "type": "string",
            "format": "uuid"
          },
          "amount": {
            "type": "string",
            "pattern": "^(0|[1-9][0-9]*)(\\.[0-9]{1,6})?$",
            "description": "Positive exact token decimal amount within the pinned asset limit. No float, exponent, rounding or FX.",
            "not": {
              "pattern": "^0(?:\\.0{1,6})?$"
            }
          },
          "title": {
            "type": "string",
            "minLength": 1,
            "maxLength": 120
          },
          "expires_in_seconds": {
            "type": "integer",
            "minimum": 2,
            "maximum": 86400,
            "default": 3600
          }
        }
      },
      "CheckoutSummary": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "state",
          "finalized_on_time_raw",
          "pending_on_time_raw",
          "late_observed_raw",
          "remaining_raw",
          "overpaid_raw",
          "wrong_asset_movements",
          "conflicting_movements",
          "source_holds",
          "link_expired",
          "review_required",
          "financial_credit_created",
          "actual_deposit_verified",
          "merchant_invoice_settled"
        ],
        "properties": {
          "state": {
            "enum": [
              "awaiting_payment_fixture",
              "pending_finality_fixture",
              "partially_paid_fixture",
              "paid_fixture",
              "overpaid_fixture",
              "expired_fixture",
              "late_payment_fixture",
              "wrong_asset_fixture",
              "review_fixture"
            ]
          },
          "finalized_on_time_raw": {
            "type": "string",
            "pattern": "^(0|[1-9][0-9]*)$"
          },
          "pending_on_time_raw": {
            "type": "string",
            "pattern": "^(0|[1-9][0-9]*)$"
          },
          "late_observed_raw": {
            "type": "string",
            "pattern": "^(0|[1-9][0-9]*)$"
          },
          "remaining_raw": {
            "type": "string",
            "pattern": "^(0|[1-9][0-9]*)$"
          },
          "overpaid_raw": {
            "type": "string",
            "pattern": "^(0|[1-9][0-9]*)$"
          },
          "wrong_asset_movements": {
            "type": "integer",
            "minimum": 0
          },
          "conflicting_movements": {
            "type": "integer",
            "minimum": 0
          },
          "source_holds": {
            "type": "integer",
            "minimum": 0
          },
          "link_expired": {
            "type": "boolean"
          },
          "review_required": {
            "type": "boolean"
          },
          "financial_credit_created": {
            "const": false
          },
          "actual_deposit_verified": {
            "const": false
          },
          "merchant_invoice_settled": {
            "const": false
          }
        }
      },
      "PublicCheckout": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "id",
          "title",
          "merchant",
          "asset_id",
          "asset_version",
          "symbol",
          "network_id",
          "token_identifier",
          "decimals",
          "amount_raw",
          "amount_decimal",
          "expires_at_epoch",
          "server_now_epoch",
          "state",
          "summary",
          "revision",
          "source_mode",
          "timing_policy",
          "receiving_address",
          "payment_qr",
          "wallet_connection_enabled",
          "financial_credit_created",
          "actual_deposit_verified",
          "merchant_invoice_settled",
          "live_payments_enabled",
          "projection_stale"
        ],
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "title": {
            "type": "string"
          },
          "merchant": {
            "$ref": "#/components/schemas/CheckoutBrand"
          },
          "asset_id": {
            "enum": [
              "USDC_SOL",
              "USDT_SOL",
              "USDC_BASE"
            ]
          },
          "asset_version": {
            "type": "string"
          },
          "symbol": {
            "enum": [
              "USDC",
              "USDT"
            ]
          },
          "network_id": {
            "enum": [
              "solana-mainnet",
              "base-mainnet"
            ]
          },
          "token_identifier": {
            "type": "string"
          },
          "decimals": {
            "const": 6
          },
          "amount_raw": {
            "type": "string",
            "pattern": "^[1-9][0-9]*$"
          },
          "amount_decimal": {
            "type": "string"
          },
          "expires_at_epoch": {
            "type": "integer",
            "minimum": 0
          },
          "server_now_epoch": {
            "type": "integer",
            "minimum": 0
          },
          "state": {
            "enum": [
              "awaiting_payment_fixture",
              "pending_finality_fixture",
              "partially_paid_fixture",
              "paid_fixture",
              "overpaid_fixture",
              "expired_fixture",
              "late_payment_fixture",
              "wrong_asset_fixture",
              "review_fixture"
            ]
          },
          "summary": {
            "$ref": "#/components/schemas/CheckoutSummary"
          },
          "revision": {
            "type": "integer",
            "minimum": 0
          },
          "source_mode": {
            "const": "rpc_shaped_fixture"
          },
          "timing_policy": {
            "const": "first_retained_fixture_movement"
          },
          "receiving_address": {
            "type": "null"
          },
          "payment_qr": {
            "type": "null"
          },
          "wallet_connection_enabled": {
            "const": false
          },
          "financial_credit_created": {
            "const": false
          },
          "actual_deposit_verified": {
            "const": false
          },
          "merchant_invoice_settled": {
            "const": false
          },
          "live_payments_enabled": {
            "const": false
          },
          "projection_stale": {
            "type": "boolean"
          }
        }
      },
      "PaymentOrder": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "id",
          "title",
          "merchant",
          "asset_id",
          "asset_version",
          "symbol",
          "network_id",
          "token_identifier",
          "decimals",
          "amount_raw",
          "amount_decimal",
          "expires_at_epoch",
          "server_now_epoch",
          "state",
          "summary",
          "revision",
          "source_mode",
          "timing_policy",
          "receiving_address",
          "payment_qr",
          "wallet_connection_enabled",
          "financial_credit_created",
          "actual_deposit_verified",
          "merchant_invoice_settled",
          "live_payments_enabled",
          "projection_stale",
          "organization_id",
          "collection_id",
          "merchant_reference",
          "checkout_path",
          "last_error"
        ],
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "title": {
            "type": "string"
          },
          "merchant": {
            "$ref": "#/components/schemas/CheckoutBrand"
          },
          "asset_id": {
            "enum": [
              "USDC_SOL",
              "USDT_SOL",
              "USDC_BASE"
            ]
          },
          "asset_version": {
            "type": "string"
          },
          "symbol": {
            "enum": [
              "USDC",
              "USDT"
            ]
          },
          "network_id": {
            "enum": [
              "solana-mainnet",
              "base-mainnet"
            ]
          },
          "token_identifier": {
            "type": "string"
          },
          "decimals": {
            "const": 6
          },
          "amount_raw": {
            "type": "string",
            "pattern": "^[1-9][0-9]*$"
          },
          "amount_decimal": {
            "type": "string"
          },
          "expires_at_epoch": {
            "type": "integer",
            "minimum": 0
          },
          "server_now_epoch": {
            "type": "integer",
            "minimum": 0
          },
          "state": {
            "enum": [
              "awaiting_payment_fixture",
              "pending_finality_fixture",
              "partially_paid_fixture",
              "paid_fixture",
              "overpaid_fixture",
              "expired_fixture",
              "late_payment_fixture",
              "wrong_asset_fixture",
              "review_fixture"
            ]
          },
          "summary": {
            "$ref": "#/components/schemas/CheckoutSummary"
          },
          "revision": {
            "type": "integer",
            "minimum": 0
          },
          "source_mode": {
            "const": "rpc_shaped_fixture"
          },
          "timing_policy": {
            "const": "first_retained_fixture_movement"
          },
          "receiving_address": {
            "type": "null"
          },
          "payment_qr": {
            "type": "null"
          },
          "wallet_connection_enabled": {
            "const": false
          },
          "financial_credit_created": {
            "const": false
          },
          "actual_deposit_verified": {
            "const": false
          },
          "merchant_invoice_settled": {
            "const": false
          },
          "live_payments_enabled": {
            "const": false
          },
          "projection_stale": {
            "type": "boolean"
          },
          "organization_id": {
            "type": "string",
            "format": "uuid"
          },
          "collection_id": {
            "type": "string",
            "format": "uuid"
          },
          "merchant_reference": {
            "type": "string"
          },
          "checkout_path": {
            "type": "string",
            "pattern": "^/checkout/[0-9a-f]{64}$",
            "description": "Intentional read-only public checkout link; no payer/customer or organization/collection identifiers in its public view."
          },
          "last_error": {
            "type": [
              "string",
              "null"
            ]
          }
        }
      },
      "OrderAllocation": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "movement_id",
          "source_event_id",
          "classification",
          "on_time",
          "first_retained_at_epoch",
          "source_state",
          "source_reason",
          "transfer",
          "source_evidence",
          "financial_credit_created"
        ],
        "properties": {
          "movement_id": {
            "type": "string",
            "format": "uuid"
          },
          "source_event_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "classification": {
            "enum": [
              "finalized_on_time",
              "pending_finality",
              "late",
              "wrong_asset",
              "source_hold",
              "conflict",
              "orphaned"
            ]
          },
          "on_time": {
            "type": "boolean"
          },
          "first_retained_at_epoch": {
            "type": "integer",
            "minimum": 0
          },
          "source_state": {
            "enum": [
              "unmatched",
              "pending_finality_fixture",
              "orphaned_fixture",
              "attributed_fixture",
              "evidence_conflict"
            ]
          },
          "source_reason": {
            "type": "string"
          },
          "transfer": {
            "$ref": "#/components/schemas/CollectionFixtureTransfer"
          },
          "source_evidence": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CollectionSourceEvidence"
            }
          },
          "financial_credit_created": {
            "const": false
          }
        }
      },
      "CheckoutEvent": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "id",
          "revision",
          "state",
          "allocation_snapshot_sha256",
          "payload",
          "payload_sha256"
        ],
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "revision": {
            "type": "integer",
            "minimum": 0
          },
          "state": {
            "enum": [
              "awaiting_payment_fixture",
              "pending_finality_fixture",
              "partially_paid_fixture",
              "paid_fixture",
              "overpaid_fixture",
              "expired_fixture",
              "late_payment_fixture",
              "wrong_asset_fixture",
              "review_fixture"
            ]
          },
          "allocation_snapshot_sha256": {
            "type": "string",
            "pattern": "^[0-9a-f]{64}$"
          },
          "payload": {
            "type": "string"
          },
          "payload_sha256": {
            "type": "string",
            "pattern": "^[0-9a-f]{64}$"
          }
        }
      },
      "CheckoutEventDetail": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "id",
          "revision",
          "state",
          "allocation_snapshot_sha256",
          "payload",
          "payload_sha256",
          "allocation_snapshot"
        ],
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "revision": {
            "type": "integer",
            "minimum": 0
          },
          "state": {
            "enum": [
              "awaiting_payment_fixture",
              "pending_finality_fixture",
              "partially_paid_fixture",
              "paid_fixture",
              "overpaid_fixture",
              "expired_fixture",
              "late_payment_fixture",
              "wrong_asset_fixture",
              "review_fixture"
            ]
          },
          "allocation_snapshot_sha256": {
            "type": "string",
            "pattern": "^[0-9a-f]{64}$"
          },
          "payload": {
            "type": "string"
          },
          "payload_sha256": {
            "type": "string",
            "pattern": "^[0-9a-f]{64}$"
          },
          "allocation_snapshot": {
            "type": "string",
            "description": "Exact immutable complete allocation snapshot JSON. Its SHA-256 is bound into the signed webhook body."
          }
        }
      },
      "CheckoutFixturePayload": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "id",
          "organization_id",
          "environment",
          "type",
          "created_at",
          "source_mode",
          "financial_credit_created",
          "chain_signature_verified",
          "data"
        ],
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "organization_id": {
            "type": "string",
            "format": "uuid"
          },
          "environment": {
            "enum": [
              "local",
              "sandbox"
            ]
          },
          "type": {
            "const": "checkout.updated_fixture"
          },
          "created_at": {
            "type": "integer",
            "minimum": 0
          },
          "source_mode": {
            "const": "rpc_shaped_fixture"
          },
          "financial_credit_created": {
            "const": false
          },
          "chain_signature_verified": {
            "const": false
          },
          "data": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "order_id",
              "merchant_reference",
              "collection_id",
              "network_id",
              "asset_id",
              "asset_version",
              "amount_raw",
              "revision",
              "summary",
              "allocation_snapshot_sha256",
              "allocation_count",
              "receiving_address",
              "merchant_invoice_settled"
            ],
            "properties": {
              "order_id": {
                "type": "string",
                "format": "uuid"
              },
              "merchant_reference": {
                "type": "string"
              },
              "collection_id": {
                "type": "string",
                "format": "uuid"
              },
              "network_id": {
                "enum": [
                  "solana-mainnet",
                  "base-mainnet"
                ]
              },
              "asset_id": {
                "enum": [
                  "USDC_SOL",
                  "USDT_SOL",
                  "USDC_BASE"
                ]
              },
              "asset_version": {
                "type": "string"
              },
              "amount_raw": {
                "type": "string",
                "pattern": "^[1-9][0-9]*$"
              },
              "revision": {
                "type": "integer",
                "minimum": 0
              },
              "summary": {
                "$ref": "#/components/schemas/CheckoutSummary"
              },
              "allocation_snapshot_sha256": {
                "type": "string",
                "pattern": "^[0-9a-f]{64}$"
              },
              "allocation_count": {
                "type": "integer",
                "minimum": 0,
                "maximum": 1000
              },
              "receiving_address": {
                "type": "null"
              },
              "merchant_invoice_settled": {
                "const": false
              }
            }
          }
        }
      },
      "PayoutInput": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "wallet_id": {
            "type": "string",
            "format": "uuid"
          },
          "merchant_reference": {
            "type": "string",
            "pattern": "^[A-Za-z0-9_-]{2,80}$"
          },
          "asset_id": {
            "enum": [
              "USDC_SOL",
              "USDT_SOL",
              "USDC_BASE"
            ]
          },
          "asset_version": {
            "type": "string"
          },
          "recipient_reference": {
            "type": "string",
            "pattern": "^fixture_wallet_[A-Za-z0-9_]{1,40}$"
          },
          "amount_raw": {
            "type": "string",
            "pattern": "^[1-9][0-9]*$",
            "maxLength": 78
          },
          "max_fee_raw": {
            "type": "string",
            "pattern": "^(0|[1-9][0-9]*)$",
            "maxLength": 78
          },
          "scenario": {
            "enum": [
              "success",
              "commit_then_timeout",
              "unavailable_before_submit",
              "failed",
              "pending",
              "reorg",
              "crash_after_dispatch"
            ]
          }
        },
        "required": [
          "wallet_id",
          "merchant_reference",
          "asset_id",
          "asset_version",
          "recipient_reference",
          "amount_raw",
          "max_fee_raw",
          "scenario"
        ]
      },
      "PayoutApproveInput": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "expected_revision": {
            "type": "integer",
            "minimum": 0
          },
          "ttl_seconds": {
            "type": "integer",
            "minimum": 1,
            "maximum": 300
          }
        },
        "required": [
          "expected_revision",
          "ttl_seconds"
        ]
      },
      "PayoutControlInput": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "expected_revision": {
            "type": "integer",
            "minimum": 1
          },
          "paused": {
            "type": "boolean"
          }
        },
        "required": [
          "expected_revision",
          "paused"
        ]
      },
      "PayoutControl": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "revision": {
            "type": "integer",
            "minimum": 1
          },
          "paused": {
            "type": "boolean"
          },
          "fixture_only": {
            "const": true
          },
          "live_payouts_enabled": {
            "const": false
          }
        },
        "required": [
          "revision",
          "paused",
          "fixture_only",
          "live_payouts_enabled"
        ]
      },
      "PayoutTemplate": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "protocol": {
            "const": "azums-payout-fixture-v1"
          },
          "environment": {
            "enum": [
              "local",
              "sandbox"
            ]
          },
          "organization_id": {
            "type": "string",
            "format": "uuid"
          },
          "payout_id": {
            "type": "string",
            "format": "uuid"
          },
          "wallet_id": {
            "type": "string",
            "format": "uuid"
          },
          "source_reference": {
            "type": "string",
            "pattern": "^fixture_provisioned_[0-9a-f]{32}$"
          },
          "binding_id": {
            "type": "string",
            "format": "uuid"
          },
          "binding_revision": {
            "type": "integer",
            "minimum": 1
          },
          "control_revision": {
            "type": "integer",
            "minimum": 1
          },
          "customer_public_key": {
            "type": "string",
            "pattern": "^[0-9a-f]{64}$"
          },
          "network_id": {
            "enum": [
              "solana-mainnet",
              "base-mainnet"
            ]
          },
          "asset_id": {
            "enum": [
              "USDC_SOL",
              "USDT_SOL",
              "USDC_BASE"
            ]
          },
          "asset_version": {
            "type": "string"
          },
          "token_identifier": {
            "type": "string"
          },
          "recipient_reference": {
            "type": "string",
            "pattern": "^fixture_wallet_[A-Za-z0-9_]{1,40}$"
          },
          "amount_raw": {
            "type": "string",
            "pattern": "^[1-9][0-9]*$",
            "maxLength": 78
          },
          "fee_unit": {
            "enum": [
              "lamports",
              "wei"
            ]
          },
          "estimated_fee_raw": {
            "type": "string",
            "pattern": "^[1-9][0-9]*$",
            "maxLength": 78
          },
          "max_fee_raw": {
            "type": "string",
            "pattern": "^[1-9][0-9]*$",
            "maxLength": 78
          },
          "sequence": {
            "type": "integer",
            "minimum": 0
          },
          "fixture_blockhash": {
            "anyOf": [
              {
                "type": "string",
                "pattern": "^[0-9a-f]{64}$"
              },
              {
                "type": "null"
              }
            ]
          },
          "expires_at": {
            "type": "integer",
            "minimum": 0
          },
          "scenario": {
            "enum": [
              "success",
              "commit_then_timeout",
              "unavailable_before_submit",
              "failed",
              "pending",
              "reorg",
              "crash_after_dispatch"
            ]
          },
          "financial_authorization": {
            "$ref": "#/components/schemas/FinancialGrant"
          },
          "sponsorship": {
            "$ref": "#/components/schemas/SponsorGrant"
          },
          "base_sponsorship": {
            "$ref": "#/components/schemas/BaseSponsorGrant"
          },
          "crosschain_authorization": {
            "$ref": "#/components/schemas/CctpBurnBinding"
          }
        },
        "required": [
          "protocol",
          "environment",
          "organization_id",
          "payout_id",
          "wallet_id",
          "source_reference",
          "binding_id",
          "binding_revision",
          "control_revision",
          "customer_public_key",
          "network_id",
          "asset_id",
          "asset_version",
          "token_identifier",
          "recipient_reference",
          "amount_raw",
          "fee_unit",
          "estimated_fee_raw",
          "max_fee_raw",
          "sequence",
          "fixture_blockhash",
          "expires_at",
          "scenario"
        ],
        "not": {
          "anyOf": [
            {
              "required": [
                "sponsorship",
                "base_sponsorship"
              ]
            },
            {
              "required": [
                "crosschain_authorization",
                "sponsorship"
              ]
            },
            {
              "required": [
                "crosschain_authorization",
                "base_sponsorship"
              ]
            }
          ]
        },
        "allOf": [
          {
            "if": {
              "required": [
                "crosschain_authorization"
              ]
            },
            "then": {
              "required": [
                "financial_authorization"
              ]
            }
          }
        ]
      },
      "PayoutCustomerProof": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "template": {
            "$ref": "#/components/schemas/PayoutTemplate"
          },
          "customer_signature": {
            "type": "string",
            "pattern": "^[0-9a-f]{128}$"
          }
        },
        "required": [
          "template",
          "customer_signature"
        ]
      },
      "SignedPayout": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "proof": {
            "$ref": "#/components/schemas/PayoutCustomerProof"
          },
          "provider_signature": {
            "type": "string",
            "pattern": "^[0-9a-f]{128}$"
          },
          "fee_signature": {
            "$ref": "#/components/schemas/SponsorFeeSignature"
          }
        },
        "required": [
          "proof",
          "provider_signature"
        ]
      },
      "PayoutNetworkEvidence": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "environment": {
            "enum": [
              "local",
              "sandbox"
            ]
          },
          "template": {
            "$ref": "#/components/schemas/PayoutTemplate"
          },
          "signed_sha256": {
            "type": "string",
            "pattern": "^[0-9a-f]{64}$"
          },
          "fixture_tx_id": {
            "type": "string",
            "pattern": "^fixture_payout_[0-9a-f]{64}$"
          },
          "state": {
            "enum": [
              "submitted_fixture",
              "chain_confirmed_fixture",
              "chain_finalized_fixture",
              "failed_confirmed_fixture",
              "orphaned_fixture"
            ]
          },
          "fee_raw": {
            "type": "string",
            "pattern": "^[1-9][0-9]*$",
            "maxLength": 78
          },
          "actual_payout_verified": {
            "const": false
          },
          "native_transaction_signed": {
            "const": false
          },
          "model": {
            "const": "elapsed_development_clock_not_chain_finality"
          }
        },
        "required": [
          "environment",
          "template",
          "signed_sha256",
          "fixture_tx_id",
          "state",
          "fee_raw",
          "actual_payout_verified",
          "native_transaction_signed",
          "model"
        ]
      },
      "Payout": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "organization_id": {
            "type": "string",
            "format": "uuid"
          },
          "wallet_id": {
            "type": "string",
            "format": "uuid"
          },
          "merchant_reference": {
            "type": "string"
          },
          "network_id": {
            "enum": [
              "solana-mainnet",
              "base-mainnet"
            ]
          },
          "asset_id": {
            "enum": [
              "USDC_SOL",
              "USDT_SOL",
              "USDC_BASE"
            ]
          },
          "asset_version": {
            "type": "string"
          },
          "token_identifier": {
            "type": "string"
          },
          "symbol": {
            "type": "string"
          },
          "amount_raw": {
            "type": "string",
            "pattern": "^[1-9][0-9]*$",
            "maxLength": 78
          },
          "amount_decimal": {
            "type": "string"
          },
          "recipient_reference": {
            "type": "string",
            "pattern": "^fixture_wallet_[A-Za-z0-9_]{1,40}$"
          },
          "max_fee_raw": {
            "type": "string",
            "pattern": "^(0|[1-9][0-9]*)$",
            "maxLength": 78
          },
          "state": {
            "enum": [
              "received_fixture",
              "fee_required_fixture",
              "awaiting_customer_approval",
              "queued_fixture",
              "dispatching_fixture",
              "submitted_fixture",
              "chain_confirmed_fixture",
              "chain_finalized_fixture",
              "unknown_outcome",
              "expired_fixture",
              "failed_confirmed_fixture",
              "action_required_fixture"
            ]
          },
          "revision": {
            "type": "integer",
            "minimum": 0
          },
          "result_code": {
            "type": "string"
          },
          "reservation_held": {
            "type": "boolean"
          },
          "dispatch_attempts": {
            "type": "integer",
            "minimum": 0,
            "maximum": 1
          },
          "template": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/PayoutTemplate"
              },
              {
                "type": "null"
              }
            ]
          },
          "signed_envelope": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/SignedPayout"
              },
              {
                "type": "null"
              }
            ]
          },
          "signed_sha256": {
            "anyOf": [
              {
                "type": "string",
                "pattern": "^[0-9a-f]{64}$"
              },
              {
                "type": "null"
              }
            ]
          },
          "fixture_tx_id": {
            "anyOf": [
              {
                "type": "string",
                "pattern": "^fixture_payout_[0-9a-f]{64}$"
              },
              {
                "type": "null"
              }
            ]
          },
          "evidence": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/PayoutNetworkEvidence"
              },
              {
                "type": "null"
              }
            ]
          },
          "fixture_only": {
            "const": true
          },
          "native_transaction_signed": {
            "const": false
          },
          "actual_payout_verified": {
            "const": false
          },
          "financial_credit_created": {
            "const": false
          },
          "merchant_invoice_settled": {
            "const": false
          },
          "production_enabled": {
            "const": false
          },
          "created_by": {
            "type": "string",
            "format": "uuid"
          },
          "approved_by": {
            "anyOf": [
              {
                "type": "string",
                "format": "uuid"
              },
              {
                "type": "null"
              }
            ]
          },
          "actor_key_id": {
            "anyOf": [
              {
                "type": "string",
                "format": "uuid"
              },
              {
                "type": "null"
              }
            ]
          },
          "binding_id": {
            "type": "string",
            "format": "uuid"
          },
          "request_id": {
            "type": "string",
            "format": "uuid"
          },
          "binding_revision": {
            "type": "integer",
            "minimum": 1
          },
          "control_revision": {
            "anyOf": [
              {
                "type": "integer",
                "minimum": 1
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "id",
          "organization_id",
          "wallet_id",
          "merchant_reference",
          "network_id",
          "asset_id",
          "asset_version",
          "token_identifier",
          "symbol",
          "amount_raw",
          "amount_decimal",
          "recipient_reference",
          "max_fee_raw",
          "state",
          "revision",
          "result_code",
          "reservation_held",
          "dispatch_attempts",
          "template",
          "signed_envelope",
          "signed_sha256",
          "fixture_tx_id",
          "evidence",
          "fixture_only",
          "native_transaction_signed",
          "actual_payout_verified",
          "financial_credit_created",
          "merchant_invoice_settled",
          "production_enabled",
          "created_by",
          "approved_by",
          "actor_key_id",
          "binding_id",
          "request_id",
          "binding_revision",
          "control_revision"
        ]
      },
      "PayoutEvent": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "revision": {
            "type": "integer",
            "minimum": 0
          },
          "state": {
            "enum": [
              "received_fixture",
              "fee_required_fixture",
              "awaiting_customer_approval",
              "queued_fixture",
              "dispatching_fixture",
              "submitted_fixture",
              "chain_confirmed_fixture",
              "chain_finalized_fixture",
              "unknown_outcome",
              "expired_fixture",
              "failed_confirmed_fixture",
              "action_required_fixture"
            ]
          },
          "payload": {
            "type": "string"
          },
          "payload_sha256": {
            "type": "string",
            "pattern": "^[0-9a-f]{64}$"
          }
        },
        "required": [
          "id",
          "revision",
          "state",
          "payload",
          "payload_sha256"
        ]
      },
      "PayoutCapabilities": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "mode": {
            "const": "fixture_only"
          },
          "assets": {
            "const": [
              "USDC_SOL",
              "USDT_SOL",
              "USDC_BASE"
            ]
          },
          "transaction_encoding": {
            "const": "azums-payout-fixture-v1"
          },
          "external_customer_protocol_approval_required": {
            "const": true
          },
          "live_signing": {
            "const": false
          },
          "live_broadcast": {
            "const": false
          },
          "actual_payouts_verified": {
            "const": 0
          },
          "risk_cleared": {
            "const": false
          },
          "financial_policy_certified": {
            "const": false
          },
          "gas_sponsorship": {
            "const": false
          },
          "recovery": {
            "type": "string"
          },
          "request_id": {
            "type": "string",
            "format": "uuid"
          }
        },
        "required": [
          "mode",
          "assets",
          "transaction_encoding",
          "external_customer_protocol_approval_required",
          "live_signing",
          "live_broadcast",
          "actual_payouts_verified",
          "risk_cleared",
          "financial_policy_certified",
          "gas_sponsorship",
          "recovery",
          "request_id"
        ]
      },
      "PayoutResult": {
        "allOf": [
          {
            "$ref": "#/components/schemas/Envelope"
          },
          {
            "type": "object",
            "properties": {
              "payout": {
                "$ref": "#/components/schemas/Payout"
              },
              "replayed": {
                "type": "boolean"
              },
              "customer_approval_required": {
                "type": "boolean"
              }
            },
            "required": [
              "payout"
            ]
          }
        ]
      },
      "PayoutList": {
        "allOf": [
          {
            "$ref": "#/components/schemas/Envelope"
          },
          {
            "type": "object",
            "properties": {
              "payouts": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/Payout"
                }
              },
              "limit": {
                "const": 200
              }
            },
            "required": [
              "payouts",
              "limit"
            ]
          }
        ]
      },
      "PayoutEvents": {
        "allOf": [
          {
            "$ref": "#/components/schemas/Envelope"
          },
          {
            "type": "object",
            "properties": {
              "events": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/PayoutEvent"
                }
              },
              "limit": {
                "const": 200
              }
            },
            "required": [
              "events",
              "limit"
            ]
          }
        ]
      },
      "PayoutControlResult": {
        "allOf": [
          {
            "$ref": "#/components/schemas/Envelope"
          },
          {
            "type": "object",
            "properties": {
              "control": {
                "$ref": "#/components/schemas/PayoutControl"
              }
            },
            "required": [
              "control"
            ]
          }
        ]
      },
      "PayoutLookupQueued": {
        "allOf": [
          {
            "$ref": "#/components/schemas/Envelope"
          },
          {
            "type": "object",
            "properties": {
              "payout_id": {
                "type": "string",
                "format": "uuid"
              },
              "lookup_queued": {
                "const": true
              },
              "external_submit_retried": {
                "const": false
              }
            },
            "required": [
              "payout_id",
              "lookup_queued",
              "external_submit_retried"
            ]
          }
        ]
      },
      "EmptyInput": {
        "type": "object",
        "additionalProperties": false,
        "properties": {},
        "required": []
      },
      "BatchInstruction": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "wallet_id": {
            "type": "string",
            "format": "uuid"
          },
          "asset_id": {
            "type": "string",
            "pattern": "^[A-Za-z0-9_.-]{1,40}$"
          },
          "asset_version": {
            "type": "string",
            "pattern": "^[A-Za-z0-9_.-]{1,40}$"
          },
          "recipient_reference": {
            "type": "string",
            "pattern": "^fixture_wallet_[A-Za-z0-9_]{1,40}$"
          },
          "amount_raw": {
            "type": "string",
            "pattern": "^[0-9]{1,90}$"
          },
          "max_fee_raw": {
            "type": "string",
            "pattern": "^[0-9]{1,30}$"
          },
          "scenario": {
            "enum": [
              "success",
              "commit_then_timeout",
              "unavailable_before_submit",
              "failed",
              "pending",
              "reorg",
              "crash_after_dispatch"
            ]
          },
          "item_reference": {
            "type": "string",
            "pattern": "^[A-Za-z0-9_-]{2,40}$"
          }
        },
        "required": [
          "wallet_id",
          "asset_id",
          "asset_version",
          "recipient_reference",
          "amount_raw",
          "max_fee_raw",
          "scenario",
          "item_reference"
        ]
      },
      "BatchInput": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "merchant_reference": {
            "type": "string",
            "pattern": "^[A-Za-z0-9_-]{2,80}$"
          },
          "items": {
            "type": "array",
            "minItems": 1,
            "maxItems": 50,
            "items": {
              "$ref": "#/components/schemas/BatchInstruction"
            }
          }
        },
        "required": [
          "merchant_reference",
          "items"
        ]
      },
      "BatchRetryInput": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "expected_revision": {
            "type": "integer",
            "minimum": 0
          }
        },
        "required": [
          "expected_revision"
        ]
      },
      "BatchCounts": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "total": {
            "type": "integer",
            "minimum": 0
          },
          "successful": {
            "type": "integer",
            "minimum": 0
          },
          "failed": {
            "type": "integer",
            "minimum": 0
          },
          "denied": {
            "type": "integer",
            "minimum": 0
          },
          "unknown": {
            "type": "integer",
            "minimum": 0
          },
          "pending": {
            "type": "integer",
            "minimum": 0
          }
        },
        "required": [
          "total",
          "successful",
          "failed",
          "denied",
          "unknown",
          "pending"
        ]
      },
      "BatchFeeGroup": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "network_id": {
            "enum": [
              "solana-mainnet",
              "base-mainnet"
            ]
          },
          "unit": {
            "enum": [
              "lamports",
              "wei"
            ]
          },
          "modeled_terminal_fee_raw": {
            "type": "string",
            "pattern": "^(0|[1-9][0-9]*)$",
            "maxLength": 90
          }
        },
        "required": [
          "network_id",
          "unit",
          "modeled_terminal_fee_raw"
        ]
      },
      "BatchPrincipalGroup": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "network_id": {
            "enum": [
              "solana-mainnet",
              "base-mainnet"
            ]
          },
          "asset_id": {
            "enum": [
              "USDC_SOL",
              "USDT_SOL",
              "USDC_BASE"
            ]
          },
          "asset_version": {
            "type": "string"
          },
          "admitted_raw": {
            "type": "string",
            "pattern": "^(0|[1-9][0-9]*)$",
            "maxLength": 90
          },
          "successful_fixture_raw": {
            "type": "string",
            "pattern": "^(0|[1-9][0-9]*)$",
            "maxLength": 90
          },
          "unknown_fixture_raw": {
            "type": "string",
            "pattern": "^(0|[1-9][0-9]*)$",
            "maxLength": 90
          }
        },
        "required": [
          "network_id",
          "asset_id",
          "asset_version",
          "admitted_raw",
          "successful_fixture_raw",
          "unknown_fixture_raw"
        ]
      },
      "BatchAccounting": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "contract_version": {
            "const": "batch-fixture-accounting-v1"
          },
          "logical_instruction_units": {
            "type": "integer",
            "minimum": 0
          },
          "submitted_logical_units": {
            "type": "integer",
            "minimum": 0
          },
          "dispatch_attempt_units": {
            "type": "integer",
            "minimum": 0
          },
          "unsettled_fee_attempts": {
            "type": "integer",
            "minimum": 0
          },
          "modeled_terminal_fees": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/BatchFeeGroup"
            }
          },
          "principal_by_asset": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/BatchPrincipalGroup"
            }
          },
          "billable_units": {
            "const": 0
          },
          "actual_network_fees_verified": {
            "const": false
          },
          "actual_principal_settled": {
            "const": false
          },
          "billing_enabled": {
            "const": false
          }
        },
        "required": [
          "contract_version",
          "logical_instruction_units",
          "submitted_logical_units",
          "dispatch_attempt_units",
          "unsettled_fee_attempts",
          "modeled_terminal_fees",
          "principal_by_asset",
          "billable_units",
          "actual_network_fees_verified",
          "actual_principal_settled",
          "billing_enabled"
        ]
      },
      "BatchSummary": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "state": {
            "enum": [
              "action_required_fixture",
              "all_successful_fixture",
              "partial_success_fixture",
              "pending_fixture",
              "all_denied_fixture",
              "failed_fixture"
            ]
          },
          "counts": {
            "$ref": "#/components/schemas/BatchCounts"
          },
          "accounting": {
            "$ref": "#/components/schemas/BatchAccounting"
          }
        },
        "required": [
          "state",
          "counts",
          "accounting"
        ]
      },
      "BatchPayoutCompact": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "state": {
            "enum": [
              "received_fixture",
              "fee_required_fixture",
              "awaiting_customer_approval",
              "queued_fixture",
              "dispatching_fixture",
              "submitted_fixture",
              "chain_confirmed_fixture",
              "chain_finalized_fixture",
              "unknown_outcome",
              "expired_fixture",
              "failed_confirmed_fixture",
              "action_required_fixture"
            ]
          },
          "revision": {
            "type": "integer",
            "minimum": 0
          },
          "asset_id": {
            "enum": [
              "USDC_SOL",
              "USDT_SOL",
              "USDC_BASE"
            ]
          },
          "asset_version": {
            "type": "string"
          },
          "network_id": {
            "enum": [
              "solana-mainnet",
              "base-mainnet"
            ]
          },
          "amount_raw": {
            "type": "string",
            "pattern": "^[1-9][0-9]*$",
            "maxLength": 78
          },
          "amount_decimal": {
            "type": "string"
          },
          "symbol": {
            "type": "string"
          },
          "dispatch_attempts": {
            "type": "integer",
            "minimum": 0,
            "maximum": 1
          },
          "reservation_held": {
            "type": "boolean"
          },
          "native_transaction_signed": {
            "const": false
          },
          "actual_payout_verified": {
            "const": false
          }
        },
        "required": [
          "id",
          "state",
          "revision",
          "asset_id",
          "asset_version",
          "network_id",
          "amount_raw",
          "amount_decimal",
          "symbol",
          "dispatch_attempts",
          "reservation_held",
          "native_transaction_signed",
          "actual_payout_verified"
        ]
      },
      "BatchAttempt": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "payout_id": {
            "type": "string",
            "format": "uuid"
          },
          "attempt_no": {
            "type": "integer",
            "minimum": 1,
            "maximum": 8
          },
          "state": {
            "enum": [
              "received_fixture",
              "fee_required_fixture",
              "awaiting_customer_approval",
              "queued_fixture",
              "dispatching_fixture",
              "submitted_fixture",
              "chain_confirmed_fixture",
              "chain_finalized_fixture",
              "unknown_outcome",
              "expired_fixture",
              "failed_confirmed_fixture",
              "action_required_fixture"
            ]
          },
          "revision": {
            "type": "integer",
            "minimum": 0
          },
          "dispatch_attempts": {
            "type": "integer",
            "minimum": 0,
            "maximum": 1
          }
        },
        "required": [
          "payout_id",
          "attempt_no",
          "state",
          "revision",
          "dispatch_attempts"
        ]
      },
      "BatchItem": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "item_reference": {
            "type": "string"
          },
          "position": {
            "type": "integer",
            "minimum": 0,
            "maximum": 49
          },
          "instruction": {
            "$ref": "#/components/schemas/BatchInstruction"
          },
          "current_payout_id": {
            "anyOf": [
              {
                "type": "string",
                "format": "uuid"
              },
              {
                "type": "null"
              }
            ]
          },
          "attempt_no": {
            "type": "integer",
            "minimum": 0,
            "maximum": 8
          },
          "admission_tries": {
            "type": "integer",
            "minimum": 0,
            "maximum": 8
          },
          "revision": {
            "type": "integer",
            "minimum": 0
          },
          "admission_code": {
            "type": "string"
          },
          "outcome": {
            "enum": [
              "successful",
              "failed",
              "denied",
              "unknown",
              "pending"
            ]
          },
          "safe_reprepare": {
            "type": "boolean"
          },
          "attempts": {
            "type": "array",
            "maxItems": 8,
            "items": {
              "$ref": "#/components/schemas/BatchAttempt"
            }
          },
          "payout": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/BatchPayoutCompact"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "id",
          "item_reference",
          "position",
          "instruction",
          "current_payout_id",
          "attempt_no",
          "admission_tries",
          "revision",
          "admission_code",
          "outcome",
          "safe_reprepare",
          "attempts",
          "payout"
        ]
      },
      "Batch": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "organization_id": {
            "type": "string",
            "format": "uuid"
          },
          "merchant_reference": {
            "type": "string"
          },
          "environment": {
            "enum": [
              "local",
              "sandbox"
            ]
          },
          "revision": {
            "type": "integer",
            "minimum": 0
          },
          "item_count": {
            "type": "integer",
            "minimum": 1,
            "maximum": 50
          },
          "summary": {
            "$ref": "#/components/schemas/BatchSummary"
          },
          "items": {
            "type": "array",
            "minItems": 1,
            "maxItems": 50,
            "items": {
              "$ref": "#/components/schemas/BatchItem"
            }
          },
          "fingerprint": {
            "type": "string",
            "pattern": "^[0-9a-f]{64}$"
          },
          "snapshot_stale": {
            "type": "boolean"
          },
          "summary_source": {
            "const": "canonical_child_payouts_and_retained_attempts"
          },
          "actual_payouts_verified": {
            "const": 0
          },
          "financial_credits": {
            "const": 0
          },
          "native_transactions_signed": {
            "const": 0
          },
          "live_broadcast": {
            "const": false
          },
          "fixture_only": {
            "const": true
          }
        },
        "required": [
          "id",
          "organization_id",
          "merchant_reference",
          "environment",
          "revision",
          "item_count",
          "summary",
          "items",
          "fingerprint",
          "snapshot_stale",
          "summary_source",
          "actual_payouts_verified",
          "financial_credits",
          "native_transactions_signed",
          "live_broadcast",
          "fixture_only"
        ]
      },
      "BatchListEntry": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "organization_id": {
            "type": "string",
            "format": "uuid"
          },
          "merchant_reference": {
            "type": "string"
          },
          "environment": {
            "enum": [
              "local",
              "sandbox"
            ]
          },
          "revision": {
            "type": "integer",
            "minimum": 0
          },
          "item_count": {
            "type": "integer",
            "minimum": 1,
            "maximum": 50
          },
          "summary": {
            "$ref": "#/components/schemas/BatchSummary"
          },
          "fingerprint": {
            "type": "string",
            "pattern": "^[0-9a-f]{64}$"
          },
          "snapshot_stale": {
            "type": "boolean"
          },
          "summary_source": {
            "const": "canonical_child_payouts_and_retained_attempts"
          },
          "actual_payouts_verified": {
            "const": 0
          },
          "financial_credits": {
            "const": 0
          },
          "native_transactions_signed": {
            "const": 0
          },
          "live_broadcast": {
            "const": false
          },
          "fixture_only": {
            "const": true
          }
        },
        "required": [
          "id",
          "organization_id",
          "merchant_reference",
          "environment",
          "revision",
          "item_count",
          "summary",
          "fingerprint",
          "snapshot_stale",
          "summary_source",
          "actual_payouts_verified",
          "financial_credits",
          "native_transactions_signed",
          "live_broadcast",
          "fixture_only"
        ]
      },
      "BatchEvent": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "revision": {
            "type": "integer",
            "minimum": 0
          },
          "snapshot": {
            "type": "string"
          },
          "snapshot_sha256": {
            "type": "string",
            "pattern": "^[0-9a-f]{64}$"
          }
        },
        "required": [
          "id",
          "revision",
          "snapshot",
          "snapshot_sha256"
        ]
      },
      "BatchRetryItem": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "item_id": {
            "type": "string",
            "format": "uuid"
          },
          "disposition": {
            "enum": [
              "original_authority_denied",
              "retry_limit_reached",
              "successful_not_resubmitted",
              "retained_outcome_not_replaced",
              "admitted",
              "reprepared_unsigned_expiry",
              "admission_denied"
            ]
          },
          "payout_id": {
            "anyOf": [
              {
                "type": "string",
                "format": "uuid"
              },
              {
                "type": "null"
              }
            ]
          },
          "prior_payout_id": {
            "anyOf": [
              {
                "type": "string",
                "format": "uuid"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "item_id",
          "disposition",
          "payout_id"
        ]
      },
      "BatchRetryReceipt": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "batch_id": {
            "type": "string",
            "format": "uuid"
          },
          "items": {
            "type": "array",
            "maxItems": 50,
            "items": {
              "$ref": "#/components/schemas/BatchRetryItem"
            }
          },
          "additional_billable_units": {
            "const": 0
          },
          "combined_transaction": {
            "const": false
          }
        },
        "required": [
          "id",
          "batch_id",
          "items",
          "additional_billable_units",
          "combined_transaction"
        ]
      },
      "BatchCapabilities": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "request_id": {
            "type": "string",
            "format": "uuid"
          },
          "mode": {
            "const": "fixture_only"
          },
          "maximum_items": {
            "const": 50
          },
          "maximum_admission_tries": {
            "const": 8
          },
          "assets": {
            "const": [
              "USDC_SOL",
              "USDT_SOL",
              "USDC_BASE"
            ]
          },
          "accounting_contract": {
            "const": "batch-fixture-accounting-v1"
          },
          "approval": {
            "type": "string"
          },
          "retry": {
            "type": "string"
          },
          "combined_transaction": {
            "const": false
          },
          "billable_units": {
            "const": 0
          },
          "actual_payouts_verified": {
            "const": 0
          },
          "live_broadcast": {
            "const": false
          }
        },
        "required": [
          "request_id",
          "mode",
          "maximum_items",
          "maximum_admission_tries",
          "assets",
          "accounting_contract",
          "approval",
          "retry",
          "combined_transaction",
          "billable_units",
          "actual_payouts_verified",
          "live_broadcast"
        ]
      },
      "BatchResult": {
        "allOf": [
          {
            "$ref": "#/components/schemas/Envelope"
          },
          {
            "type": "object",
            "properties": {
              "batch": {
                "$ref": "#/components/schemas/Batch"
              },
              "replayed": {
                "type": "boolean"
              },
              "retry_receipt": {
                "$ref": "#/components/schemas/BatchRetryReceipt"
              }
            },
            "required": [
              "batch"
            ]
          }
        ]
      },
      "BatchReadResult": {
        "allOf": [
          {
            "$ref": "#/components/schemas/Envelope"
          },
          {
            "type": "object",
            "properties": {
              "batches": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/Batch"
                }
              },
              "limit": {
                "const": 50
              }
            },
            "required": [
              "batches",
              "limit"
            ]
          }
        ]
      },
      "BatchListResult": {
        "allOf": [
          {
            "$ref": "#/components/schemas/Envelope"
          },
          {
            "type": "object",
            "properties": {
              "batches": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/BatchListEntry"
                }
              },
              "limit": {
                "const": 50
              }
            },
            "required": [
              "batches",
              "limit"
            ]
          }
        ]
      },
      "BatchEventsResult": {
        "allOf": [
          {
            "$ref": "#/components/schemas/Envelope"
          },
          {
            "type": "object",
            "properties": {
              "events": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/BatchEvent"
                }
              },
              "limit": {
                "const": 100
              }
            },
            "required": [
              "events",
              "limit"
            ]
          }
        ]
      },
      "FinancialGrant": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "policy_id": {
            "type": "string",
            "format": "uuid"
          },
          "policy_revision": {
            "type": "integer",
            "minimum": 1
          },
          "policy_sha256": {
            "type": "string",
            "pattern": "^[0-9a-f]{64}$"
          },
          "control_revision": {
            "type": "integer",
            "minimum": 1
          },
          "expires_at": {
            "type": "integer",
            "minimum": 1
          }
        },
        "required": [
          "id",
          "policy_id",
          "policy_revision",
          "policy_sha256",
          "control_revision",
          "expires_at"
        ]
      },
      "FinancialPolicyInput": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "expected_revision": {
            "type": "integer",
            "minimum": 0
          },
          "asset_id": {
            "enum": [
              "USDC_SOL",
              "USDT_SOL",
              "USDC_BASE"
            ]
          },
          "asset_version": {
            "type": "string"
          },
          "recipients": {
            "type": "array",
            "minItems": 1,
            "maxItems": 20,
            "items": {
              "type": "string"
            }
          },
          "wallet_ids": {
            "type": "array",
            "minItems": 1,
            "maxItems": 50,
            "items": {
              "type": "string",
              "format": "uuid"
            }
          },
          "per_transfer_raw": {
            "type": "string",
            "pattern": "^[1-9][0-9]{0,77}$"
          },
          "daily_limit_raw": {
            "type": "string",
            "pattern": "^[1-9][0-9]{0,79}$"
          },
          "approval_roles": {
            "type": "array",
            "minItems": 1,
            "maxItems": 3,
            "items": {
              "enum": [
                "owner",
                "admin",
                "approver"
              ]
            }
          },
          "max_authorizations_per_minute": {
            "type": "integer",
            "minimum": 1,
            "maximum": 1000
          },
          "authorization_ttl_seconds": {
            "type": "integer",
            "minimum": 1,
            "maximum": 300
          },
          "valid_for_seconds": {
            "type": "integer",
            "minimum": 1,
            "maximum": 86400
          }
        },
        "required": [
          "expected_revision",
          "asset_id",
          "asset_version",
          "recipients",
          "wallet_ids",
          "per_transfer_raw",
          "daily_limit_raw",
          "approval_roles",
          "max_authorizations_per_minute",
          "authorization_ttl_seconds",
          "valid_for_seconds"
        ]
      },
      "FinancialPolicyDocument": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "policy_id": {
            "type": "string",
            "format": "uuid"
          },
          "organization_id": {
            "type": "string",
            "format": "uuid"
          },
          "environment": {
            "enum": [
              "local",
              "sandbox"
            ]
          },
          "network_id": {
            "enum": [
              "solana-mainnet",
              "base-mainnet"
            ]
          },
          "revision": {
            "type": "integer",
            "minimum": 1
          },
          "expires_at": {
            "type": "integer",
            "minimum": 1
          },
          "rules": {
            "$ref": "#/components/schemas/FinancialPolicyInput"
          }
        },
        "required": [
          "policy_id",
          "organization_id",
          "environment",
          "network_id",
          "revision",
          "expires_at",
          "rules"
        ]
      },
      "FinancialControlInput": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "expected_revision": {
            "type": "integer",
            "minimum": 0
          },
          "enabled": {
            "type": "boolean"
          },
          "halted": {
            "type": "boolean"
          }
        },
        "required": [
          "expected_revision",
          "enabled",
          "halted"
        ]
      },
      "FinancialControl": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "enabled": {
            "type": "boolean"
          },
          "halted": {
            "type": "boolean"
          },
          "revision": {
            "type": "integer",
            "minimum": 0
          },
          "mode": {
            "enum": [
              "azums_path_fixture_gated",
              "monitor_only"
            ]
          },
          "external_signer_enforcement": {
            "const": "monitor_only"
          },
          "certified_signer_routes": {
            "const": 0
          },
          "live_payments_enabled": {
            "const": false
          }
        },
        "required": [
          "enabled",
          "halted",
          "revision",
          "mode",
          "external_signer_enforcement",
          "certified_signer_routes",
          "live_payments_enabled"
        ]
      },
      "FinancialPolicy": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "organization_id": {
            "type": "string",
            "format": "uuid"
          },
          "asset_id": {
            "enum": [
              "USDC_SOL",
              "USDT_SOL",
              "USDC_BASE"
            ]
          },
          "asset_version": {
            "type": "string"
          },
          "network_id": {
            "enum": [
              "solana-mainnet",
              "base-mainnet"
            ]
          },
          "revision": {
            "type": "integer",
            "minimum": 1
          },
          "document": {
            "type": "string"
          },
          "document_sha256": {
            "type": "string",
            "pattern": "^[0-9a-f]{64}$"
          },
          "expires_at": {
            "type": "integer",
            "minimum": 1
          },
          "created_by": {
            "type": "string",
            "format": "uuid"
          },
          "created_at": {
            "type": "string"
          }
        },
        "required": [
          "id",
          "organization_id",
          "asset_id",
          "asset_version",
          "network_id",
          "revision",
          "document",
          "document_sha256",
          "expires_at",
          "created_by",
          "created_at"
        ]
      },
      "FinancialAuthorization": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "organization_id": {
            "type": "string",
            "format": "uuid"
          },
          "payout_id": {
            "type": "string",
            "format": "uuid"
          },
          "policy_id": {
            "type": "string",
            "format": "uuid"
          },
          "policy_revision": {
            "type": "integer",
            "minimum": 1
          },
          "policy_sha256": {
            "type": "string",
            "pattern": "^[0-9a-f]{64}$"
          },
          "control_revision": {
            "type": "integer",
            "minimum": 1
          },
          "asset_id": {
            "enum": [
              "USDC_SOL",
              "USDT_SOL",
              "USDC_BASE"
            ]
          },
          "asset_version": {
            "type": "string"
          },
          "network_id": {
            "enum": [
              "solana-mainnet",
              "base-mainnet"
            ]
          },
          "recipient_reference": {
            "type": "string"
          },
          "amount_raw": {
            "type": "string",
            "pattern": "^[1-9][0-9]{0,77}$"
          },
          "budget_day": {
            "type": "integer",
            "minimum": 0
          },
          "template_sha256": {
            "type": "string",
            "pattern": "^[0-9a-f]{64}$"
          },
          "expires_at": {
            "type": "integer",
            "minimum": 1
          },
          "approved_by": {
            "type": "string",
            "format": "uuid"
          },
          "approval_role": {
            "enum": [
              "owner",
              "admin",
              "approver"
            ]
          },
          "state": {
            "enum": [
              "reserved",
              "consumed",
              "spent_fixture",
              "released"
            ]
          },
          "revision": {
            "type": "integer",
            "minimum": 1
          },
          "created_at": {
            "type": "string"
          },
          "updated_at": {
            "type": "string"
          }
        },
        "required": [
          "id",
          "organization_id",
          "payout_id",
          "policy_id",
          "policy_revision",
          "policy_sha256",
          "control_revision",
          "asset_id",
          "asset_version",
          "network_id",
          "recipient_reference",
          "amount_raw",
          "budget_day",
          "template_sha256",
          "expires_at",
          "approved_by",
          "approval_role",
          "state",
          "revision",
          "created_at",
          "updated_at"
        ]
      },
      "FinancialEvent": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "organization_id": {
            "type": "string",
            "format": "uuid"
          },
          "authorization_id": {
            "type": "string",
            "format": "uuid"
          },
          "revision": {
            "type": "integer",
            "minimum": 1
          },
          "payload": {
            "type": "string"
          },
          "payload_sha256": {
            "type": "string",
            "pattern": "^[0-9a-f]{64}$"
          },
          "created_at": {
            "type": "string"
          }
        },
        "required": [
          "id",
          "organization_id",
          "authorization_id",
          "revision",
          "payload",
          "payload_sha256",
          "created_at"
        ]
      },
      "FinancialBudget": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "asset_id": {
            "enum": [
              "USDC_SOL",
              "USDT_SOL",
              "USDC_BASE"
            ]
          },
          "asset_version": {
            "type": "string"
          },
          "network_id": {
            "enum": [
              "solana-mainnet",
              "base-mainnet"
            ]
          },
          "budget_day": {
            "type": "integer",
            "minimum": 0
          },
          "held_raw": {
            "type": "string",
            "pattern": "^(0|[1-9][0-9]*)$"
          },
          "spent_fixture_raw": {
            "type": "string",
            "pattern": "^(0|[1-9][0-9]*)$"
          },
          "released_raw": {
            "type": "string",
            "pattern": "^(0|[1-9][0-9]*)$"
          },
          "issued_count": {
            "type": "integer",
            "minimum": 0
          }
        },
        "required": [
          "asset_id",
          "asset_version",
          "network_id",
          "budget_day",
          "held_raw",
          "spent_fixture_raw",
          "released_raw",
          "issued_count"
        ]
      },
      "FinancialControlResult": {
        "allOf": [
          {
            "$ref": "#/components/schemas/Envelope"
          },
          {
            "type": "object",
            "properties": {
              "control": {
                "$ref": "#/components/schemas/FinancialControl"
              }
            },
            "required": [
              "control"
            ]
          }
        ]
      },
      "FinancialPolicyResult": {
        "allOf": [
          {
            "$ref": "#/components/schemas/Envelope"
          },
          {
            "type": "object",
            "properties": {
              "policy_id": {
                "type": "string",
                "format": "uuid"
              },
              "revision": {
                "type": "integer",
                "minimum": 1
              },
              "policy_sha256": {
                "type": "string",
                "pattern": "^[0-9a-f]{64}$"
              },
              "expires_at": {
                "type": "integer",
                "minimum": 1
              }
            },
            "required": [
              "policy_id",
              "revision",
              "policy_sha256",
              "expires_at"
            ]
          }
        ]
      },
      "FinancialPoliciesResult": {
        "allOf": [
          {
            "$ref": "#/components/schemas/Envelope"
          },
          {
            "type": "object",
            "properties": {
              "policies": {
                "type": "array",
                "maxItems": 100,
                "items": {
                  "$ref": "#/components/schemas/FinancialPolicy"
                }
              },
              "current_policies": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/FinancialPolicy"
                }
              },
              "limit": {
                "const": 100
              }
            },
            "required": [
              "policies",
              "current_policies",
              "limit"
            ]
          }
        ]
      },
      "FinancialBudgetsResult": {
        "allOf": [
          {
            "$ref": "#/components/schemas/Envelope"
          },
          {
            "type": "object",
            "properties": {
              "budget_day": {
                "type": "integer",
                "minimum": 0
              },
              "budgets": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/FinancialBudget"
                }
              },
              "source": {
                "const": "canonical_authorization_reservations"
              },
              "actual_funds_reserved": {
                "const": false
              },
              "actual_principal_settled": {
                "const": false
              }
            },
            "required": [
              "budget_day",
              "budgets",
              "source",
              "actual_funds_reserved",
              "actual_principal_settled"
            ]
          }
        ]
      },
      "FinancialAuthorizationsResult": {
        "allOf": [
          {
            "$ref": "#/components/schemas/Envelope"
          },
          {
            "type": "object",
            "properties": {
              "authorizations": {
                "type": "array",
                "maxItems": 100,
                "items": {
                  "$ref": "#/components/schemas/FinancialAuthorization"
                }
              },
              "limit": {
                "const": 100
              },
              "external_signer_enforcement": {
                "const": "monitor_only"
              }
            },
            "required": [
              "authorizations",
              "limit",
              "external_signer_enforcement"
            ]
          }
        ]
      },
      "FinancialEventsResult": {
        "allOf": [
          {
            "$ref": "#/components/schemas/Envelope"
          },
          {
            "type": "object",
            "properties": {
              "events": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/FinancialEvent"
                }
              }
            },
            "required": [
              "events"
            ]
          }
        ]
      },
      "FinancialCapabilities": {
        "allOf": [
          {
            "$ref": "#/components/schemas/Envelope"
          },
          {
            "type": "object",
            "properties": {
              "mode": {
                "const": "fixture_only"
              },
              "budget_contract": {
                "const": "authorization-day-principal-v1"
              },
              "external_signer_enforcement": {
                "const": "monitor_only"
              },
              "certified_signer_routes": {
                "const": 0
              },
              "live_payments_enabled": {
                "const": false
              },
              "actual_funds_reserved": {
                "const": false
              },
              "billing_enabled": {
                "const": false
              },
              "maximum_policy_recipients": {
                "const": 20
              },
              "maximum_policy_wallets": {
                "const": 50
              }
            },
            "required": [
              "mode",
              "budget_contract",
              "external_signer_enforcement",
              "certified_signer_routes",
              "live_payments_enabled",
              "actual_funds_reserved",
              "billing_enabled",
              "maximum_policy_recipients",
              "maximum_policy_wallets"
            ]
          }
        ]
      },
      "SponsorGrant": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "policy_id": {
            "type": "string",
            "format": "uuid"
          },
          "policy_revision": {
            "type": "integer",
            "minimum": 1
          },
          "policy_sha256": {
            "type": "string",
            "pattern": "^[0-9a-f]{64}$"
          },
          "control_revision": {
            "type": "integer",
            "minimum": 1
          },
          "fee_payer_public_key": {
            "type": "string",
            "pattern": "^[0-9a-f]{64}$"
          },
          "quoted_fee_lamports": {
            "const": 5000
          },
          "fee_ceiling_lamports": {
            "type": "integer",
            "minimum": 5000,
            "maximum": 1000000
          },
          "quoted_rent_lamports": {
            "const": 0
          },
          "rent_ceiling_lamports": {
            "const": 0
          },
          "budget_day": {
            "type": "integer",
            "minimum": 0
          },
          "expires_at": {
            "type": "integer",
            "minimum": 1
          }
        },
        "required": [
          "id",
          "policy_id",
          "policy_revision",
          "policy_sha256",
          "control_revision",
          "fee_payer_public_key",
          "quoted_fee_lamports",
          "fee_ceiling_lamports",
          "quoted_rent_lamports",
          "rent_ceiling_lamports",
          "budget_day",
          "expires_at"
        ]
      },
      "SponsorFeeSignature": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "public_key": {
            "type": "string",
            "pattern": "^[0-9a-f]{64}$"
          },
          "signature": {
            "type": "string",
            "pattern": "^[0-9a-f]{128}$"
          }
        },
        "required": [
          "public_key",
          "signature"
        ]
      },
      "SponsorPolicyInput": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "expected_revision": {
            "type": "integer",
            "minimum": 0
          },
          "assets": {
            "type": "array",
            "minItems": 1,
            "maxItems": 2,
            "items": {
              "enum": [
                "USDC_SOL",
                "USDT_SOL"
              ]
            }
          },
          "daily_fee_budget_lamports": {
            "type": "string",
            "pattern": "^(0|[1-9][0-9]{0,11}|1000000000000)$"
          },
          "modeled_balance_lamports": {
            "type": "string",
            "pattern": "^(0|[1-9][0-9]{0,11}|1000000000000)$"
          },
          "low_water_lamports": {
            "type": "string",
            "pattern": "^(0|[1-9][0-9]{0,11}|1000000000000)$"
          },
          "fee_ceiling_lamports": {
            "type": "integer",
            "minimum": 5000,
            "maximum": 1000000
          },
          "max_authorizations_per_minute": {
            "type": "integer",
            "minimum": 1,
            "maximum": 1000
          },
          "authorization_ttl_seconds": {
            "type": "integer",
            "minimum": 1,
            "maximum": 300
          },
          "valid_for_seconds": {
            "type": "integer",
            "minimum": 1,
            "maximum": 86400
          }
        },
        "required": [
          "expected_revision",
          "assets",
          "daily_fee_budget_lamports",
          "modeled_balance_lamports",
          "low_water_lamports",
          "fee_ceiling_lamports",
          "max_authorizations_per_minute",
          "authorization_ttl_seconds",
          "valid_for_seconds"
        ]
      },
      "SponsorPolicyDocument": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "organization_id": {
            "type": "string",
            "format": "uuid"
          },
          "environment": {
            "enum": [
              "local",
              "sandbox"
            ]
          },
          "network_id": {
            "const": "solana-mainnet"
          },
          "revision": {
            "type": "integer",
            "minimum": 1
          },
          "expires_at": {
            "type": "integer",
            "minimum": 1
          },
          "rules": {
            "$ref": "#/components/schemas/SponsorPolicyInput"
          },
          "modeled_allocation_only": {
            "const": true
          }
        },
        "required": [
          "id",
          "organization_id",
          "environment",
          "network_id",
          "revision",
          "expires_at",
          "rules",
          "modeled_allocation_only"
        ]
      },
      "SponsorControlInput": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "expected_revision": {
            "type": "integer",
            "minimum": 0
          },
          "halted": {
            "type": "boolean"
          }
        },
        "required": [
          "expected_revision",
          "halted"
        ]
      },
      "SponsorControl": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "halted": {
            "type": "boolean"
          },
          "revision": {
            "type": "integer",
            "minimum": 0
          },
          "fixture_only": {
            "const": true
          },
          "live_sponsorship_enabled": {
            "const": false
          }
        },
        "required": [
          "halted",
          "revision",
          "fixture_only",
          "live_sponsorship_enabled"
        ]
      },
      "SponsorCurrentPolicy": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "revision": {
            "type": "integer",
            "minimum": 1
          },
          "document": {
            "type": "string"
          },
          "document_sha256": {
            "type": "string",
            "pattern": "^[0-9a-f]{64}$"
          },
          "expires_at": {
            "type": "integer",
            "minimum": 1
          }
        },
        "required": [
          "id",
          "revision",
          "document",
          "document_sha256",
          "expires_at"
        ]
      },
      "SponsorPolicy": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "revision": {
            "type": "integer",
            "minimum": 1
          },
          "document": {
            "type": "string"
          },
          "document_sha256": {
            "type": "string",
            "pattern": "^[0-9a-f]{64}$"
          },
          "expires_at": {
            "type": "integer",
            "minimum": 1
          },
          "organization_id": {
            "type": "string",
            "format": "uuid"
          },
          "created_by": {
            "type": "string",
            "format": "uuid"
          },
          "created_at": {
            "type": "string"
          }
        },
        "required": [
          "id",
          "revision",
          "document",
          "document_sha256",
          "expires_at",
          "organization_id",
          "created_by",
          "created_at"
        ]
      },
      "SponsorRequestInput": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "payout_id": {
            "type": "string",
            "format": "uuid"
          },
          "expected_revision": {
            "type": "integer",
            "minimum": 0
          },
          "quote_scenario": {
            "enum": [
              "standard",
              "fee_spike",
              "rent_required",
              "quote_unavailable"
            ]
          }
        },
        "required": [
          "payout_id",
          "expected_revision",
          "quote_scenario"
        ]
      },
      "SponsorRequest": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "organization_id": {
            "type": "string",
            "format": "uuid"
          },
          "payout_id": {
            "type": "string",
            "format": "uuid"
          },
          "quote_scenario": {
            "enum": [
              "standard",
              "fee_spike",
              "rent_required",
              "quote_unavailable"
            ]
          },
          "created_by": {
            "type": "string",
            "format": "uuid"
          },
          "actor_key_id": {
            "anyOf": [
              {
                "type": "string",
                "format": "uuid"
              },
              {
                "type": "null"
              }
            ]
          },
          "request_id": {
            "type": "string",
            "format": "uuid"
          },
          "created_at": {
            "type": "string"
          }
        },
        "required": [
          "id",
          "organization_id",
          "payout_id",
          "quote_scenario",
          "created_by",
          "actor_key_id",
          "request_id",
          "created_at"
        ]
      },
      "SponsorReservation": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "organization_id": {
            "type": "string",
            "format": "uuid"
          },
          "payout_id": {
            "type": "string",
            "format": "uuid"
          },
          "request_id": {
            "type": "string",
            "format": "uuid"
          },
          "policy_id": {
            "type": "string",
            "format": "uuid"
          },
          "policy_revision": {
            "type": "integer",
            "minimum": 1
          },
          "policy_sha256": {
            "type": "string",
            "pattern": "^[0-9a-f]{64}$"
          },
          "control_revision": {
            "type": "integer",
            "minimum": 1
          },
          "fee_payer_public_key": {
            "type": "string",
            "pattern": "^[0-9a-f]{64}$"
          },
          "grant_payload": {
            "type": "string"
          },
          "grant_sha256": {
            "type": "string",
            "pattern": "^[0-9a-f]{64}$"
          },
          "budget_day": {
            "type": "integer",
            "minimum": 0
          },
          "expires_at": {
            "type": "integer",
            "minimum": 1
          },
          "fee_ceiling_lamports": {
            "type": "integer",
            "minimum": 5000,
            "maximum": 1000000
          },
          "rent_ceiling_lamports": {
            "const": 0
          },
          "modeled_fee_spent_lamports": {
            "enum": [
              0,
              5000
            ]
          },
          "modeled_rent_spent_lamports": {
            "const": 0
          },
          "state": {
            "enum": [
              "reserved",
              "consumed",
              "spent_fixture",
              "released"
            ]
          },
          "revision": {
            "type": "integer",
            "minimum": 1
          },
          "created_at": {
            "type": "string"
          },
          "updated_at": {
            "type": "string"
          }
        },
        "required": [
          "id",
          "organization_id",
          "payout_id",
          "request_id",
          "policy_id",
          "policy_revision",
          "policy_sha256",
          "control_revision",
          "fee_payer_public_key",
          "grant_payload",
          "grant_sha256",
          "budget_day",
          "expires_at",
          "fee_ceiling_lamports",
          "rent_ceiling_lamports",
          "modeled_fee_spent_lamports",
          "modeled_rent_spent_lamports",
          "state",
          "revision",
          "created_at",
          "updated_at"
        ]
      },
      "SponsorEvent": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "organization_id": {
            "type": "string",
            "format": "uuid"
          },
          "reservation_id": {
            "type": "string",
            "format": "uuid"
          },
          "revision": {
            "type": "integer",
            "minimum": 1
          },
          "payload": {
            "type": "string"
          },
          "payload_sha256": {
            "type": "string",
            "pattern": "^[0-9a-f]{64}$"
          },
          "created_at": {
            "type": "string"
          }
        },
        "required": [
          "id",
          "organization_id",
          "reservation_id",
          "revision",
          "payload",
          "payload_sha256",
          "created_at"
        ]
      },
      "SponsorUsage": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "budget_day": {
            "type": "integer",
            "minimum": 0
          },
          "held_lamports": {
            "type": "string",
            "pattern": "^(0|[1-9][0-9]*)$"
          },
          "modeled_fee_spent_lamports": {
            "type": "string",
            "pattern": "^(0|[1-9][0-9]*)$"
          },
          "modeled_rent_spent_lamports": {
            "const": "0"
          },
          "daily_committed_lamports": {
            "type": "string",
            "pattern": "^(0|[1-9][0-9]*)$"
          },
          "issued_today": {
            "type": "integer",
            "minimum": 0
          }
        },
        "required": [
          "budget_day",
          "held_lamports",
          "modeled_fee_spent_lamports",
          "modeled_rent_spent_lamports",
          "daily_committed_lamports",
          "issued_today"
        ]
      },
      "SponsorControlResult": {
        "allOf": [
          {
            "$ref": "#/components/schemas/Envelope"
          },
          {
            "type": "object",
            "properties": {
              "control": {
                "$ref": "#/components/schemas/SponsorControl"
              }
            },
            "required": [
              "control"
            ]
          }
        ]
      },
      "SponsorPoliciesResult": {
        "allOf": [
          {
            "$ref": "#/components/schemas/Envelope"
          },
          {
            "type": "object",
            "properties": {
              "current_policy": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/SponsorCurrentPolicy"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "policies": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/SponsorPolicy"
                }
              },
              "limit": {
                "const": 100
              }
            },
            "required": [
              "current_policy",
              "policies",
              "limit"
            ]
          }
        ]
      },
      "SponsorPolicyResult": {
        "allOf": [
          {
            "$ref": "#/components/schemas/Envelope"
          },
          {
            "type": "object",
            "properties": {
              "policy_id": {
                "type": "string",
                "format": "uuid"
              },
              "revision": {
                "type": "integer",
                "minimum": 1
              },
              "document_sha256": {
                "type": "string",
                "pattern": "^[0-9a-f]{64}$"
              },
              "expires_at": {
                "type": "integer",
                "minimum": 1
              }
            },
            "required": [
              "policy_id",
              "revision",
              "document_sha256",
              "expires_at"
            ]
          }
        ]
      },
      "SponsorRequestsResult": {
        "allOf": [
          {
            "$ref": "#/components/schemas/Envelope"
          },
          {
            "type": "object",
            "properties": {
              "requests": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/SponsorRequest"
                }
              },
              "limit": {
                "const": 100
              }
            },
            "required": [
              "requests",
              "limit"
            ]
          }
        ]
      },
      "SponsorRequestResult": {
        "allOf": [
          {
            "$ref": "#/components/schemas/Envelope"
          },
          {
            "type": "object",
            "properties": {
              "sponsor_request_id": {
                "type": "string",
                "format": "uuid"
              },
              "payout_id": {
                "type": "string",
                "format": "uuid"
              },
              "replayed": {
                "type": "boolean"
              }
            },
            "required": [
              "sponsor_request_id",
              "payout_id",
              "replayed"
            ]
          }
        ]
      },
      "SponsorReservationsResult": {
        "allOf": [
          {
            "$ref": "#/components/schemas/Envelope"
          },
          {
            "type": "object",
            "properties": {
              "reservations": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/SponsorReservation"
                }
              },
              "limit": {
                "const": 100
              }
            },
            "required": [
              "reservations",
              "limit"
            ]
          }
        ]
      },
      "SponsorEventsResult": {
        "allOf": [
          {
            "$ref": "#/components/schemas/Envelope"
          },
          {
            "type": "object",
            "properties": {
              "events": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/SponsorEvent"
                }
              }
            },
            "required": [
              "events"
            ]
          }
        ]
      },
      "SponsorUsageResult": {
        "allOf": [
          {
            "$ref": "#/components/schemas/Envelope"
          },
          {
            "type": "object",
            "properties": {
              "usage": {
                "$ref": "#/components/schemas/SponsorUsage"
              },
              "source": {
                "const": "canonical_sponsor_reservations"
              },
              "actual_sol_spend_verified": {
                "const": false
              },
              "actual_sol_balance_verified": {
                "const": false
              },
              "actual_rent_verified": {
                "const": false
              },
              "customer_principal_charged": {
                "const": false
              },
              "billing_enabled": {
                "const": false
              }
            },
            "required": [
              "usage",
              "source",
              "actual_sol_spend_verified",
              "actual_sol_balance_verified",
              "actual_rent_verified",
              "customer_principal_charged",
              "billing_enabled"
            ]
          }
        ]
      },
      "SponsorCapabilities": {
        "allOf": [
          {
            "$ref": "#/components/schemas/Envelope"
          },
          {
            "type": "object",
            "properties": {
              "mode": {
                "const": "fixture_only"
              },
              "assets": {
                "const": [
                  "USDC_SOL",
                  "USDT_SOL"
                ]
              },
              "network_id": {
                "const": "solana-mainnet"
              },
              "fee_payer_public_key": {
                "type": "string",
                "pattern": "^[0-9a-f]{64}$"
              },
              "customer_token_signature_required": {
                "const": true
              },
              "separate_company_fee_signature_required": {
                "const": true
              },
              "actual_sol_spend_verified": {
                "const": false
              },
              "actual_sol_balance_verified": {
                "const": false
              },
              "native_transaction_signed": {
                "const": false
              },
              "token_account_creation": {
                "const": false
              },
              "rent_quote_verified": {
                "const": false
              },
              "base_sponsorship": {
                "const": false
              },
              "billing_enabled": {
                "const": false
              }
            },
            "required": [
              "mode",
              "assets",
              "network_id",
              "fee_payer_public_key",
              "customer_token_signature_required",
              "separate_company_fee_signature_required",
              "actual_sol_spend_verified",
              "actual_sol_balance_verified",
              "native_transaction_signed",
              "token_account_creation",
              "rent_quote_verified",
              "base_sponsorship",
              "billing_enabled"
            ]
          }
        ]
      },
      "BaseSponsorGrant": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "policy_id": {
            "type": "string",
            "format": "uuid"
          },
          "policy_revision": {
            "type": "integer",
            "minimum": 1
          },
          "policy_sha256": {
            "type": "string",
            "pattern": "^[0-9a-f]{64}$"
          },
          "control_revision": {
            "type": "integer",
            "minimum": 1
          },
          "fee_payer_public_key": {
            "type": "string",
            "pattern": "^[0-9a-f]{64}$"
          },
          "account_id": {
            "type": "string",
            "format": "uuid"
          },
          "account_revision": {
            "type": "integer",
            "minimum": 1
          },
          "account_sha256": {
            "type": "string",
            "pattern": "^[0-9a-f]{64}$"
          },
          "account_model": {
            "const": "fixture_erc4337_v0_7_transfer_only"
          },
          "entry_point_reference": {
            "const": "fixture_entrypoint_v0_7"
          },
          "paymaster_reference": {
            "const": "fixture_base_verifying_paymaster"
          },
          "call_selector": {
            "const": "a9059cbb"
          },
          "call_value_wei": {
            "const": "0"
          },
          "modeled_gas_units": {
            "const": 210000
          },
          "max_fee_per_gas_wei": {
            "const": "200000000"
          },
          "quoted_fee_wei": {
            "const": "42000000000000"
          },
          "fee_ceiling_wei": {
            "type": "string",
            "pattern": "^(4[2-9][0-9]{12}|[5-9][0-9]{13}|[1-9][0-9]{14,17}|1000000000000000000)$",
            "description": "Canonical wei string; application requires at least 42000000000000 and at most 1000000000000000000, and checks the gas product and payout cap.",
            "x-azums-minimum": "42000000000000",
            "x-azums-maximum": "1000000000000000000"
          },
          "operation_sha256": {
            "type": "string",
            "pattern": "^[0-9a-f]{64}$"
          },
          "budget_day": {
            "type": "integer",
            "minimum": 0
          },
          "expires_at": {
            "type": "integer",
            "minimum": 1
          }
        },
        "required": [
          "id",
          "policy_id",
          "policy_revision",
          "policy_sha256",
          "control_revision",
          "fee_payer_public_key",
          "account_id",
          "account_revision",
          "account_sha256",
          "account_model",
          "entry_point_reference",
          "paymaster_reference",
          "call_selector",
          "call_value_wei",
          "modeled_gas_units",
          "max_fee_per_gas_wei",
          "quoted_fee_wei",
          "fee_ceiling_wei",
          "operation_sha256",
          "budget_day",
          "expires_at"
        ]
      },
      "BaseSponsorFeeSignature": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "public_key": {
            "type": "string",
            "pattern": "^[0-9a-f]{64}$"
          },
          "signature": {
            "type": "string",
            "pattern": "^[0-9a-f]{128}$"
          }
        },
        "required": [
          "public_key",
          "signature"
        ]
      },
      "BaseSponsorPolicyInput": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "expected_revision": {
            "type": "integer",
            "minimum": 0
          },
          "assets": {
            "const": [
              "USDC_BASE"
            ]
          },
          "daily_fee_budget_wei": {
            "type": "string",
            "pattern": "^(0|[1-9][0-9]{0,29}|1000000000000000000000000000000)$"
          },
          "modeled_balance_wei": {
            "type": "string",
            "pattern": "^(0|[1-9][0-9]{0,29}|1000000000000000000000000000000)$"
          },
          "low_water_wei": {
            "type": "string",
            "pattern": "^(0|[1-9][0-9]{0,29}|1000000000000000000000000000000)$"
          },
          "fee_ceiling_wei": {
            "type": "string",
            "pattern": "^(4[2-9][0-9]{12}|[5-9][0-9]{13}|[1-9][0-9]{14,17}|1000000000000000000)$",
            "description": "Canonical wei string; application requires at least 42000000000000 and at most 1000000000000000000, and checks the gas product and payout cap.",
            "x-azums-minimum": "42000000000000",
            "x-azums-maximum": "1000000000000000000"
          },
          "max_authorizations_per_minute": {
            "type": "integer",
            "minimum": 1,
            "maximum": 1000
          },
          "authorization_ttl_seconds": {
            "type": "integer",
            "minimum": 1,
            "maximum": 300
          },
          "valid_for_seconds": {
            "type": "integer",
            "minimum": 1,
            "maximum": 86400
          },
          "accounts": {
            "type": "array",
            "minItems": 1,
            "maxItems": 200,
            "items": {
              "type": "string",
              "format": "uuid"
            }
          },
          "max_gas_units": {
            "type": "integer",
            "minimum": 210000,
            "maximum": 1000000
          },
          "max_fee_per_gas_wei": {
            "type": "string",
            "pattern": "^([2-9][0-9]{8}|[1-9][0-9]{9,11}|1000000000000)$",
            "description": "Canonical wei per modeled gas unit; application minimum 200000000, maximum 1000000000000 and gas product must fit the operation ceiling."
          }
        },
        "required": [
          "expected_revision",
          "assets",
          "daily_fee_budget_wei",
          "modeled_balance_wei",
          "low_water_wei",
          "fee_ceiling_wei",
          "max_authorizations_per_minute",
          "authorization_ttl_seconds",
          "valid_for_seconds",
          "accounts",
          "max_gas_units",
          "max_fee_per_gas_wei"
        ]
      },
      "BaseSponsorPolicyDocument": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "organization_id": {
            "type": "string",
            "format": "uuid"
          },
          "environment": {
            "enum": [
              "local",
              "sandbox"
            ]
          },
          "network_id": {
            "const": "base-mainnet"
          },
          "revision": {
            "type": "integer",
            "minimum": 1
          },
          "expires_at": {
            "type": "integer",
            "minimum": 1
          },
          "rules": {
            "$ref": "#/components/schemas/BaseSponsorPolicyInput"
          },
          "modeled_allocation_only": {
            "const": true
          }
        },
        "required": [
          "id",
          "organization_id",
          "environment",
          "network_id",
          "revision",
          "expires_at",
          "rules",
          "modeled_allocation_only"
        ]
      },
      "BaseSponsorControlInput": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "expected_revision": {
            "type": "integer",
            "minimum": 0
          },
          "halted": {
            "type": "boolean"
          }
        },
        "required": [
          "expected_revision",
          "halted"
        ]
      },
      "BaseSponsorControl": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "halted": {
            "type": "boolean"
          },
          "revision": {
            "type": "integer",
            "minimum": 0
          },
          "fixture_only": {
            "const": true
          },
          "live_sponsorship_enabled": {
            "const": false
          }
        },
        "required": [
          "halted",
          "revision",
          "fixture_only",
          "live_sponsorship_enabled"
        ]
      },
      "BaseSponsorCurrentPolicy": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "revision": {
            "type": "integer",
            "minimum": 1
          },
          "document": {
            "type": "string"
          },
          "document_sha256": {
            "type": "string",
            "pattern": "^[0-9a-f]{64}$"
          },
          "expires_at": {
            "type": "integer",
            "minimum": 1
          }
        },
        "required": [
          "id",
          "revision",
          "document",
          "document_sha256",
          "expires_at"
        ]
      },
      "BaseSponsorPolicy": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "revision": {
            "type": "integer",
            "minimum": 1
          },
          "document": {
            "type": "string"
          },
          "document_sha256": {
            "type": "string",
            "pattern": "^[0-9a-f]{64}$"
          },
          "expires_at": {
            "type": "integer",
            "minimum": 1
          },
          "organization_id": {
            "type": "string",
            "format": "uuid"
          },
          "created_by": {
            "type": "string",
            "format": "uuid"
          },
          "created_at": {
            "type": "string"
          }
        },
        "required": [
          "id",
          "revision",
          "document",
          "document_sha256",
          "expires_at",
          "organization_id",
          "created_by",
          "created_at"
        ]
      },
      "BaseSponsorRequestInput": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "payout_id": {
            "type": "string",
            "format": "uuid"
          },
          "expected_revision": {
            "type": "integer",
            "minimum": 0
          },
          "quote_scenario": {
            "enum": [
              "standard",
              "fee_spike",
              "paymaster_rejected",
              "validation_reentry",
              "unsupported_call",
              "quote_unavailable"
            ]
          },
          "account_route": {
            "enum": [
              "smart_account",
              "eoa",
              "relay"
            ]
          }
        },
        "required": [
          "payout_id",
          "expected_revision",
          "quote_scenario",
          "account_route"
        ]
      },
      "BaseSponsorRequest": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "organization_id": {
            "type": "string",
            "format": "uuid"
          },
          "payout_id": {
            "type": "string",
            "format": "uuid"
          },
          "quote_scenario": {
            "enum": [
              "standard",
              "fee_spike",
              "paymaster_rejected",
              "validation_reentry",
              "unsupported_call",
              "quote_unavailable"
            ]
          },
          "created_by": {
            "type": "string",
            "format": "uuid"
          },
          "actor_key_id": {
            "anyOf": [
              {
                "type": "string",
                "format": "uuid"
              },
              {
                "type": "null"
              }
            ]
          },
          "request_id": {
            "type": "string",
            "format": "uuid"
          },
          "created_at": {
            "type": "string"
          }
        },
        "required": [
          "id",
          "organization_id",
          "payout_id",
          "quote_scenario",
          "created_by",
          "actor_key_id",
          "request_id",
          "created_at"
        ]
      },
      "BaseSponsorReservation": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "organization_id": {
            "type": "string",
            "format": "uuid"
          },
          "payout_id": {
            "type": "string",
            "format": "uuid"
          },
          "request_id": {
            "type": "string",
            "format": "uuid"
          },
          "policy_id": {
            "type": "string",
            "format": "uuid"
          },
          "policy_revision": {
            "type": "integer",
            "minimum": 1
          },
          "policy_sha256": {
            "type": "string",
            "pattern": "^[0-9a-f]{64}$"
          },
          "control_revision": {
            "type": "integer",
            "minimum": 1
          },
          "fee_payer_public_key": {
            "type": "string",
            "pattern": "^[0-9a-f]{64}$"
          },
          "grant_payload": {
            "type": "string"
          },
          "grant_sha256": {
            "type": "string",
            "pattern": "^[0-9a-f]{64}$"
          },
          "budget_day": {
            "type": "integer",
            "minimum": 0
          },
          "expires_at": {
            "type": "integer",
            "minimum": 1
          },
          "fee_ceiling_wei": {
            "type": "string",
            "pattern": "^(4[2-9][0-9]{12}|[5-9][0-9]{13}|[1-9][0-9]{14,17}|1000000000000000000)$",
            "description": "Canonical wei string; application requires at least 42000000000000 and at most 1000000000000000000, and checks the gas product and payout cap.",
            "x-azums-minimum": "42000000000000",
            "x-azums-maximum": "1000000000000000000"
          },
          "modeled_fee_spent_wei": {
            "enum": [
              "0",
              "42000000000000"
            ]
          },
          "state": {
            "enum": [
              "reserved",
              "consumed",
              "spent_fixture",
              "released"
            ]
          },
          "revision": {
            "type": "integer",
            "minimum": 1
          },
          "created_at": {
            "type": "string"
          },
          "updated_at": {
            "type": "string"
          },
          "account_id": {
            "type": "string",
            "format": "uuid"
          },
          "account_revision": {
            "type": "integer",
            "minimum": 1
          },
          "account_sha256": {
            "type": "string",
            "pattern": "^[0-9a-f]{64}$"
          }
        },
        "required": [
          "id",
          "organization_id",
          "payout_id",
          "request_id",
          "policy_id",
          "policy_revision",
          "policy_sha256",
          "control_revision",
          "fee_payer_public_key",
          "grant_payload",
          "grant_sha256",
          "budget_day",
          "expires_at",
          "fee_ceiling_wei",
          "modeled_fee_spent_wei",
          "state",
          "revision",
          "created_at",
          "updated_at",
          "account_id",
          "account_revision",
          "account_sha256"
        ]
      },
      "BaseSponsorEvent": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "organization_id": {
            "type": "string",
            "format": "uuid"
          },
          "reservation_id": {
            "type": "string",
            "format": "uuid"
          },
          "revision": {
            "type": "integer",
            "minimum": 1
          },
          "payload": {
            "type": "string"
          },
          "payload_sha256": {
            "type": "string",
            "pattern": "^[0-9a-f]{64}$"
          },
          "created_at": {
            "type": "string"
          }
        },
        "required": [
          "id",
          "organization_id",
          "reservation_id",
          "revision",
          "payload",
          "payload_sha256",
          "created_at"
        ]
      },
      "BaseSponsorUsage": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "budget_day": {
            "type": "integer",
            "minimum": 0
          },
          "held_wei": {
            "type": "string",
            "pattern": "^(0|[1-9][0-9]*)$"
          },
          "modeled_fee_spent_wei": {
            "type": "string",
            "pattern": "^(0|[1-9][0-9]*)$"
          },
          "daily_committed_wei": {
            "type": "string",
            "pattern": "^(0|[1-9][0-9]*)$"
          },
          "issued_today": {
            "type": "integer",
            "minimum": 0
          }
        },
        "required": [
          "budget_day",
          "held_wei",
          "modeled_fee_spent_wei",
          "daily_committed_wei",
          "issued_today"
        ]
      },
      "BaseSponsorControlResult": {
        "allOf": [
          {
            "$ref": "#/components/schemas/Envelope"
          },
          {
            "type": "object",
            "properties": {
              "control": {
                "$ref": "#/components/schemas/BaseSponsorControl"
              }
            },
            "required": [
              "control"
            ]
          }
        ]
      },
      "BaseSponsorPoliciesResult": {
        "allOf": [
          {
            "$ref": "#/components/schemas/Envelope"
          },
          {
            "type": "object",
            "properties": {
              "current_policy": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/BaseSponsorCurrentPolicy"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "policies": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/BaseSponsorPolicy"
                }
              },
              "limit": {
                "const": 100
              }
            },
            "required": [
              "current_policy",
              "policies",
              "limit"
            ]
          }
        ]
      },
      "BaseSponsorPolicyResult": {
        "allOf": [
          {
            "$ref": "#/components/schemas/Envelope"
          },
          {
            "type": "object",
            "properties": {
              "policy_id": {
                "type": "string",
                "format": "uuid"
              },
              "revision": {
                "type": "integer",
                "minimum": 1
              },
              "document_sha256": {
                "type": "string",
                "pattern": "^[0-9a-f]{64}$"
              },
              "expires_at": {
                "type": "integer",
                "minimum": 1
              }
            },
            "required": [
              "policy_id",
              "revision",
              "document_sha256",
              "expires_at"
            ]
          }
        ]
      },
      "BaseSponsorRequestsResult": {
        "allOf": [
          {
            "$ref": "#/components/schemas/Envelope"
          },
          {
            "type": "object",
            "properties": {
              "requests": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/BaseSponsorRequest"
                }
              },
              "limit": {
                "const": 100
              }
            },
            "required": [
              "requests",
              "limit"
            ]
          }
        ]
      },
      "BaseSponsorRequestResult": {
        "allOf": [
          {
            "$ref": "#/components/schemas/Envelope"
          },
          {
            "type": "object",
            "properties": {
              "base_sponsor_request_id": {
                "type": "string",
                "format": "uuid"
              },
              "payout_id": {
                "type": "string",
                "format": "uuid"
              },
              "replayed": {
                "type": "boolean"
              }
            },
            "required": [
              "base_sponsor_request_id",
              "payout_id",
              "replayed"
            ]
          }
        ]
      },
      "BaseSponsorReservationsResult": {
        "allOf": [
          {
            "$ref": "#/components/schemas/Envelope"
          },
          {
            "type": "object",
            "properties": {
              "reservations": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/BaseSponsorReservation"
                }
              },
              "limit": {
                "const": 100
              }
            },
            "required": [
              "reservations",
              "limit"
            ]
          }
        ]
      },
      "BaseSponsorEventsResult": {
        "allOf": [
          {
            "$ref": "#/components/schemas/Envelope"
          },
          {
            "type": "object",
            "properties": {
              "events": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/BaseSponsorEvent"
                }
              }
            },
            "required": [
              "events"
            ]
          }
        ]
      },
      "BaseSponsorUsageResult": {
        "allOf": [
          {
            "$ref": "#/components/schemas/Envelope"
          },
          {
            "type": "object",
            "properties": {
              "usage": {
                "$ref": "#/components/schemas/BaseSponsorUsage"
              },
              "source": {
                "const": "canonical_base_sponsor_reservations"
              },
              "actual_eth_spend_verified": {
                "const": false
              },
              "actual_eth_balance_verified": {
                "const": false
              },
              "native_user_operation_encoded": {
                "const": false
              },
              "customer_principal_charged": {
                "const": false
              },
              "billing_enabled": {
                "const": false
              }
            },
            "required": [
              "usage",
              "source",
              "actual_eth_spend_verified",
              "actual_eth_balance_verified",
              "native_user_operation_encoded",
              "customer_principal_charged",
              "billing_enabled"
            ]
          }
        ]
      },
      "BaseSponsorCapabilities": {
        "allOf": [
          {
            "$ref": "#/components/schemas/Envelope"
          },
          {
            "type": "object",
            "properties": {
              "mode": {
                "const": "fixture_only"
              },
              "assets": {
                "const": [
                  "USDC_BASE"
                ]
              },
              "network_id": {
                "const": "base-mainnet"
              },
              "account_model": {
                "const": "fixture_erc4337_v0_7_transfer_only"
              },
              "entry_point_reference": {
                "const": "fixture_entrypoint_v0_7"
              },
              "paymaster_reference": {
                "const": "fixture_base_verifying_paymaster"
              },
              "fee_payer_public_key": {
                "type": "string",
                "pattern": "^[0-9a-f]{64}$"
              },
              "customer_token_signature_required": {
                "const": true
              },
              "separate_company_fee_signature_required": {
                "const": true
              },
              "eoa_gasless_supported": {
                "const": false
              },
              "relay_supported": {
                "const": false
              },
              "actual_eth_spend_verified": {
                "const": false
              },
              "actual_eth_balance_verified": {
                "const": false
              },
              "native_user_operation_encoded": {
                "const": false
              },
              "smart_account_certified": {
                "const": false
              },
              "calldata_encoded": {
                "const": false
              },
              "billing_enabled": {
                "const": false
              }
            },
            "required": [
              "mode",
              "assets",
              "network_id",
              "account_model",
              "entry_point_reference",
              "paymaster_reference",
              "fee_payer_public_key",
              "customer_token_signature_required",
              "separate_company_fee_signature_required",
              "eoa_gasless_supported",
              "relay_supported",
              "actual_eth_spend_verified",
              "actual_eth_balance_verified",
              "native_user_operation_encoded",
              "smart_account_certified",
              "calldata_encoded",
              "billing_enabled"
            ]
          }
        ]
      },
      "BaseSponsorAccountInput": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "wallet_id": {
            "type": "string",
            "format": "uuid"
          },
          "account_model": {
            "const": "fixture_erc4337_v0_7_transfer_only"
          }
        },
        "required": [
          "wallet_id",
          "account_model"
        ]
      },
      "BaseSponsorAccountChange": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "expected_revision": {
            "type": "integer",
            "minimum": 1
          },
          "active": {
            "type": "boolean"
          }
        },
        "required": [
          "expected_revision",
          "active"
        ]
      },
      "BaseSponsorAccount": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "organization_id": {
            "type": "string",
            "format": "uuid"
          },
          "wallet_id": {
            "type": "string",
            "format": "uuid"
          },
          "binding_id": {
            "type": "string",
            "format": "uuid"
          },
          "binding_revision": {
            "type": "integer",
            "minimum": 1
          },
          "account_model": {
            "const": "fixture_erc4337_v0_7_transfer_only"
          },
          "document": {
            "type": "string"
          },
          "document_sha256": {
            "type": "string",
            "pattern": "^[0-9a-f]{64}$"
          },
          "active": {
            "type": "boolean"
          },
          "revision": {
            "type": "integer",
            "minimum": 1
          },
          "created_by": {
            "type": "string",
            "format": "uuid"
          },
          "updated_by": {
            "type": "string",
            "format": "uuid"
          },
          "created_at": {
            "type": "string"
          },
          "updated_at": {
            "type": "string"
          }
        },
        "required": [
          "id",
          "organization_id",
          "wallet_id",
          "binding_id",
          "binding_revision",
          "account_model",
          "document",
          "document_sha256",
          "active",
          "revision",
          "created_by",
          "updated_by",
          "created_at",
          "updated_at"
        ]
      },
      "BaseSponsorAccountDocument": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "organization_id": {
            "type": "string",
            "format": "uuid"
          },
          "environment": {
            "enum": [
              "local",
              "sandbox"
            ]
          },
          "wallet_id": {
            "type": "string",
            "format": "uuid"
          },
          "binding_id": {
            "type": "string",
            "format": "uuid"
          },
          "binding_revision": {
            "type": "integer",
            "minimum": 1
          },
          "model": {
            "const": "fixture_erc4337_v0_7_transfer_only"
          },
          "entry_point_reference": {
            "const": "fixture_entrypoint_v0_7"
          },
          "paymaster_reference": {
            "const": "fixture_base_verifying_paymaster"
          },
          "token": {
            "const": "USDC_BASE"
          },
          "call_selector": {
            "const": "a9059cbb"
          },
          "call_value_wei": {
            "const": "0"
          },
          "deployed": {
            "const": false
          },
          "certified": {
            "const": false
          }
        },
        "required": [
          "id",
          "organization_id",
          "environment",
          "wallet_id",
          "binding_id",
          "binding_revision",
          "model",
          "entry_point_reference",
          "paymaster_reference",
          "token",
          "call_selector",
          "call_value_wei",
          "deployed",
          "certified"
        ]
      },
      "BaseSponsorAccountsResult": {
        "allOf": [
          {
            "$ref": "#/components/schemas/Envelope"
          },
          {
            "type": "object",
            "properties": {
              "accounts": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/BaseSponsorAccount"
                }
              },
              "limit": {
                "const": 200
              },
              "certified": {
                "const": false
              },
              "deployed": {
                "const": false
              }
            },
            "required": [
              "accounts",
              "limit",
              "certified",
              "deployed"
            ]
          }
        ]
      },
      "BaseSponsorAccountResult": {
        "allOf": [
          {
            "$ref": "#/components/schemas/Envelope"
          },
          {
            "type": "object",
            "properties": {
              "account_id": {
                "type": "string",
                "format": "uuid"
              },
              "replayed": {
                "type": "boolean"
              },
              "certified": {
                "const": false
              },
              "document_sha256": {
                "type": "string",
                "pattern": "^[0-9a-f]{64}$"
              }
            },
            "required": [
              "account_id",
              "replayed",
              "certified"
            ]
          }
        ]
      },
      "BaseSponsorAccountChangeResult": {
        "allOf": [
          {
            "$ref": "#/components/schemas/Envelope"
          },
          {
            "type": "object",
            "properties": {
              "account_id": {
                "type": "string",
                "format": "uuid"
              },
              "active": {
                "type": "boolean"
              },
              "revision": {
                "type": "integer",
                "minimum": 1
              },
              "certified": {
                "const": false
              }
            },
            "required": [
              "account_id",
              "active",
              "revision",
              "certified"
            ]
          }
        ]
      },
      "TreasuryChallenge": {
        "type": "object",
        "properties": {
          "protocol": {
            "const": "azums-treasury-fixture-v1"
          },
          "environment": {
            "enum": [
              "local",
              "sandbox"
            ]
          },
          "organization_id": {
            "type": "string",
            "format": "uuid"
          },
          "treasury_id": {
            "type": "string",
            "format": "uuid"
          },
          "wallet_id": {
            "type": "string",
            "format": "uuid"
          },
          "binding_id": {
            "type": "string",
            "format": "uuid"
          },
          "binding_revision": {
            "type": "integer",
            "minimum": 0
          },
          "network_id": {
            "enum": [
              "solana-mainnet",
              "base-mainnet"
            ]
          },
          "customer_public_key": {
            "type": "string",
            "pattern": "^[0-9a-f]{64}$"
          },
          "recipient_reference": {
            "type": "string",
            "pattern": "^fixture_wallet_(tr_|treasury_)[0-9a-f]{32}$"
          },
          "nonce": {
            "type": "string",
            "pattern": "^[0-9a-f]{64}$"
          },
          "expires_at": {
            "type": "integer",
            "minimum": 0
          }
        },
        "required": [
          "protocol",
          "environment",
          "organization_id",
          "treasury_id",
          "wallet_id",
          "binding_id",
          "binding_revision",
          "network_id",
          "customer_public_key",
          "recipient_reference",
          "nonce",
          "expires_at"
        ],
        "additionalProperties": false
      },
      "TreasuryRegister": {
        "type": "object",
        "properties": {
          "wallet_id": {
            "type": "string",
            "format": "uuid"
          }
        },
        "required": [
          "wallet_id"
        ],
        "additionalProperties": false
      },
      "TreasuryConfirm": {
        "type": "object",
        "properties": {
          "expected_revision": {
            "type": "integer",
            "minimum": 0
          },
          "customer_signature": {
            "type": "string",
            "pattern": "^[0-9a-f]{128}$"
          }
        },
        "required": [
          "expected_revision",
          "customer_signature"
        ],
        "additionalProperties": false
      },
      "TreasuryChange": {
        "type": "object",
        "properties": {
          "expected_revision": {
            "type": "integer",
            "minimum": 0
          },
          "enabled": {
            "type": "boolean"
          }
        },
        "required": [
          "expected_revision",
          "enabled"
        ],
        "additionalProperties": false
      },
      "TreasuryEmpty": {
        "type": "object",
        "properties": {},
        "required": [],
        "additionalProperties": false
      },
      "TreasuryAttach": {
        "type": "object",
        "properties": {
          "scenario": {
            "enum": [
              "success",
              "commit_then_timeout",
              "unavailable_before_submit",
              "failed",
              "pending",
              "reorg",
              "crash_after_dispatch"
            ]
          }
        },
        "required": [
          "scenario"
        ],
        "additionalProperties": false
      },
      "FixtureTreasury": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "wallet_id": {
            "type": "string",
            "format": "uuid"
          },
          "network_id": {
            "enum": [
              "solana-mainnet",
              "base-mainnet"
            ]
          },
          "recipient_reference": {
            "type": "string",
            "pattern": "^fixture_wallet_(tr_|treasury_)[0-9a-f]{32}$"
          },
          "challenge": {
            "$ref": "#/components/schemas/TreasuryChallenge"
          },
          "challenge_sha256": {
            "type": "string",
            "pattern": "^[0-9a-f]{64}$"
          },
          "status": {
            "enum": [
              "challenge_pending",
              "verified_fixture",
              "disabled"
            ]
          },
          "revision": {
            "type": "integer",
            "minimum": 0
          },
          "customer_signature": {
            "anyOf": [
              {
                "type": "string",
                "pattern": "^[0-9a-f]{128}$"
              },
              {
                "type": "null"
              }
            ]
          },
          "chain_ownership_verified": {
            "const": false
          },
          "payout_compatible": {
            "type": "boolean"
          }
        },
        "required": [
          "id",
          "wallet_id",
          "network_id",
          "recipient_reference",
          "challenge",
          "challenge_sha256",
          "status",
          "revision",
          "customer_signature",
          "chain_ownership_verified",
          "payout_compatible"
        ],
        "additionalProperties": false
      },
      "SweepRuleInput": {
        "type": "object",
        "properties": {
          "collection_id": {
            "type": "string",
            "format": "uuid"
          },
          "treasury_id": {
            "type": "string",
            "format": "uuid"
          },
          "min_confirmed_raw": {
            "type": "string",
            "pattern": "^[1-9][0-9]{0,77}$"
          },
          "token_residual_raw": {
            "type": "string",
            "pattern": "^(0|[1-9][0-9]{0,77})$"
          },
          "max_sweep_raw": {
            "type": "string",
            "pattern": "^[1-9][0-9]{0,77}$"
          },
          "daily_cap_raw": {
            "type": "string",
            "pattern": "^[1-9][0-9]{0,77}$"
          },
          "max_fee_raw": {
            "type": "string",
            "pattern": "^(0|[1-9][0-9]{0,77})$"
          },
          "modeled_native_balance_raw": {
            "type": "string",
            "pattern": "^(0|[1-9][0-9]{0,77})$"
          },
          "native_residual_raw": {
            "type": "string",
            "pattern": "^(0|[1-9][0-9]{0,77})$"
          },
          "interval_seconds": {
            "type": "integer",
            "minimum": 10,
            "maximum": 86400
          },
          "proposal_ttl_seconds": {
            "type": "integer",
            "minimum": 10,
            "maximum": 3600
          },
          "mode": {
            "const": "MANUAL_SWEEP_ONLY"
          }
        },
        "required": [
          "collection_id",
          "treasury_id",
          "min_confirmed_raw",
          "token_residual_raw",
          "max_sweep_raw",
          "daily_cap_raw",
          "max_fee_raw",
          "modeled_native_balance_raw",
          "native_residual_raw",
          "interval_seconds",
          "proposal_ttl_seconds",
          "mode"
        ],
        "additionalProperties": false
      },
      "SweepRule": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "wallet_id": {
            "type": "string",
            "format": "uuid"
          },
          "asset_id": {
            "enum": [
              "USDC_SOL",
              "USDT_SOL",
              "USDC_BASE"
            ]
          },
          "asset_version": {
            "type": "string"
          },
          "document": {
            "type": "string"
          },
          "document_sha256": {
            "type": "string",
            "pattern": "^[0-9a-f]{64}$"
          },
          "monitoring": {
            "type": "boolean"
          },
          "revision": {
            "type": "integer",
            "minimum": 0
          },
          "auto_execution_enabled": {
            "const": false
          }
        },
        "required": [
          "id",
          "wallet_id",
          "asset_id",
          "asset_version",
          "document",
          "document_sha256",
          "monitoring",
          "revision",
          "auto_execution_enabled"
        ],
        "additionalProperties": false
      },
      "SweepAllocation": {
        "type": "object",
        "properties": {
          "event_id": {
            "type": "string",
            "format": "uuid"
          },
          "payload_sha256": {
            "type": "string",
            "pattern": "^[0-9a-f]{64}$"
          },
          "amount_raw": {
            "type": "string",
            "pattern": "^[1-9][0-9]{0,77}$"
          }
        },
        "required": [
          "event_id",
          "payload_sha256",
          "amount_raw"
        ],
        "additionalProperties": false
      },
      "SweepPlan": {
        "type": "object",
        "properties": {
          "proposal_id": {
            "type": "string",
            "format": "uuid"
          },
          "rule_id": {
            "type": "string",
            "format": "uuid"
          },
          "rule_sha256": {
            "type": "string",
            "pattern": "^[0-9a-f]{64}$"
          },
          "rule_revision": {
            "type": "integer",
            "minimum": 0
          },
          "treasury_id": {
            "type": "string",
            "format": "uuid"
          },
          "treasury_revision": {
            "type": "integer",
            "minimum": 0
          },
          "recipient_reference": {
            "type": "string",
            "pattern": "^fixture_wallet_(tr_|treasury_)[0-9a-f]{32}$"
          },
          "wallet_id": {
            "type": "string",
            "format": "uuid"
          },
          "asset_id": {
            "enum": [
              "USDC_SOL",
              "USDT_SOL",
              "USDC_BASE"
            ]
          },
          "asset_version": {
            "type": "string"
          },
          "amount_raw": {
            "type": "string",
            "pattern": "^[1-9][0-9]{0,77}$"
          },
          "max_fee_raw": {
            "type": "string",
            "pattern": "^(0|[1-9][0-9]{0,77})$"
          },
          "quoted_fee_raw": {
            "type": "string",
            "pattern": "^(0|[1-9][0-9]{0,77})$"
          },
          "allocations": {
            "type": "array",
            "minItems": 1,
            "maxItems": 1000,
            "items": {
              "$ref": "#/components/schemas/SweepAllocation"
            }
          },
          "source_available_raw": {
            "type": "string",
            "pattern": "^(0|[1-9][0-9]{0,89})$"
          },
          "token_residual_raw": {
            "type": "string",
            "pattern": "^(0|[1-9][0-9]{0,77})$"
          },
          "partial_sweep": {
            "type": "boolean"
          },
          "expires_at": {
            "type": "integer",
            "minimum": 0
          },
          "mode": {
            "const": "MANUAL_SWEEP_ONLY"
          },
          "native_balance_verified": {
            "const": false
          },
          "actual_sweep_verified": {
            "const": false
          }
        },
        "required": [
          "proposal_id",
          "rule_id",
          "rule_sha256",
          "rule_revision",
          "treasury_id",
          "treasury_revision",
          "recipient_reference",
          "wallet_id",
          "asset_id",
          "asset_version",
          "amount_raw",
          "max_fee_raw",
          "quoted_fee_raw",
          "allocations",
          "source_available_raw",
          "token_residual_raw",
          "partial_sweep",
          "expires_at",
          "mode",
          "native_balance_verified",
          "actual_sweep_verified"
        ],
        "additionalProperties": false
      },
      "SweepProposal": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "rule_id": {
            "type": "string",
            "format": "uuid"
          },
          "amount_raw": {
            "type": "string",
            "pattern": "^[1-9][0-9]{0,77}$"
          },
          "state": {
            "enum": [
              "held",
              "settled",
              "released",
              "unknown"
            ]
          },
          "payout_id": {
            "anyOf": [
              {
                "type": "string",
                "format": "uuid"
              },
              {
                "type": "null"
              }
            ]
          },
          "expires_at": {
            "type": "integer",
            "minimum": 0
          },
          "plan": {
            "type": "string"
          },
          "plan_sha256": {
            "type": "string",
            "pattern": "^[0-9a-f]{64}$"
          },
          "mode": {
            "const": "MANUAL_SWEEP_ONLY"
          },
          "actual_sweep_verified": {
            "const": false
          }
        },
        "required": [
          "id",
          "rule_id",
          "amount_raw",
          "state",
          "payout_id",
          "expires_at",
          "plan",
          "plan_sha256",
          "mode",
          "actual_sweep_verified"
        ],
        "additionalProperties": false
      },
      "SweepEvent": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "rule_id": {
            "type": "string",
            "format": "uuid"
          },
          "proposal_id": {
            "anyOf": [
              {
                "type": "string",
                "format": "uuid"
              },
              {
                "type": "null"
              }
            ]
          },
          "payload": {
            "type": "string"
          },
          "payload_sha256": {
            "type": "string",
            "pattern": "^[0-9a-f]{64}$"
          }
        },
        "required": [
          "id",
          "rule_id",
          "proposal_id",
          "payload",
          "payload_sha256"
        ],
        "additionalProperties": false
      },
      "TreasuryResult": {
        "allOf": [
          {
            "$ref": "#/components/schemas/Envelope"
          },
          {
            "type": "object",
            "properties": {
              "treasury": {
                "$ref": "#/components/schemas/FixtureTreasury"
              }
            },
            "required": [
              "treasury"
            ]
          }
        ]
      },
      "TreasuriesResult": {
        "allOf": [
          {
            "$ref": "#/components/schemas/Envelope"
          },
          {
            "type": "object",
            "properties": {
              "treasuries": {
                "type": "array",
                "maxItems": 200,
                "items": {
                  "$ref": "#/components/schemas/FixtureTreasury"
                }
              },
              "limit": {
                "const": 200
              }
            },
            "required": [
              "treasuries",
              "limit"
            ]
          }
        ]
      },
      "SweepRuleResult": {
        "allOf": [
          {
            "$ref": "#/components/schemas/Envelope"
          },
          {
            "type": "object",
            "properties": {
              "rule": {
                "$ref": "#/components/schemas/SweepRule"
              }
            },
            "required": [
              "rule"
            ]
          }
        ]
      },
      "SweepRulesResult": {
        "allOf": [
          {
            "$ref": "#/components/schemas/Envelope"
          },
          {
            "type": "object",
            "properties": {
              "rules": {
                "type": "array",
                "maxItems": 200,
                "items": {
                  "$ref": "#/components/schemas/SweepRule"
                }
              },
              "limit": {
                "const": 200
              }
            },
            "required": [
              "rules",
              "limit"
            ]
          }
        ]
      },
      "SweepProposalsResult": {
        "allOf": [
          {
            "$ref": "#/components/schemas/Envelope"
          },
          {
            "type": "object",
            "properties": {
              "proposals": {
                "type": "array",
                "maxItems": 200,
                "items": {
                  "$ref": "#/components/schemas/SweepProposal"
                }
              },
              "limit": {
                "const": 200
              }
            },
            "required": [
              "proposals",
              "limit"
            ]
          }
        ]
      },
      "SweepProposalResult": {
        "allOf": [
          {
            "$ref": "#/components/schemas/Envelope"
          },
          {
            "type": "object",
            "properties": {
              "proposal": {
                "$ref": "#/components/schemas/SweepProposal"
              }
            },
            "required": [
              "proposal"
            ]
          }
        ]
      },
      "SweepAttachResult": {
        "allOf": [
          {
            "$ref": "#/components/schemas/Envelope"
          },
          {
            "type": "object",
            "properties": {
              "payout_id": {
                "type": "string",
                "format": "uuid"
              },
              "replayed": {
                "type": "boolean"
              }
            },
            "required": [
              "payout_id",
              "replayed"
            ]
          }
        ]
      },
      "SweepEventsResult": {
        "allOf": [
          {
            "$ref": "#/components/schemas/Envelope"
          },
          {
            "type": "object",
            "properties": {
              "events": {
                "type": "array",
                "maxItems": 200,
                "items": {
                  "$ref": "#/components/schemas/SweepEvent"
                }
              },
              "limit": {
                "const": 200
              }
            },
            "required": [
              "events",
              "limit"
            ]
          }
        ]
      },
      "SweepEvaluation": {
        "allOf": [
          {
            "$ref": "#/components/schemas/Envelope"
          },
          {
            "type": "object",
            "properties": {
              "proposal": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/SweepProposal"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "reason": {
                "type": "string"
              },
              "action_required": {
                "type": "boolean"
              },
              "mode": {
                "const": "MANUAL_SWEEP_ONLY"
              }
            },
            "required": [
              "proposal",
              "reason"
            ]
          }
        ]
      },
      "TreasuryCapabilities": {
        "allOf": [
          {
            "$ref": "#/components/schemas/Envelope"
          },
          {
            "type": "object",
            "properties": {
              "mode": {
                "const": "MANUAL_SWEEP_ONLY"
              },
              "automatic_signing": {
                "const": false
              },
              "automatic_execution": {
                "const": false
              },
              "proposal_monitoring": {
                "const": true
              },
              "chain_ownership_verified": {
                "const": false
              },
              "native_balance_verified": {
                "const": false
              },
              "actual_sweep_verified": {
                "const": false
              },
              "delegation_enforced": {
                "const": false
              },
              "fee_route": {
                "const": "customer_funded_fixture"
              },
              "assets": {
                "const": [
                  "USDC_SOL",
                  "USDT_SOL",
                  "USDC_BASE"
                ]
              }
            },
            "required": [
              "mode",
              "automatic_signing",
              "automatic_execution",
              "proposal_monitoring",
              "chain_ownership_verified",
              "native_balance_verified",
              "actual_sweep_verified",
              "delegation_enforced",
              "fee_route",
              "assets"
            ]
          }
        ]
      },
      "RiskControlInput": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "expected_revision",
          "enabled",
          "halted",
          "max_age_seconds",
          "allowed_country_codes"
        ],
        "properties": {
          "expected_revision": {
            "type": "integer"
          },
          "enabled": {
            "type": "boolean"
          },
          "halted": {
            "type": "boolean"
          },
          "max_age_seconds": {
            "type": "integer",
            "minimum": 10,
            "maximum": 86400
          },
          "allowed_country_codes": {
            "type": "array",
            "minItems": 1,
            "maxItems": 50,
            "items": {
              "enum": [
                "NG",
                "US",
                "GB",
                "KE",
                "GH",
                "ZA",
                "CA",
                "DE",
                "FR",
                "SG",
                "AE"
              ]
            }
          }
        }
      },
      "RiskControl": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "organization_id",
          "enabled",
          "halted",
          "revision",
          "max_age_seconds",
          "allowed_country_codes",
          "mode",
          "vendor_connected",
          "production_cleared"
        ],
        "properties": {
          "organization_id": {
            "type": "string",
            "format": "uuid"
          },
          "enabled": {
            "type": "boolean"
          },
          "halted": {
            "type": "boolean"
          },
          "revision": {
            "type": "integer"
          },
          "max_age_seconds": {
            "type": "integer",
            "minimum": 10,
            "maximum": 86400
          },
          "allowed_country_codes": {
            "type": "array",
            "minItems": 1,
            "maxItems": 50,
            "items": {
              "enum": [
                "NG",
                "US",
                "GB",
                "KE",
                "GH",
                "ZA",
                "CA",
                "DE",
                "FR",
                "SG",
                "AE"
              ]
            }
          },
          "mode": {
            "enum": [
              "monitor_only",
              "azums_path_fixture_gated"
            ]
          },
          "vendor_connected": {
            "const": false
          },
          "production_cleared": {
            "const": false
          }
        }
      },
      "RiskControlResult": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "control",
          "request_id"
        ],
        "properties": {
          "control": {
            "$ref": "#/components/schemas/RiskControl"
          },
          "request_id": {
            "type": "string",
            "format": "uuid"
          }
        }
      },
      "RiskScreenInput": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "subject_type",
          "subject_ref",
          "network_id",
          "scenario"
        ],
        "properties": {
          "subject_type": {
            "enum": [
              "merchant",
              "signer",
              "wallet",
              "recipient"
            ]
          },
          "subject_ref": {
            "type": "string",
            "minLength": 1,
            "maxLength": 80
          },
          "network_id": {
            "enum": [
              "organization",
              "solana-mainnet",
              "base-mainnet"
            ]
          },
          "scenario": {
            "enum": [
              "low_risk",
              "ambiguous",
              "sanctions_match",
              "high_risk",
              "outage",
              "timeout",
              "malformed"
            ]
          }
        }
      },
      "RiskScreenResult": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "case_id",
          "outcome",
          "fixture_only",
          "request_id"
        ],
        "properties": {
          "case_id": {
            "type": "string",
            "format": "uuid"
          },
          "outcome": {
            "enum": [
              "clear_fixture",
              "review",
              "blocked",
              "unavailable"
            ]
          },
          "fixture_only": {
            "const": true
          },
          "request_id": {
            "type": "string",
            "format": "uuid"
          }
        }
      },
      "RiskReviewInput": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "disposition",
          "reason_code"
        ],
        "properties": {
          "disposition": {
            "enum": [
              "clear_fixture",
              "hold"
            ]
          },
          "reason_code": {
            "enum": [
              "fixture_false_positive",
              "fixture_hold"
            ]
          }
        }
      },
      "RiskReviewResult": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "case_id",
          "disposition",
          "production_cleared",
          "request_id"
        ],
        "properties": {
          "case_id": {
            "type": "string",
            "format": "uuid"
          },
          "disposition": {
            "enum": [
              "clear_fixture",
              "hold"
            ]
          },
          "production_cleared": {
            "const": false
          },
          "request_id": {
            "type": "string",
            "format": "uuid"
          }
        }
      },
      "RiskCapabilities": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "mode",
          "vendor_connected",
          "production_cleared",
          "native_signer_enforcement",
          "external_data_transfer",
          "outage_policy",
          "sanctions_override",
          "reviewer_must_differ",
          "scenarios",
          "request_id"
        ],
        "properties": {
          "mode": {
            "const": "internal_fixture_only"
          },
          "vendor_connected": {
            "const": false
          },
          "production_cleared": {
            "const": false
          },
          "native_signer_enforcement": {
            "const": false
          },
          "external_data_transfer": {
            "const": false
          },
          "outage_policy": {
            "const": "hold_no_override"
          },
          "sanctions_override": {
            "const": false
          },
          "reviewer_must_differ": {
            "const": true
          },
          "scenarios": {
            "const": [
              "low_risk",
              "ambiguous",
              "sanctions_match",
              "high_risk",
              "outage",
              "timeout",
              "malformed"
            ]
          },
          "request_id": {
            "type": "string",
            "format": "uuid"
          }
        }
      },
      "RiskCase": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "subject_type",
          "subject_ref",
          "network_id",
          "scenario",
          "id",
          "sequence",
          "organization_id",
          "environment",
          "context",
          "outcome",
          "evidence",
          "evidence_sha256",
          "created_by",
          "request_id",
          "created_at"
        ],
        "properties": {
          "subject_type": {
            "enum": [
              "merchant",
              "signer",
              "wallet",
              "recipient"
            ]
          },
          "subject_ref": {
            "type": "string",
            "minLength": 1,
            "maxLength": 80
          },
          "network_id": {
            "enum": [
              "organization",
              "solana-mainnet",
              "base-mainnet"
            ]
          },
          "scenario": {
            "enum": [
              "low_risk",
              "ambiguous",
              "sanctions_match",
              "high_risk",
              "outage",
              "timeout",
              "malformed"
            ]
          },
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "sequence": {
            "type": "integer",
            "minimum": 1
          },
          "organization_id": {
            "type": "string",
            "format": "uuid"
          },
          "environment": {
            "enum": [
              "local",
              "sandbox"
            ]
          },
          "context": {
            "type": "string"
          },
          "outcome": {
            "enum": [
              "clear_fixture",
              "review",
              "blocked",
              "unavailable"
            ]
          },
          "evidence": {
            "type": "string"
          },
          "evidence_sha256": {
            "type": "string",
            "pattern": "^[a-f0-9]{64}$"
          },
          "created_by": {
            "type": "string",
            "format": "uuid"
          },
          "request_id": {
            "type": "string",
            "format": "uuid"
          },
          "created_at": {
            "type": "string"
          }
        }
      },
      "RiskReview": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "id",
          "organization_id",
          "case_id",
          "disposition",
          "reason_code",
          "reviewed_by",
          "request_id",
          "created_at"
        ],
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "organization_id": {
            "type": "string",
            "format": "uuid"
          },
          "case_id": {
            "type": "string",
            "format": "uuid"
          },
          "disposition": {
            "enum": [
              "clear_fixture",
              "hold"
            ]
          },
          "reason_code": {
            "enum": [
              "fixture_false_positive",
              "fixture_hold"
            ]
          },
          "reviewed_by": {
            "type": "string",
            "format": "uuid"
          },
          "request_id": {
            "type": "string",
            "format": "uuid"
          },
          "created_at": {
            "type": "string"
          }
        }
      },
      "RiskAuthorization": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "id",
          "organization_id",
          "payout_id",
          "template_sha256",
          "snapshot",
          "snapshot_sha256",
          "created_at"
        ],
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "organization_id": {
            "type": "string",
            "format": "uuid"
          },
          "payout_id": {
            "type": "string",
            "format": "uuid"
          },
          "template_sha256": {
            "type": "string",
            "pattern": "^[a-f0-9]{64}$"
          },
          "snapshot": {
            "type": "string"
          },
          "snapshot_sha256": {
            "type": "string",
            "pattern": "^[a-f0-9]{64}$"
          },
          "created_at": {
            "type": "string"
          }
        }
      },
      "RiskCases": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "cases",
          "limit",
          "fixture_only",
          "request_id"
        ],
        "properties": {
          "cases": {
            "type": "array",
            "maxItems": 200,
            "items": {
              "$ref": "#/components/schemas/RiskCase"
            }
          },
          "limit": {
            "const": 200
          },
          "fixture_only": {
            "const": true
          },
          "request_id": {
            "type": "string",
            "format": "uuid"
          }
        }
      },
      "RiskReviews": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "reviews",
          "limit",
          "fixture_only",
          "request_id"
        ],
        "properties": {
          "reviews": {
            "type": "array",
            "maxItems": 200,
            "items": {
              "$ref": "#/components/schemas/RiskReview"
            }
          },
          "limit": {
            "const": 200
          },
          "fixture_only": {
            "const": true
          },
          "request_id": {
            "type": "string",
            "format": "uuid"
          }
        }
      },
      "RiskAuthorizations": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "authorizations",
          "limit",
          "fixture_only",
          "request_id"
        ],
        "properties": {
          "authorizations": {
            "type": "array",
            "maxItems": 200,
            "items": {
              "$ref": "#/components/schemas/RiskAuthorization"
            }
          },
          "limit": {
            "const": 200
          },
          "fixture_only": {
            "const": true
          },
          "request_id": {
            "type": "string",
            "format": "uuid"
          }
        }
      },
      "RiskEvidence": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "provider",
          "fixture_only",
          "vendor_verified",
          "request",
          "scenario",
          "outcome",
          "source_ref"
        ],
        "properties": {
          "provider": {
            "const": "azums_internal_risk_dataset_v1"
          },
          "fixture_only": {
            "const": true
          },
          "vendor_verified": {
            "const": false
          },
          "request": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "subject_sha256",
              "subject_type",
              "network_id"
            ],
            "properties": {
              "subject_sha256": {
                "type": "string",
                "pattern": "^[a-f0-9]{64}$"
              },
              "subject_type": {
                "enum": [
                  "merchant",
                  "signer",
                  "wallet",
                  "recipient"
                ]
              },
              "network_id": {
                "enum": [
                  "organization",
                  "solana-mainnet",
                  "base-mainnet"
                ]
              }
            }
          },
          "scenario": {
            "enum": [
              "low_risk",
              "ambiguous",
              "sanctions_match",
              "high_risk",
              "outage",
              "timeout",
              "malformed"
            ]
          },
          "outcome": {
            "enum": [
              "clear_fixture",
              "review",
              "blocked",
              "unavailable"
            ]
          },
          "source_ref": {
            "type": "string",
            "pattern": "^fixture_risk_[0-9a-f-]{36}$"
          }
        }
      },
      "RiskSnapshot": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "control_revision",
          "cases"
        ],
        "properties": {
          "control_revision": {
            "type": "integer",
            "minimum": 1
          },
          "cases": {
            "type": "array",
            "minItems": 4,
            "maxItems": 4,
            "items": {
              "type": "object",
              "additionalProperties": false,
              "required": [
                "case_id",
                "review_id"
              ],
              "properties": {
                "case_id": {
                  "type": "string",
                  "format": "uuid"
                },
                "review_id": {
                  "anyOf": [
                    {
                      "type": "string",
                      "format": "uuid"
                    },
                    {
                      "type": "null"
                    }
                  ]
                }
              }
            }
          }
        }
      },
      "CctpQuoteInput": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "source_wallet_id": {
            "type": "string",
            "format": "uuid"
          },
          "destination_wallet_id": {
            "type": "string",
            "format": "uuid"
          },
          "asset": {
            "const": "USDC"
          },
          "amount_raw": {
            "type": "string",
            "pattern": "^[1-9][0-9]{0,19}$"
          },
          "max_protocol_fee_raw": {
            "type": "string",
            "pattern": "^(0|[1-9][0-9]{0,19})$"
          },
          "destination_fee_ceiling_raw": {
            "type": "string",
            "pattern": "^(0|[1-9][0-9]{0,19})$"
          },
          "mode": {
            "const": "standard"
          },
          "valid_for_seconds": {
            "type": "integer",
            "minimum": 10,
            "maximum": 300
          }
        },
        "required": [
          "source_wallet_id",
          "destination_wallet_id",
          "asset",
          "amount_raw",
          "max_protocol_fee_raw",
          "destination_fee_ceiling_raw",
          "mode",
          "valid_for_seconds"
        ]
      },
      "CctpQuote": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "protocol": {
            "const": "azums-cctp-v2-fixture-v1"
          },
          "register_version": {
            "const": "circle-cctp-v2-reference-2026-11-16"
          },
          "environment": {
            "enum": [
              "local",
              "sandbox"
            ]
          },
          "organization_id": {
            "type": "string",
            "format": "uuid"
          },
          "source_wallet_id": {
            "type": "string",
            "format": "uuid"
          },
          "destination_wallet_id": {
            "type": "string",
            "format": "uuid"
          },
          "source_binding_id": {
            "type": "string",
            "format": "uuid"
          },
          "source_binding_revision": {
            "type": "integer",
            "minimum": 1
          },
          "destination_binding_id": {
            "type": "string",
            "format": "uuid"
          },
          "destination_binding_revision": {
            "type": "integer",
            "minimum": 1
          },
          "destination_customer_public_key": {
            "type": "string",
            "pattern": "^[a-f0-9]{64}$"
          },
          "source_network_id": {
            "enum": [
              "solana-mainnet",
              "base-mainnet"
            ]
          },
          "destination_network_id": {
            "enum": [
              "solana-mainnet",
              "base-mainnet"
            ]
          },
          "source_domain": {
            "enum": [
              5,
              6
            ]
          },
          "destination_domain": {
            "enum": [
              5,
              6
            ]
          },
          "source_asset_id": {
            "enum": [
              "USDC_SOL",
              "USDC_BASE"
            ]
          },
          "source_asset_version": {
            "type": "string"
          },
          "destination_asset_id": {
            "enum": [
              "USDC_SOL",
              "USDC_BASE"
            ]
          },
          "destination_asset_version": {
            "type": "string"
          },
          "recipient_reference": {
            "type": "string",
            "pattern": "^fixture_wallet_[A-Za-z0-9_]{1,40}$"
          },
          "amount_raw": {
            "type": "string",
            "pattern": "^[1-9][0-9]{0,19}$"
          },
          "protocol_fee_raw": {
            "const": "0"
          },
          "max_protocol_fee_raw": {
            "type": "string",
            "pattern": "^(0|[1-9][0-9]{0,19})$"
          },
          "expected_received_raw": {
            "type": "string",
            "pattern": "^[1-9][0-9]{0,19}$"
          },
          "source_fee_unit": {
            "enum": [
              "lamports",
              "wei"
            ]
          },
          "source_native_fee_raw": {
            "type": "string",
            "pattern": "^[1-9][0-9]{0,19}$"
          },
          "destination_fee_unit": {
            "enum": [
              "lamports",
              "wei"
            ]
          },
          "destination_fee_ceiling_raw": {
            "type": "string",
            "pattern": "^[1-9][0-9]{0,19}$"
          },
          "expires_at": {
            "type": "integer"
          },
          "mode": {
            "const": "standard_fixture_only"
          },
          "forwarder": {
            "const": "unsupported"
          },
          "native_fee_quote_verified": {
            "const": false
          },
          "actual_protocol_fee_verified": {
            "const": false
          }
        },
        "required": [
          "protocol",
          "register_version",
          "environment",
          "organization_id",
          "source_wallet_id",
          "destination_wallet_id",
          "source_binding_id",
          "source_binding_revision",
          "destination_binding_id",
          "destination_binding_revision",
          "destination_customer_public_key",
          "source_network_id",
          "destination_network_id",
          "source_domain",
          "destination_domain",
          "source_asset_id",
          "source_asset_version",
          "destination_asset_id",
          "destination_asset_version",
          "recipient_reference",
          "amount_raw",
          "protocol_fee_raw",
          "max_protocol_fee_raw",
          "expected_received_raw",
          "source_fee_unit",
          "source_native_fee_raw",
          "destination_fee_unit",
          "destination_fee_ceiling_raw",
          "expires_at",
          "mode",
          "forwarder",
          "native_fee_quote_verified",
          "actual_protocol_fee_verified"
        ]
      },
      "CctpQuoteResult": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "quote_id": {
            "type": "string",
            "format": "uuid"
          },
          "quote": {
            "$ref": "#/components/schemas/CctpQuote"
          },
          "document": {
            "type": "string"
          },
          "document_sha256": {
            "type": "string",
            "pattern": "^[a-f0-9]{64}$"
          },
          "fixture_only": {
            "const": true
          },
          "request_id": {
            "type": "string",
            "format": "uuid"
          }
        },
        "required": [
          "quote_id",
          "quote",
          "document",
          "document_sha256",
          "fixture_only",
          "request_id"
        ]
      },
      "CctpBurnBinding": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "protocol": {
            "const": "azums-cctp-v2-fixture-v1"
          },
          "transfer_id": {
            "type": "string",
            "format": "uuid"
          },
          "quote_id": {
            "type": "string",
            "format": "uuid"
          },
          "quote_sha256": {
            "type": "string",
            "pattern": "^[a-f0-9]{64}$"
          },
          "quote_expires_at": {
            "type": "integer"
          },
          "control_revision": {
            "type": "integer",
            "minimum": 1
          },
          "destination_wallet_id": {
            "type": "string",
            "format": "uuid"
          },
          "destination_binding_id": {
            "type": "string",
            "format": "uuid"
          },
          "destination_binding_revision": {
            "type": "integer",
            "minimum": 1
          },
          "destination_customer_public_key": {
            "type": "string",
            "pattern": "^[a-f0-9]{64}$"
          },
          "destination_network_id": {
            "enum": [
              "solana-mainnet",
              "base-mainnet"
            ]
          },
          "destination_asset_id": {
            "enum": [
              "USDC_SOL",
              "USDC_BASE"
            ]
          },
          "destination_asset_version": {
            "type": "string"
          },
          "source_domain": {
            "enum": [
              5,
              6
            ]
          },
          "destination_domain": {
            "enum": [
              5,
              6
            ]
          },
          "mint_recipient": {
            "type": "string",
            "pattern": "^fixture_wallet_[A-Za-z0-9_]{1,40}$"
          },
          "protocol_fee_raw": {
            "const": "0"
          },
          "max_protocol_fee_raw": {
            "type": "string",
            "pattern": "^(0|[1-9][0-9]{0,19})$"
          },
          "expected_received_raw": {
            "type": "string",
            "pattern": "^[1-9][0-9]{0,19}$"
          },
          "destination_fee_unit": {
            "enum": [
              "lamports",
              "wei"
            ]
          },
          "destination_fee_ceiling_raw": {
            "type": "string",
            "pattern": "^[1-9][0-9]{0,19}$"
          },
          "source_risk_sha256": {
            "type": "string",
            "pattern": "^[a-f0-9]{64}$"
          },
          "destination_risk_sha256": {
            "type": "string",
            "pattern": "^[a-f0-9]{64}$"
          }
        },
        "required": [
          "protocol",
          "transfer_id",
          "quote_id",
          "quote_sha256",
          "quote_expires_at",
          "control_revision",
          "destination_wallet_id",
          "destination_binding_id",
          "destination_binding_revision",
          "destination_customer_public_key",
          "destination_network_id",
          "destination_asset_id",
          "destination_asset_version",
          "source_domain",
          "destination_domain",
          "mint_recipient",
          "protocol_fee_raw",
          "max_protocol_fee_raw",
          "expected_received_raw",
          "destination_fee_unit",
          "destination_fee_ceiling_raw",
          "source_risk_sha256",
          "destination_risk_sha256"
        ]
      },
      "CctpMessage": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "protocol": {
            "const": "azums-cctp-v2-fixture-v1"
          },
          "environment": {
            "enum": [
              "local",
              "sandbox"
            ]
          },
          "organization_id": {
            "type": "string",
            "format": "uuid"
          },
          "transfer_id": {
            "type": "string",
            "format": "uuid"
          },
          "source_payout_id": {
            "type": "string",
            "format": "uuid"
          },
          "burn_identity": {
            "type": "string",
            "pattern": "^fixture_payout_[a-f0-9]{64}$"
          },
          "source_domain": {
            "enum": [
              5,
              6
            ]
          },
          "destination_domain": {
            "enum": [
              5,
              6
            ]
          },
          "nonce": {
            "type": "string",
            "pattern": "^[a-f0-9]{64}$"
          },
          "recipient_reference": {
            "type": "string",
            "pattern": "^fixture_wallet_[A-Za-z0-9_]{1,40}$"
          },
          "amount_raw": {
            "type": "string",
            "pattern": "^[1-9][0-9]{0,19}$"
          },
          "fee_raw": {
            "const": "0"
          },
          "mint_amount_raw": {
            "type": "string",
            "pattern": "^[1-9][0-9]{0,19}$"
          },
          "source_envelope_sha256": {
            "type": "string",
            "pattern": "^[a-f0-9]{64}$"
          },
          "quote_sha256": {
            "type": "string",
            "pattern": "^[a-f0-9]{64}$"
          },
          "min_finality_threshold": {
            "const": 2000
          }
        },
        "required": [
          "protocol",
          "environment",
          "organization_id",
          "transfer_id",
          "source_payout_id",
          "burn_identity",
          "source_domain",
          "destination_domain",
          "nonce",
          "recipient_reference",
          "amount_raw",
          "fee_raw",
          "mint_amount_raw",
          "source_envelope_sha256",
          "quote_sha256",
          "min_finality_threshold"
        ]
      },
      "CctpAttestation": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "message": {
            "$ref": "#/components/schemas/CctpMessage"
          },
          "provider_signature": {
            "type": "string",
            "pattern": "^[a-f0-9]{128}$"
          }
        },
        "required": [
          "message",
          "provider_signature"
        ]
      },
      "CctpMintTemplate": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "protocol": {
            "const": "azums-cctp-v2-fixture-v1"
          },
          "environment": {
            "enum": [
              "local",
              "sandbox"
            ]
          },
          "organization_id": {
            "type": "string",
            "format": "uuid"
          },
          "transfer_id": {
            "type": "string",
            "format": "uuid"
          },
          "source_payout_id": {
            "type": "string",
            "format": "uuid"
          },
          "approval_id": {
            "type": "string",
            "format": "uuid"
          },
          "message_sha256": {
            "type": "string",
            "pattern": "^[a-f0-9]{64}$"
          },
          "nonce": {
            "type": "string",
            "pattern": "^[a-f0-9]{64}$"
          },
          "destination_domain": {
            "enum": [
              5,
              6
            ]
          },
          "wallet_id": {
            "type": "string",
            "format": "uuid"
          },
          "binding_id": {
            "type": "string",
            "format": "uuid"
          },
          "binding_revision": {
            "type": "integer",
            "minimum": 1
          },
          "customer_public_key": {
            "type": "string",
            "pattern": "^[a-f0-9]{64}$"
          },
          "recipient_reference": {
            "type": "string",
            "pattern": "^fixture_wallet_[A-Za-z0-9_]{1,40}$"
          },
          "amount_raw": {
            "type": "string",
            "pattern": "^[1-9][0-9]{0,19}$"
          },
          "native_fee_unit": {
            "enum": [
              "lamports",
              "wei"
            ]
          },
          "max_fee_raw": {
            "type": "string",
            "pattern": "^[1-9][0-9]{0,19}$"
          },
          "control_revision": {
            "type": "integer",
            "minimum": 1
          },
          "financial_control_revision": {
            "type": "integer",
            "minimum": 1
          },
          "source_risk_sha256": {
            "type": "string",
            "pattern": "^[a-f0-9]{64}$"
          },
          "destination_risk_sha256": {
            "type": "string",
            "pattern": "^[a-f0-9]{64}$"
          },
          "expires_at": {
            "type": "integer"
          }
        },
        "required": [
          "protocol",
          "environment",
          "organization_id",
          "transfer_id",
          "source_payout_id",
          "approval_id",
          "message_sha256",
          "nonce",
          "destination_domain",
          "wallet_id",
          "binding_id",
          "binding_revision",
          "customer_public_key",
          "recipient_reference",
          "amount_raw",
          "native_fee_unit",
          "max_fee_raw",
          "control_revision",
          "financial_control_revision",
          "source_risk_sha256",
          "destination_risk_sha256",
          "expires_at"
        ]
      },
      "CctpMintProof": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "template": {
            "$ref": "#/components/schemas/CctpMintTemplate"
          },
          "customer_signature": {
            "type": "string",
            "pattern": "^[a-f0-9]{128}$"
          }
        },
        "required": [
          "template",
          "customer_signature"
        ]
      },
      "CctpMintFact": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "protocol": {
            "const": "azums-cctp-v2-fixture-v1"
          },
          "environment": {
            "enum": [
              "local",
              "sandbox"
            ]
          },
          "organization_id": {
            "type": "string",
            "format": "uuid"
          },
          "transfer_id": {
            "type": "string",
            "format": "uuid"
          },
          "source_payout_id": {
            "type": "string",
            "format": "uuid"
          },
          "mint_identity": {
            "type": "string",
            "pattern": "^fixture_cctp_mint_[a-f0-9]{64}$"
          },
          "nonce": {
            "type": "string",
            "pattern": "^[a-f0-9]{64}$"
          },
          "destination_domain": {
            "enum": [
              5,
              6
            ]
          },
          "recipient_reference": {
            "type": "string",
            "pattern": "^fixture_wallet_[A-Za-z0-9_]{1,40}$"
          },
          "amount_raw": {
            "type": "string",
            "pattern": "^[1-9][0-9]{0,19}$"
          },
          "native_fee_unit": {
            "enum": [
              "lamports",
              "wei"
            ]
          },
          "native_fee_raw": {
            "type": "string",
            "pattern": "^[1-9][0-9]{0,19}$"
          },
          "state": {
            "enum": [
              "pending_fixture",
              "failed_fixture",
              "finalized_fixture"
            ]
          },
          "native_mint_verified": {
            "const": false
          }
        },
        "required": [
          "protocol",
          "environment",
          "organization_id",
          "transfer_id",
          "source_payout_id",
          "mint_identity",
          "nonce",
          "destination_domain",
          "recipient_reference",
          "amount_raw",
          "native_fee_unit",
          "native_fee_raw",
          "state",
          "native_mint_verified"
        ]
      },
      "CctpTransfer": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "organization_id": {
            "type": "string",
            "format": "uuid"
          },
          "environment": {
            "enum": [
              "local",
              "sandbox"
            ]
          },
          "quote_id": {
            "type": "string",
            "format": "uuid"
          },
          "merchant_reference": {
            "type": "string"
          },
          "idempotency_hash": {
            "type": "string",
            "pattern": "^[a-f0-9]{64}$"
          },
          "input_digest": {
            "type": "string",
            "pattern": "^[a-f0-9]{64}$"
          },
          "source_payout_id": {
            "type": "string",
            "format": "uuid"
          },
          "scenario": {
            "enum": [
              "success",
              "source_commit_then_timeout",
              "source_pending",
              "source_failed",
              "attestation_delayed",
              "attestation_missing",
              "attestation_malformed",
              "attestation_wrong_context",
              "mint_pending",
              "mint_failed",
              "mint_commit_then_timeout",
              "mint_unavailable_before_submit",
              "crash_after_mint_dispatch"
            ]
          },
          "revision": {
            "type": "integer",
            "minimum": 0
          },
          "phase": {
            "enum": [
              "SOURCE_BURN_PENDING",
              "ATTESTATION_PENDING",
              "DESTINATION_MINT_PENDING",
              "MINT_DISPATCHING",
              "IN_TRANSIT",
              "DESTINATION_VERIFIED",
              "CANCELLED"
            ]
          },
          "result_code": {
            "type": "string"
          },
          "attestation": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "attestation_sha256": {
            "anyOf": [
              {
                "type": "string",
                "pattern": "^[a-f0-9]{64}$"
              },
              {
                "type": "null"
              }
            ]
          },
          "mint_approval": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "mint_proof": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "mint_approved_by": {
            "anyOf": [
              {
                "type": "string",
                "format": "uuid"
              },
              {
                "type": "null"
              }
            ]
          },
          "mint_dispatches": {
            "type": "integer",
            "minimum": 0,
            "maximum": 1
          },
          "mint_identity": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "mint_evidence": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "mint_evidence_sha256": {
            "anyOf": [
              {
                "type": "string",
                "pattern": "^[a-f0-9]{64}$"
              },
              {
                "type": "null"
              }
            ]
          },
          "lookup_requested": {
            "type": "boolean"
          },
          "created_by": {
            "type": "string",
            "format": "uuid"
          },
          "created_at": {
            "type": "string"
          },
          "status": {
            "enum": [
              "SOURCE_BURN_PENDING",
              "IN_TRANSIT",
              "DESTINATION_VERIFIED_FIXTURE",
              "CANCELLED"
            ]
          },
          "source": {
            "$ref": "#/components/schemas/Payout"
          },
          "quote": {
            "$ref": "#/components/schemas/CctpQuote"
          },
          "fixture_only": {
            "const": true
          },
          "native_burn_verified": {
            "const": false
          },
          "circle_attestation_verified": {
            "const": false
          },
          "native_mint_verified": {
            "const": false
          },
          "production_enabled": {
            "const": false
          },
          "financial_credit_created": {
            "const": false
          }
        },
        "required": [
          "id",
          "organization_id",
          "environment",
          "quote_id",
          "merchant_reference",
          "idempotency_hash",
          "input_digest",
          "source_payout_id",
          "scenario",
          "revision",
          "phase",
          "result_code",
          "attestation",
          "attestation_sha256",
          "mint_approval",
          "mint_proof",
          "mint_approved_by",
          "mint_dispatches",
          "mint_identity",
          "mint_evidence",
          "mint_evidence_sha256",
          "lookup_requested",
          "created_by",
          "created_at",
          "status",
          "source",
          "quote",
          "fixture_only",
          "native_burn_verified",
          "circle_attestation_verified",
          "native_mint_verified",
          "production_enabled",
          "financial_credit_created"
        ]
      },
      "CctpTransferResult": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "transfer": {
            "$ref": "#/components/schemas/CctpTransfer"
          },
          "replayed": {
            "type": "boolean"
          },
          "request_id": {
            "type": "string",
            "format": "uuid"
          }
        },
        "required": [
          "transfer",
          "request_id"
        ]
      },
      "CctpTransfersResult": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "transfers": {
            "type": "array",
            "maxItems": 200,
            "items": {
              "$ref": "#/components/schemas/CctpTransfer"
            }
          },
          "limit": {
            "const": 200
          },
          "request_id": {
            "type": "string",
            "format": "uuid"
          }
        },
        "required": [
          "transfers",
          "limit",
          "request_id"
        ]
      },
      "CctpEvent": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "organization_id": {
            "type": "string",
            "format": "uuid"
          },
          "transfer_id": {
            "type": "string",
            "format": "uuid"
          },
          "revision": {
            "type": "integer",
            "minimum": 0
          },
          "payload": {
            "type": "string"
          },
          "payload_sha256": {
            "type": "string",
            "pattern": "^[a-f0-9]{64}$"
          },
          "created_at": {
            "type": "string"
          }
        },
        "required": [
          "id",
          "organization_id",
          "transfer_id",
          "revision",
          "payload",
          "payload_sha256",
          "created_at"
        ]
      },
      "CctpEventsResult": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "events": {
            "type": "array",
            "maxItems": 200,
            "items": {
              "$ref": "#/components/schemas/CctpEvent"
            }
          },
          "limit": {
            "const": 200
          },
          "request_id": {
            "type": "string",
            "format": "uuid"
          }
        },
        "required": [
          "events",
          "limit",
          "request_id"
        ]
      },
      "CctpControlInput": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "expected_revision": {
            "type": "integer",
            "minimum": 0
          },
          "paused": {
            "type": "boolean"
          }
        },
        "required": [
          "expected_revision",
          "paused"
        ]
      },
      "CctpControlResult": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "control": {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "paused": {
                "type": "boolean"
              },
              "revision": {
                "type": "integer",
                "minimum": 0
              },
              "production_enabled": {
                "const": false
              }
            },
            "required": [
              "paused",
              "revision",
              "production_enabled"
            ]
          },
          "request_id": {
            "type": "string",
            "format": "uuid"
          }
        },
        "required": [
          "control",
          "request_id"
        ]
      },
      "CctpCreateInput": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "quote_id": {
            "type": "string",
            "format": "uuid"
          },
          "merchant_reference": {
            "type": "string",
            "minLength": 2,
            "maxLength": 80,
            "pattern": "^[A-Za-z0-9_-]+$"
          },
          "scenario": {
            "enum": [
              "success",
              "source_commit_then_timeout",
              "source_pending",
              "source_failed",
              "attestation_delayed",
              "attestation_missing",
              "attestation_malformed",
              "attestation_wrong_context",
              "mint_pending",
              "mint_failed",
              "mint_commit_then_timeout",
              "mint_unavailable_before_submit",
              "crash_after_mint_dispatch"
            ]
          }
        },
        "required": [
          "quote_id",
          "merchant_reference",
          "scenario"
        ]
      },
      "CctpMintApproveInput": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "expected_revision": {
            "type": "integer"
          },
          "ttl_seconds": {
            "type": "integer",
            "minimum": 1,
            "maximum": 300
          }
        },
        "required": [
          "expected_revision",
          "ttl_seconds"
        ]
      },
      "CctpMintApproveResult": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "template": {
            "$ref": "#/components/schemas/CctpMintTemplate"
          },
          "transfer": {
            "$ref": "#/components/schemas/CctpTransfer"
          },
          "request_id": {
            "type": "string",
            "format": "uuid"
          }
        },
        "required": [
          "template",
          "transfer",
          "request_id"
        ]
      },
      "CctpLookupResult": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "transfer_id": {
            "type": "string",
            "format": "uuid"
          },
          "lookup": {
            "const": "original identities only; never a source reburn"
          },
          "request_id": {
            "type": "string",
            "format": "uuid"
          }
        },
        "required": [
          "transfer_id",
          "lookup",
          "request_id"
        ]
      },
      "CctpCapabilities": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "protocol": {
            "const": "azums-cctp-v2-fixture-v1"
          },
          "reference_register": {
            "const": "circle-cctp-v2-reference-2026-11-16"
          },
          "routes": {
            "const": [
              [
                5,
                6
              ],
              [
                6,
                5
              ]
            ]
          },
          "asset": {
            "const": "USDC"
          },
          "mode": {
            "const": "standard_fixture_only"
          },
          "physical_network": {
            "const": "none"
          },
          "fast_transfer": {
            "const": false
          },
          "forwarder": {
            "const": false
          },
          "source_sponsorship": {
            "const": false
          },
          "destination_customer_approval_required": {
            "const": true
          },
          "circle_connected": {
            "const": false
          },
          "native_transaction_encoding": {
            "const": false
          },
          "native_burn_verified": {
            "const": false
          },
          "native_mint_verified": {
            "const": false
          },
          "production_enabled": {
            "const": false
          },
          "request_id": {
            "type": "string",
            "format": "uuid"
          }
        },
        "required": [
          "protocol",
          "reference_register",
          "routes",
          "asset",
          "mode",
          "physical_network",
          "fast_transfer",
          "forwarder",
          "source_sponsorship",
          "destination_customer_approval_required",
          "circle_connected",
          "native_transaction_encoding",
          "native_burn_verified",
          "native_mint_verified",
          "production_enabled",
          "request_id"
        ]
      },
      "OutcomeCreate": {
        "type": "object",
        "properties": {
          "merchant_reference": {
            "type": "string",
            "minLength": 1,
            "maxLength": 80
          },
          "kind": {
            "enum": [
              "order",
              "invoice",
              "payout_obligation"
            ]
          },
          "direction": {
            "enum": [
              "incoming",
              "outgoing"
            ]
          },
          "asset_id": {
            "enum": [
              "USDC_SOL",
              "USDT_SOL",
              "USDC_BASE"
            ]
          },
          "asset_version": {
            "type": "string"
          },
          "destination_reference": {
            "type": "string",
            "pattern": "^fixture_",
            "maxLength": 100
          },
          "amount_raw": {
            "type": "string",
            "pattern": "^[1-9][0-9]*$",
            "maxLength": 90
          },
          "deadline_epoch": {
            "type": "integer",
            "minimum": 1
          },
          "partial_policy": {
            "enum": [
              "require_full",
              "accept_partial"
            ]
          },
          "overpayment_policy": {
            "enum": [
              "review",
              "accept"
            ]
          },
          "late_policy": {
            "enum": [
              "review",
              "accept"
            ]
          },
          "require_ledger_ack": {
            "type": "boolean"
          },
          "checkout_order_id": {
            "anyOf": [
              {
                "type": "string",
                "format": "uuid"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "merchant_reference",
          "kind",
          "direction",
          "asset_id",
          "asset_version",
          "destination_reference",
          "amount_raw",
          "deadline_epoch",
          "partial_policy",
          "overpayment_policy",
          "late_policy",
          "require_ledger_ack"
        ],
        "additionalProperties": false
      },
      "OutcomeAllocationInput": {
        "type": "object",
        "properties": {
          "source_kind": {
            "enum": [
              "collection_movement",
              "payout"
            ]
          },
          "source_id": {
            "type": "string",
            "format": "uuid"
          },
          "amount_raw": {
            "type": "string",
            "pattern": "^[1-9][0-9]*$",
            "maxLength": 90
          }
        },
        "required": [
          "source_kind",
          "source_id",
          "amount_raw"
        ],
        "additionalProperties": false
      },
      "OutcomeAllocate": {
        "type": "object",
        "properties": {
          "allocations": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/OutcomeAllocationInput"
            },
            "minItems": 1,
            "maxItems": 20
          }
        },
        "required": [
          "allocations"
        ],
        "additionalProperties": false
      },
      "OutcomeAcknowledge": {
        "type": "object",
        "properties": {
          "expected_assertion_revision": {
            "type": "integer",
            "minimum": 0
          },
          "assessment_revision": {
            "type": "integer",
            "minimum": 1
          },
          "assessment_sha256": {
            "type": "string",
            "pattern": "^[a-f0-9]{64}$"
          },
          "status": {
            "enum": [
              "accepted",
              "rejected"
            ]
          },
          "ledger_reference": {
            "type": "string",
            "minLength": 1,
            "maxLength": 80
          },
          "statement": {
            "type": "string",
            "minLength": 1,
            "maxLength": 240
          }
        },
        "required": [
          "expected_assertion_revision",
          "assessment_revision",
          "assessment_sha256",
          "status",
          "ledger_reference",
          "statement"
        ],
        "additionalProperties": false
      },
      "OutcomeDisputeInput": {
        "type": "object",
        "properties": {
          "expected_revision": {
            "type": "integer"
          },
          "reason": {
            "type": "string",
            "minLength": 1,
            "maxLength": 240
          }
        },
        "required": [
          "expected_revision",
          "reason"
        ],
        "additionalProperties": false
      },
      "OutcomeResolveInput": {
        "type": "object",
        "properties": {
          "expected_revision": {
            "type": "integer"
          },
          "resolution": {
            "type": "string",
            "minLength": 1,
            "maxLength": 240
          }
        },
        "required": [
          "expected_revision",
          "resolution"
        ],
        "additionalProperties": false
      },
      "OutcomeSummary": {
        "type": "object",
        "properties": {
          "chain_state": {
            "enum": [
              "UNKNOWN_OR_CONFLICT_FIXTURE",
              "PENDING_FINALITY_FIXTURE",
              "FINALIZED_FIXTURE",
              "FAILED_FIXTURE",
              "NO_FINALIZED_EVIDENCE"
            ]
          },
          "matching_state": {
            "enum": [
              "MISMATCH_REVIEW",
              "LATE_PAYMENT_REVIEW",
              "OVERPAID",
              "EXACT",
              "PARTIAL",
              "UNMATCHED"
            ]
          },
          "ledger_state": {
            "enum": [
              "MISSING",
              "STALE_CUSTOMER_ASSERTION",
              "ACKNOWLEDGED_CUSTOMER_ASSERTION",
              "REJECTED_CUSTOMER_ASSERTION"
            ]
          },
          "business_state": {
            "enum": [
              "DISPUTED",
              "REVIEW_REQUIRED",
              "DEADLINE_PASSED_UNFULFILLED",
              "PENDING_CHAIN_OR_AMOUNT",
              "PENDING_LEDGER_ACK",
              "PARTIALLY_FULFILLED_FIXTURE",
              "FULFILLED_FIXTURE"
            ]
          },
          "finalized_raw": {
            "type": "string",
            "pattern": "^(0|[1-9][0-9]*)$",
            "maxLength": 90
          },
          "pending_raw": {
            "type": "string",
            "pattern": "^(0|[1-9][0-9]*)$",
            "maxLength": 90
          },
          "late_raw": {
            "type": "string",
            "pattern": "^(0|[1-9][0-9]*)$",
            "maxLength": 90
          },
          "remaining_raw": {
            "type": "string",
            "pattern": "^(0|[1-9][0-9]*)$",
            "maxLength": 90
          },
          "overpaid_raw": {
            "type": "string",
            "pattern": "^(0|[1-9][0-9]*)$",
            "maxLength": 90
          },
          "mismatches": {
            "type": "integer"
          },
          "source_holds": {
            "type": "integer"
          },
          "disputed": {
            "type": "boolean"
          },
          "native_chain_verified": {
            "type": "boolean",
            "const": false
          },
          "independent_chain_proof": {
            "type": "boolean",
            "const": false
          },
          "actual_invoice_settled": {
            "type": "boolean",
            "const": false
          },
          "financial_credit_created": {
            "type": "boolean",
            "const": false
          },
          "customer_assertion_id": {
            "anyOf": [
              {
                "type": "string",
                "format": "uuid"
              },
              {
                "type": "null"
              }
            ]
          },
          "assertion_revision": {
            "type": "integer"
          }
        },
        "required": [
          "chain_state",
          "matching_state",
          "ledger_state",
          "business_state",
          "finalized_raw",
          "pending_raw",
          "late_raw",
          "remaining_raw",
          "overpaid_raw",
          "mismatches",
          "source_holds",
          "disputed",
          "native_chain_verified",
          "independent_chain_proof",
          "actual_invoice_settled",
          "financial_credit_created",
          "customer_assertion_id",
          "assertion_revision"
        ],
        "additionalProperties": false
      },
      "OutcomeSource": {
        "type": "object",
        "properties": {
          "kind": {
            "enum": [
              "collection_movement",
              "payout"
            ]
          },
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "network_id": {
            "type": "string"
          },
          "asset_id": {
            "type": "string"
          },
          "asset_version": {
            "type": "string"
          },
          "destination_reference": {
            "type": "string"
          },
          "amount_raw": {
            "type": "string",
            "pattern": "^[1-9][0-9]*$",
            "maxLength": 90
          },
          "state": {
            "enum": [
              "finalized",
              "hold",
              "failed",
              "pending"
            ]
          },
          "first_retained_epoch": {
            "type": "integer"
          },
          "source_revision": {
            "type": "string"
          },
          "reference": {
            "type": "object"
          },
          "provenance": {
            "enum": [
              "azums_elapsed_clock_payout_fixture",
              "azums_rpc_shaped_collection_fixture"
            ]
          },
          "native_chain_verified": {
            "type": "boolean",
            "const": false
          },
          "independent_chain_proof": {
            "type": "boolean",
            "const": false
          }
        },
        "required": [
          "kind",
          "id",
          "network_id",
          "asset_id",
          "asset_version",
          "destination_reference",
          "amount_raw",
          "state",
          "first_retained_epoch",
          "source_revision",
          "reference",
          "provenance",
          "native_chain_verified",
          "independent_chain_proof"
        ],
        "additionalProperties": false
      },
      "OutcomeFact": {
        "type": "object",
        "properties": {
          "allocation_id": {
            "type": "string",
            "format": "uuid"
          },
          "amount_raw": {
            "type": "string",
            "pattern": "^[1-9][0-9]*$",
            "maxLength": 90
          },
          "classification": {
            "enum": [
              "wrong_direction",
              "wrong_asset_or_network",
              "wrong_recipient",
              "wrong_checkout_collection",
              "source_hold",
              "failed",
              "pending",
              "late",
              "finalized",
              "source_capacity_conflict"
            ]
          },
          "source": {
            "$ref": "#/components/schemas/OutcomeSource"
          }
        },
        "required": [
          "allocation_id",
          "amount_raw",
          "classification",
          "source"
        ],
        "additionalProperties": false
      },
      "OutcomeAssessment": {
        "type": "object",
        "properties": {
          "facts": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/OutcomeFact"
            },
            "maxItems": 200
          },
          "provenance": {
            "const": "retained_internal_fixtures"
          },
          "native_chain_verified": {
            "type": "boolean",
            "const": false
          },
          "independent_chain_proof": {
            "type": "boolean",
            "const": false
          },
          "deadline_epoch": {
            "type": "integer",
            "minimum": 1
          }
        },
        "required": [
          "facts",
          "deadline_epoch",
          "provenance",
          "native_chain_verified",
          "independent_chain_proof"
        ],
        "additionalProperties": false
      },
      "OutcomeObligation": {
        "type": "object",
        "properties": {
          "merchant_reference": {
            "type": "string",
            "minLength": 1,
            "maxLength": 80
          },
          "kind": {
            "enum": [
              "order",
              "invoice",
              "payout_obligation"
            ]
          },
          "direction": {
            "enum": [
              "incoming",
              "outgoing"
            ]
          },
          "asset_id": {
            "enum": [
              "USDC_SOL",
              "USDT_SOL",
              "USDC_BASE"
            ]
          },
          "asset_version": {
            "type": "string"
          },
          "destination_reference": {
            "type": "string",
            "pattern": "^fixture_",
            "maxLength": 100
          },
          "amount_raw": {
            "type": "string",
            "pattern": "^[1-9][0-9]*$",
            "maxLength": 90
          },
          "deadline_epoch": {
            "type": "integer",
            "minimum": 1
          },
          "partial_policy": {
            "enum": [
              "require_full",
              "accept_partial"
            ]
          },
          "overpayment_policy": {
            "enum": [
              "review",
              "accept"
            ]
          },
          "late_policy": {
            "enum": [
              "review",
              "accept"
            ]
          },
          "require_ledger_ack": {
            "type": "boolean"
          },
          "checkout_order_id": {
            "anyOf": [
              {
                "type": "string",
                "format": "uuid"
              },
              {
                "type": "null"
              }
            ]
          },
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "organization_id": {
            "type": "string",
            "format": "uuid"
          },
          "environment": {
            "enum": [
              "local",
              "sandbox"
            ]
          },
          "network_id": {
            "type": "string"
          },
          "created_by": {
            "type": "string",
            "format": "uuid"
          },
          "actor_key_id": {
            "anyOf": [
              {
                "type": "string",
                "format": "uuid"
              },
              {
                "type": "null"
              }
            ]
          },
          "request_id": {
            "type": "string",
            "format": "uuid"
          },
          "created_at": {
            "type": "string"
          },
          "revision": {
            "type": "integer"
          },
          "assessment_revision": {
            "type": "integer"
          },
          "assessment_sha256": {
            "type": "string"
          },
          "assessment": {
            "$ref": "#/components/schemas/OutcomeAssessment"
          },
          "summary": {
            "$ref": "#/components/schemas/OutcomeSummary"
          },
          "fixture_only": {
            "const": true
          },
          "production_enabled": {
            "type": "boolean",
            "const": false
          }
        },
        "required": [
          "merchant_reference",
          "kind",
          "direction",
          "asset_id",
          "asset_version",
          "destination_reference",
          "amount_raw",
          "deadline_epoch",
          "partial_policy",
          "overpayment_policy",
          "late_policy",
          "require_ledger_ack",
          "checkout_order_id",
          "id",
          "organization_id",
          "environment",
          "network_id",
          "created_by",
          "actor_key_id",
          "request_id",
          "created_at",
          "revision",
          "assessment_revision",
          "assessment_sha256",
          "assessment",
          "summary",
          "fixture_only",
          "production_enabled"
        ],
        "additionalProperties": false
      },
      "OutcomeObligationResult": {
        "type": "object",
        "properties": {
          "request_id": {
            "type": "string",
            "format": "uuid"
          },
          "obligation": {
            "$ref": "#/components/schemas/OutcomeObligation"
          },
          "replayed": {
            "type": "boolean"
          },
          "dispute_id": {
            "type": "string",
            "format": "uuid"
          }
        },
        "required": [
          "request_id",
          "obligation"
        ],
        "additionalProperties": false
      },
      "OutcomeListItem": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "merchant_reference": {
            "type": "string"
          },
          "kind": {
            "type": "string"
          },
          "asset_id": {
            "type": "string"
          },
          "amount_raw": {
            "type": "string",
            "pattern": "^[1-9][0-9]*$",
            "maxLength": 90
          },
          "requires_current_evaluation": {
            "const": true
          }
        },
        "required": [
          "id",
          "merchant_reference",
          "kind",
          "asset_id",
          "amount_raw",
          "requires_current_evaluation"
        ],
        "additionalProperties": false
      },
      "OutcomeListResult": {
        "type": "object",
        "properties": {
          "request_id": {
            "type": "string",
            "format": "uuid"
          },
          "obligations": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/OutcomeListItem"
            }
          },
          "limit": {
            "const": 100
          }
        },
        "required": [
          "request_id",
          "obligations",
          "limit"
        ],
        "additionalProperties": false
      },
      "OutcomeAllocation": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "organization_id": {
            "type": "string",
            "format": "uuid"
          },
          "obligation_id": {
            "type": "string",
            "format": "uuid"
          },
          "source_kind": {
            "enum": [
              "collection_movement",
              "payout"
            ]
          },
          "source_id": {
            "type": "string",
            "format": "uuid"
          },
          "amount_raw": {
            "type": "string",
            "pattern": "^[1-9][0-9]*$",
            "maxLength": 90
          },
          "source_snapshot": {
            "type": "string"
          },
          "source_snapshot_sha256": {
            "type": "string"
          },
          "created_by": {
            "type": "string",
            "format": "uuid"
          },
          "actor_key_id": {
            "anyOf": [
              {
                "type": "string",
                "format": "uuid"
              },
              {
                "type": "null"
              }
            ]
          },
          "request_id": {
            "type": "string",
            "format": "uuid"
          },
          "created_at": {
            "type": "string"
          }
        },
        "required": [
          "id",
          "organization_id",
          "obligation_id",
          "source_kind",
          "source_id",
          "amount_raw",
          "source_snapshot",
          "source_snapshot_sha256",
          "created_by",
          "actor_key_id",
          "request_id",
          "created_at"
        ],
        "additionalProperties": false
      },
      "OutcomeAssertion": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "organization_id": {
            "type": "string",
            "format": "uuid"
          },
          "obligation_id": {
            "type": "string",
            "format": "uuid"
          },
          "assertion_revision": {
            "type": "integer"
          },
          "assessment_revision": {
            "type": "integer"
          },
          "assessment_sha256": {
            "type": "string"
          },
          "status": {
            "enum": [
              "accepted",
              "rejected"
            ]
          },
          "ledger_reference": {
            "type": "string"
          },
          "statement": {
            "type": "string"
          },
          "created_by": {
            "type": "string",
            "format": "uuid"
          },
          "request_id": {
            "type": "string",
            "format": "uuid"
          },
          "created_at": {
            "type": "string"
          },
          "provenance": {
            "const": "authenticated_customer_assertion"
          },
          "independent_chain_proof": {
            "type": "boolean",
            "const": false
          },
          "verified_erp_delivery": {
            "type": "boolean",
            "const": false
          }
        },
        "required": [
          "id",
          "organization_id",
          "obligation_id",
          "assertion_revision",
          "assessment_revision",
          "assessment_sha256",
          "status",
          "ledger_reference",
          "statement",
          "created_by",
          "request_id",
          "created_at",
          "provenance",
          "independent_chain_proof",
          "verified_erp_delivery"
        ],
        "additionalProperties": false
      },
      "OutcomeDispute": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "organization_id": {
            "type": "string",
            "format": "uuid"
          },
          "obligation_id": {
            "type": "string",
            "format": "uuid"
          },
          "reason": {
            "type": "string"
          },
          "opened_by": {
            "type": "string",
            "format": "uuid"
          },
          "request_id": {
            "type": "string",
            "format": "uuid"
          },
          "opened_at": {
            "type": "string"
          },
          "revision": {
            "type": "integer"
          },
          "status": {
            "enum": [
              "open",
              "resolved"
            ]
          },
          "resolution": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "resolved_by": {
            "anyOf": [
              {
                "type": "string",
                "format": "uuid"
              },
              {
                "type": "null"
              }
            ]
          },
          "resolved_at": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "id",
          "organization_id",
          "obligation_id",
          "reason",
          "opened_by",
          "request_id",
          "opened_at",
          "revision",
          "status",
          "resolution",
          "resolved_by",
          "resolved_at"
        ],
        "additionalProperties": false
      },
      "OutcomeEvent": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "organization_id": {
            "type": "string",
            "format": "uuid"
          },
          "obligation_id": {
            "type": "string",
            "format": "uuid"
          },
          "revision": {
            "type": "integer"
          },
          "event_type": {
            "type": "string"
          },
          "payload": {
            "type": "string"
          },
          "payload_sha256": {
            "type": "string"
          },
          "created_at": {
            "type": "string"
          }
        },
        "required": [
          "id",
          "organization_id",
          "obligation_id",
          "revision",
          "event_type",
          "payload",
          "payload_sha256",
          "created_at"
        ],
        "additionalProperties": false
      },
      "OutcomeAllocationsResult": {
        "type": "object",
        "properties": {
          "request_id": {
            "type": "string",
            "format": "uuid"
          },
          "allocations": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/OutcomeAllocation"
            }
          },
          "limit": {
            "const": 1000
          }
        },
        "required": [
          "request_id",
          "allocations",
          "limit"
        ],
        "additionalProperties": false
      },
      "OutcomeAcknowledgementsResult": {
        "type": "object",
        "properties": {
          "request_id": {
            "type": "string",
            "format": "uuid"
          },
          "acknowledgements": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/OutcomeAssertion"
            }
          },
          "limit": {
            "const": 1000
          }
        },
        "required": [
          "request_id",
          "acknowledgements",
          "limit"
        ],
        "additionalProperties": false
      },
      "OutcomeDisputesResult": {
        "type": "object",
        "properties": {
          "request_id": {
            "type": "string",
            "format": "uuid"
          },
          "disputes": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/OutcomeDispute"
            }
          },
          "limit": {
            "const": 1000
          }
        },
        "required": [
          "request_id",
          "disputes",
          "limit"
        ],
        "additionalProperties": false
      },
      "OutcomeEventsResult": {
        "type": "object",
        "properties": {
          "request_id": {
            "type": "string",
            "format": "uuid"
          },
          "events": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/OutcomeEvent"
            }
          },
          "limit": {
            "const": 1000
          }
        },
        "required": [
          "request_id",
          "events",
          "limit"
        ],
        "additionalProperties": false
      },
      "OutcomeCapabilities": {
        "type": "object",
        "properties": {
          "request_id": {
            "type": "string",
            "format": "uuid"
          },
          "mode": {
            "const": "retained_fixture_outcomes"
          },
          "source_kinds": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "allocation_limit": {
            "const": 200
          },
          "allocation_batch_limit": {
            "const": 20
          },
          "customer_assertions_are_chain_proof": {
            "type": "boolean",
            "const": false
          },
          "native_chain_verified": {
            "type": "boolean",
            "const": false
          },
          "actual_invoice_settled": {
            "type": "boolean",
            "const": false
          },
          "receipt_signing_enabled": {
            "type": "boolean",
            "const": true
          },
          "billing_enabled": {
            "type": "boolean",
            "const": false
          },
          "production_enabled": {
            "type": "boolean",
            "const": false
          }
        },
        "required": [
          "request_id",
          "mode",
          "source_kinds",
          "allocation_limit",
          "allocation_batch_limit",
          "customer_assertions_are_chain_proof",
          "native_chain_verified",
          "actual_invoice_settled",
          "receipt_signing_enabled",
          "billing_enabled",
          "production_enabled"
        ],
        "additionalProperties": false
      },
      "Empty": {
        "type": "object",
        "properties": {},
        "required": [],
        "additionalProperties": false
      },
      "EvidenceCreate": {
        "type": "object",
        "properties": {
          "expected_revision": {
            "type": "integer",
            "minimum": 1
          },
          "scenario": {
            "enum": [
              "success",
              "issuer_unavailable",
              "commit_then_timeout",
              "crash_after_dispatch"
            ]
          }
        },
        "required": [
          "expected_revision"
        ],
        "additionalProperties": false
      },
      "EvidenceStatement": {
        "type": "object",
        "properties": {
          "protocol": {
            "const": "azums-outcome-receipt-v1"
          },
          "receipt_id": {
            "type": "string",
            "format": "uuid"
          },
          "organization_id": {
            "type": "string",
            "format": "uuid"
          },
          "environment": {
            "enum": [
              "local",
              "sandbox"
            ]
          },
          "obligation_id": {
            "type": "string",
            "format": "uuid"
          },
          "outcome_revision": {
            "type": "integer",
            "minimum": 1
          },
          "assessment_revision": {
            "type": "integer",
            "minimum": 1
          },
          "assessment_sha256": {
            "type": "string",
            "pattern": "^[0-9a-f]{64}$"
          },
          "summary_sha256": {
            "type": "string",
            "pattern": "^[0-9a-f]{64}$"
          },
          "bundle_sha256": {
            "type": "string",
            "pattern": "^[0-9a-f]{64}$"
          },
          "reconciliation_sha256": {
            "type": "string",
            "pattern": "^[0-9a-f]{64}$"
          },
          "issued_at_epoch": {
            "type": "integer",
            "minimum": 1
          },
          "issuer_key_id": {
            "type": "string",
            "pattern": "^[0-9a-f]{64}$"
          },
          "as_of_only": {
            "const": true,
            "type": "boolean"
          },
          "native_chain_verified": {
            "const": false,
            "type": "boolean"
          },
          "actual_erp_delivery_verified": {
            "const": false,
            "type": "boolean"
          },
          "actual_invoice_settled": {
            "const": false,
            "type": "boolean"
          },
          "financial_credit_created": {
            "const": false,
            "type": "boolean"
          }
        },
        "required": [
          "protocol",
          "receipt_id",
          "organization_id",
          "environment",
          "obligation_id",
          "outcome_revision",
          "assessment_revision",
          "assessment_sha256",
          "summary_sha256",
          "bundle_sha256",
          "reconciliation_sha256",
          "issued_at_epoch",
          "issuer_key_id",
          "as_of_only",
          "native_chain_verified",
          "actual_erp_delivery_verified",
          "actual_invoice_settled",
          "financial_credit_created"
        ],
        "additionalProperties": false
      },
      "EvidenceSigned": {
        "type": "object",
        "properties": {
          "statement": {
            "$ref": "#/components/schemas/EvidenceStatement"
          },
          "statement_document": {
            "type": "string"
          },
          "issuer_public_key": {
            "type": "string",
            "pattern": "^[0-9a-f]{64}$"
          },
          "signature_algorithm": {
            "const": "Ed25519"
          },
          "signature": {
            "type": "string",
            "pattern": "^[0-9a-f]{128}$"
          }
        },
        "required": [
          "statement",
          "statement_document",
          "issuer_public_key",
          "signature_algorithm",
          "signature"
        ],
        "additionalProperties": false
      },
      "EvidenceFact": {
        "type": "object",
        "properties": {
          "ordinal": {
            "type": "integer",
            "minimum": 0
          },
          "source": {
            "enum": [
              "customer_ledger",
              "azums_outcome_projection",
              "azums_payout_fixture",
              "azums_rpc_fixture",
              "azums_treasury_fixture",
              "azums_risk_fixture"
            ]
          },
          "source_reference": {
            "type": "string"
          },
          "claim_type": {
            "type": "string"
          },
          "trust_level": {
            "enum": [
              "AUTHENTICATED_CUSTOMER_ASSERTION",
              "AZUMS_LOCAL_PROJECTION",
              "INTERNAL_SIMULATION"
            ]
          },
          "verifier_version": {
            "const": "azums-evidence-fixture-v1"
          },
          "observed_at_epoch": {
            "type": "integer",
            "minimum": 1
          },
          "observed_at_kind": {
            "const": "azums_snapshot_capture"
          },
          "document": {
            "type": "string"
          },
          "document_sha256": {
            "type": "string",
            "pattern": "^[0-9a-f]{64}$"
          },
          "independent_verification": {
            "const": false,
            "type": "boolean"
          }
        },
        "required": [
          "ordinal",
          "source",
          "source_reference",
          "claim_type",
          "trust_level",
          "verifier_version",
          "observed_at_epoch",
          "observed_at_kind",
          "document",
          "document_sha256",
          "independent_verification"
        ],
        "additionalProperties": false
      },
      "EvidenceBundle": {
        "type": "object",
        "properties": {
          "protocol": {
            "const": "azums-evidence-bundle-v1"
          },
          "environment": {
            "enum": [
              "local",
              "sandbox"
            ]
          },
          "organization_id": {
            "type": "string",
            "format": "uuid"
          },
          "obligation": {
            "$ref": "#/components/schemas/OutcomeObligation"
          },
          "facts": {
            "type": "array",
            "maxItems": 1000,
            "items": {
              "$ref": "#/components/schemas/EvidenceFact"
            }
          }
        },
        "required": [
          "protocol",
          "environment",
          "organization_id",
          "obligation",
          "facts"
        ],
        "additionalProperties": false
      },
      "EvidenceReceipt": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "environment": {
            "enum": [
              "local",
              "sandbox"
            ]
          },
          "obligation_id": {
            "type": "string",
            "format": "uuid"
          },
          "state": {
            "enum": [
              "PENDING",
              "DISPATCHING",
              "ISSUED",
              "UNKNOWN",
              "BLOCKED_AUTHORITY"
            ]
          },
          "result_code": {
            "type": "string"
          },
          "revision": {
            "type": "integer",
            "minimum": 0
          },
          "dispatches": {
            "type": "integer",
            "minimum": 0,
            "maximum": 1
          },
          "statement": {
            "$ref": "#/components/schemas/EvidenceStatement"
          },
          "issuer_public_key": {
            "type": "string",
            "pattern": "^[0-9a-f]{64}$"
          },
          "signed_receipt": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/EvidenceSigned"
              },
              {
                "type": "null"
              }
            ]
          },
          "currentness": {
            "enum": [
              "CURRENT_OUTCOME_PROJECTION",
              "STALE_OUTCOME_PROJECTION"
            ]
          },
          "current_outcome_revision": {
            "type": "integer",
            "minimum": 1
          },
          "currentness_scope": {
            "const": "M26 projection comparison only; not native/ERP verification"
          },
          "as_of_only": {
            "const": true,
            "type": "boolean"
          },
          "native_chain_verified": {
            "const": false,
            "type": "boolean"
          },
          "actual_invoice_settled": {
            "const": false,
            "type": "boolean"
          }
        },
        "required": [
          "id",
          "environment",
          "obligation_id",
          "state",
          "result_code",
          "revision",
          "dispatches",
          "statement",
          "issuer_public_key",
          "signed_receipt",
          "currentness",
          "current_outcome_revision",
          "currentness_scope",
          "as_of_only",
          "native_chain_verified",
          "actual_invoice_settled"
        ],
        "additionalProperties": false
      },
      "EvidenceExport": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "environment": {
            "enum": [
              "local",
              "sandbox"
            ]
          },
          "obligation_id": {
            "type": "string",
            "format": "uuid"
          },
          "state": {
            "enum": [
              "PENDING",
              "DISPATCHING",
              "ISSUED",
              "UNKNOWN",
              "BLOCKED_AUTHORITY"
            ]
          },
          "result_code": {
            "type": "string"
          },
          "revision": {
            "type": "integer",
            "minimum": 0
          },
          "dispatches": {
            "type": "integer",
            "minimum": 0,
            "maximum": 1
          },
          "statement": {
            "$ref": "#/components/schemas/EvidenceStatement"
          },
          "issuer_public_key": {
            "type": "string",
            "pattern": "^[0-9a-f]{64}$"
          },
          "signed_receipt": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/EvidenceSigned"
              },
              {
                "type": "null"
              }
            ]
          },
          "currentness": {
            "enum": [
              "CURRENT_OUTCOME_PROJECTION",
              "STALE_OUTCOME_PROJECTION"
            ]
          },
          "current_outcome_revision": {
            "type": "integer",
            "minimum": 1
          },
          "currentness_scope": {
            "const": "M26 projection comparison only; not native/ERP verification"
          },
          "as_of_only": {
            "const": true,
            "type": "boolean"
          },
          "native_chain_verified": {
            "const": false,
            "type": "boolean"
          },
          "actual_invoice_settled": {
            "const": false,
            "type": "boolean"
          },
          "bundle_document": {
            "type": "string",
            "maxLength": 1048576
          },
          "reconciliation_document": {
            "type": "string",
            "maxLength": 262144
          },
          "csv_format": {
            "type": "string"
          }
        },
        "required": [
          "id",
          "environment",
          "obligation_id",
          "state",
          "result_code",
          "revision",
          "dispatches",
          "statement",
          "issuer_public_key",
          "signed_receipt",
          "currentness",
          "current_outcome_revision",
          "currentness_scope",
          "as_of_only",
          "native_chain_verified",
          "actual_invoice_settled",
          "bundle_document",
          "reconciliation_document",
          "csv_format"
        ],
        "additionalProperties": false
      },
      "EvidenceCreateResult": {
        "type": "object",
        "properties": {
          "request_id": {
            "type": "string",
            "format": "uuid"
          },
          "receipt": {
            "$ref": "#/components/schemas/EvidenceReceipt"
          },
          "replayed": {
            "type": "boolean"
          }
        },
        "required": [
          "request_id",
          "receipt",
          "replayed"
        ],
        "additionalProperties": false
      },
      "EvidenceReceiptResult": {
        "type": "object",
        "properties": {
          "request_id": {
            "type": "string",
            "format": "uuid"
          },
          "receipt": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/EvidenceReceipt"
              },
              {
                "$ref": "#/components/schemas/EvidenceExport"
              }
            ]
          }
        },
        "required": [
          "request_id",
          "receipt"
        ],
        "additionalProperties": false
      },
      "EvidenceCapabilities": {
        "type": "object",
        "properties": {
          "request_id": {
            "type": "string",
            "format": "uuid"
          },
          "protocol": {
            "const": "azums-outcome-receipt-v1"
          },
          "algorithm": {
            "const": "Ed25519"
          },
          "max_bundle_bytes": {
            "const": 1048576
          },
          "issuer_signature_means": {
            "const": "Azums issued this as-of statement"
          },
          "external_trust_anchor_required": {
            "const": true,
            "type": "boolean"
          },
          "native_chain_verified": {
            "const": false,
            "type": "boolean"
          },
          "actual_erp_delivery_verified": {
            "const": false,
            "type": "boolean"
          },
          "financial_credit_created": {
            "const": false,
            "type": "boolean"
          },
          "billing_enabled": {
            "const": false,
            "type": "boolean"
          },
          "production_enabled": {
            "const": false,
            "type": "boolean"
          }
        },
        "required": [
          "request_id",
          "protocol",
          "algorithm",
          "max_bundle_bytes",
          "issuer_signature_means",
          "external_trust_anchor_required",
          "native_chain_verified",
          "actual_erp_delivery_verified",
          "financial_credit_created",
          "billing_enabled",
          "production_enabled"
        ],
        "additionalProperties": false
      },
      "EvidenceIssuerKey": {
        "type": "object",
        "properties": {
          "request_id": {
            "type": "string",
            "format": "uuid"
          },
          "issuer_public_key": {
            "type": "string",
            "pattern": "^[0-9a-f]{64}$"
          },
          "issuer_key_id": {
            "type": "string",
            "pattern": "^[0-9a-f]{64}$"
          },
          "environment": {
            "enum": [
              "local",
              "sandbox"
            ]
          },
          "purpose": {
            "const": "azums-outcome-receipt-v1"
          },
          "source": {
            "const": "configured_local_Azums_receipt_issuer"
          },
          "production_key_certified": {
            "const": false,
            "type": "boolean"
          }
        },
        "required": [
          "request_id",
          "issuer_public_key",
          "issuer_key_id",
          "environment",
          "purpose",
          "source",
          "production_key_certified"
        ],
        "additionalProperties": false
      },
      "EvidenceReceiptMetadata": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "obligation_id": {
            "type": "string",
            "format": "uuid"
          },
          "state": {
            "enum": [
              "PENDING",
              "DISPATCHING",
              "ISSUED",
              "UNKNOWN",
              "BLOCKED_AUTHORITY"
            ]
          },
          "outcome_revision": {
            "type": "integer",
            "minimum": 1
          },
          "issuer_key_id": {
            "type": "string",
            "pattern": "^[0-9a-f]{64}$"
          },
          "created_at": {
            "type": "string"
          }
        },
        "required": [
          "id",
          "obligation_id",
          "state",
          "outcome_revision",
          "issuer_key_id",
          "created_at"
        ],
        "additionalProperties": false
      },
      "EvidenceReceiptList": {
        "type": "object",
        "properties": {
          "request_id": {
            "type": "string",
            "format": "uuid"
          },
          "receipts": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/EvidenceReceiptMetadata"
            }
          },
          "limit": {
            "enum": [
              200,
              201
            ]
          }
        },
        "required": [
          "request_id",
          "receipts",
          "limit"
        ],
        "additionalProperties": false
      },
      "EvidenceFactRow": {
        "type": "object",
        "properties": {
          "ordinal": {
            "type": "integer",
            "minimum": 0
          },
          "source": {
            "enum": [
              "customer_ledger",
              "azums_outcome_projection",
              "azums_payout_fixture",
              "azums_rpc_fixture",
              "azums_treasury_fixture",
              "azums_risk_fixture"
            ]
          },
          "source_reference": {
            "type": "string"
          },
          "claim_type": {
            "type": "string"
          },
          "trust_level": {
            "enum": [
              "AUTHENTICATED_CUSTOMER_ASSERTION",
              "AZUMS_LOCAL_PROJECTION",
              "INTERNAL_SIMULATION"
            ]
          },
          "verifier_version": {
            "const": "azums-evidence-fixture-v1"
          },
          "observed_at_epoch": {
            "type": "integer",
            "minimum": 1
          },
          "observed_at_kind": {
            "const": "azums_snapshot_capture"
          },
          "document": {
            "type": "string"
          },
          "document_sha256": {
            "type": "string",
            "pattern": "^[0-9a-f]{64}$"
          },
          "independent_verification": {
            "const": false,
            "type": "boolean"
          },
          "organization_id": {
            "type": "string",
            "format": "uuid"
          },
          "receipt_id": {
            "type": "string",
            "format": "uuid"
          }
        },
        "required": [
          "ordinal",
          "source",
          "source_reference",
          "claim_type",
          "trust_level",
          "verifier_version",
          "observed_at_epoch",
          "observed_at_kind",
          "document",
          "document_sha256",
          "independent_verification",
          "organization_id",
          "receipt_id"
        ],
        "additionalProperties": false
      },
      "EvidenceEventRow": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "organization_id": {
            "type": "string",
            "format": "uuid"
          },
          "receipt_id": {
            "type": "string",
            "format": "uuid"
          },
          "revision": {
            "type": "integer",
            "minimum": 0
          },
          "payload": {
            "type": "string"
          },
          "payload_sha256": {
            "type": "string",
            "pattern": "^[0-9a-f]{64}$"
          },
          "created_at": {
            "type": "string"
          }
        },
        "required": [
          "id",
          "organization_id",
          "receipt_id",
          "revision",
          "payload",
          "payload_sha256",
          "created_at"
        ],
        "additionalProperties": false
      },
      "EvidenceFactsResult": {
        "type": "object",
        "properties": {
          "request_id": {
            "type": "string",
            "format": "uuid"
          },
          "facts": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/EvidenceFactRow"
            }
          },
          "events": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/EvidenceEventRow"
            }
          },
          "immutable": {
            "const": true,
            "type": "boolean"
          }
        },
        "required": [
          "request_id",
          "facts",
          "events",
          "immutable"
        ],
        "additionalProperties": false
      },
      "EvidenceUnsignedResult": {
        "type": "object",
        "properties": {
          "request_id": {
            "type": "string",
            "format": "uuid"
          },
          "bundle_document": {
            "type": "string"
          },
          "bundle_sha256": {
            "type": "string",
            "pattern": "^[0-9a-f]{64}$"
          },
          "signed": {
            "const": false,
            "type": "boolean"
          },
          "native_chain_verified": {
            "const": false,
            "type": "boolean"
          }
        },
        "required": [
          "request_id",
          "bundle_document",
          "bundle_sha256",
          "signed",
          "native_chain_verified"
        ],
        "additionalProperties": false
      },
      "EvidenceReconcileResult": {
        "type": "object",
        "properties": {
          "request_id": {
            "type": "string",
            "format": "uuid"
          },
          "receipt_id": {
            "type": "string",
            "format": "uuid"
          },
          "lookup_only": {
            "const": true,
            "type": "boolean"
          }
        },
        "required": [
          "request_id",
          "receipt_id",
          "lookup_only"
        ],
        "additionalProperties": false
      },
      "RecoveryCreate": {
        "type": "object",
        "properties": {
          "subject_kind": {
            "enum": [
              "payout",
              "sweep",
              "cctp",
              "receipt",
              "webhook",
              "solana_stream",
              "base_stream",
              "obligation"
            ]
          },
          "subject_id": {
            "type": "string",
            "format": "uuid"
          },
          "reason": {
            "type": "string",
            "minLength": 1,
            "maxLength": 240,
            "pattern": "^[ -~]+$"
          }
        },
        "required": [
          "subject_kind",
          "subject_id",
          "reason"
        ],
        "additionalProperties": false
      },
      "RecoveryAction": {
        "type": "object",
        "properties": {
          "expected_revision": {
            "type": "integer",
            "minimum": 0
          },
          "action": {
            "enum": [
              "refresh",
              "note",
              "assign",
              "escalate",
              "resolve",
              "lookup",
              "replay"
            ]
          },
          "note": {
            "type": "string",
            "minLength": 1,
            "maxLength": 240,
            "pattern": "^[ -~]+$"
          },
          "assigned_to": {
            "anyOf": [
              {
                "type": "string",
                "format": "uuid"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "expected_revision",
          "action",
          "note"
        ],
        "additionalProperties": false
      },
      "RecoveryObservation": {
        "type": "object",
        "properties": {
          "subject_kind": {
            "enum": [
              "payout",
              "sweep",
              "cctp",
              "receipt",
              "webhook",
              "solana_stream",
              "base_stream",
              "obligation"
            ]
          },
          "subject_id": {
            "type": "string",
            "format": "uuid"
          },
          "environment": {
            "enum": [
              "local",
              "sandbox"
            ]
          },
          "state": {
            "type": "string"
          },
          "classification": {
            "enum": [
              "AUTHORITATIVE_LOCAL_FIXTURE_RESULT",
              "UNKNOWN_OR_IN_TRANSIT",
              "ACTION_REQUIRED_OR_PENDING"
            ]
          },
          "can_resolve": {
            "type": "boolean"
          },
          "lookup_allowed": {
            "type": "boolean"
          },
          "replay_allowed": {
            "type": "boolean"
          },
          "evidence_links": {
            "type": "array",
            "items": {
              "type": "string",
              "pattern": "^/v1/organizations/"
            }
          },
          "source": {
            "type": "object"
          },
          "trust_level": {
            "const": "INTERNAL_SIMULATION_OR_CUSTOMER_ASSERTION"
          },
          "case_changes_financial_truth": {
            "type": "boolean",
            "const": false
          },
          "native_chain_verified": {
            "type": "boolean",
            "const": false
          },
          "actual_erp_delivery_verified": {
            "type": "boolean",
            "const": false
          },
          "actual_invoice_settled": {
            "type": "boolean",
            "const": false
          },
          "production_enabled": {
            "type": "boolean",
            "const": false
          }
        },
        "required": [
          "subject_kind",
          "subject_id",
          "environment",
          "state",
          "classification",
          "can_resolve",
          "lookup_allowed",
          "replay_allowed",
          "evidence_links",
          "source",
          "trust_level",
          "case_changes_financial_truth",
          "native_chain_verified",
          "actual_erp_delivery_verified",
          "actual_invoice_settled",
          "production_enabled"
        ],
        "additionalProperties": false
      },
      "RecoveryCase": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "environment": {
            "enum": [
              "local",
              "sandbox"
            ]
          },
          "subject_kind": {
            "enum": [
              "payout",
              "sweep",
              "cctp",
              "receipt",
              "webhook",
              "solana_stream",
              "base_stream",
              "obligation"
            ]
          },
          "subject_id": {
            "type": "string",
            "format": "uuid"
          },
          "reason": {
            "type": "string",
            "minLength": 1,
            "maxLength": 240,
            "pattern": "^[ -~]+$"
          },
          "created_by": {
            "type": "string",
            "format": "uuid"
          },
          "assigned_to": {
            "type": "string",
            "format": "uuid"
          },
          "state": {
            "enum": [
              "OPEN",
              "ESCALATED",
              "RESOLVED_FIXTURE"
            ]
          },
          "revision": {
            "type": "integer",
            "minimum": 0
          },
          "initial_snapshot": {
            "$ref": "#/components/schemas/RecoveryObservation"
          },
          "initial_sha256": {
            "type": "string",
            "pattern": "^[0-9a-f]{64}$"
          },
          "latest_snapshot": {
            "$ref": "#/components/schemas/RecoveryObservation"
          },
          "latest_sha256": {
            "type": "string",
            "pattern": "^[0-9a-f]{64}$"
          },
          "resolution": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "requires_current_observation": {
            "type": "boolean",
            "const": true
          },
          "case_changes_financial_truth": {
            "type": "boolean",
            "const": false
          }
        },
        "required": [
          "id",
          "environment",
          "subject_kind",
          "subject_id",
          "reason",
          "created_by",
          "assigned_to",
          "state",
          "revision",
          "initial_snapshot",
          "initial_sha256",
          "latest_snapshot",
          "latest_sha256",
          "resolution",
          "requires_current_observation",
          "case_changes_financial_truth"
        ],
        "additionalProperties": false
      },
      "RecoveryDetail": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "environment": {
            "enum": [
              "local",
              "sandbox"
            ]
          },
          "subject_kind": {
            "enum": [
              "payout",
              "sweep",
              "cctp",
              "receipt",
              "webhook",
              "solana_stream",
              "base_stream",
              "obligation"
            ]
          },
          "subject_id": {
            "type": "string",
            "format": "uuid"
          },
          "reason": {
            "type": "string",
            "minLength": 1,
            "maxLength": 240,
            "pattern": "^[ -~]+$"
          },
          "created_by": {
            "type": "string",
            "format": "uuid"
          },
          "assigned_to": {
            "type": "string",
            "format": "uuid"
          },
          "state": {
            "enum": [
              "OPEN",
              "ESCALATED",
              "RESOLVED_FIXTURE"
            ]
          },
          "revision": {
            "type": "integer",
            "minimum": 0
          },
          "initial_snapshot": {
            "$ref": "#/components/schemas/RecoveryObservation"
          },
          "initial_sha256": {
            "type": "string",
            "pattern": "^[0-9a-f]{64}$"
          },
          "latest_snapshot": {
            "$ref": "#/components/schemas/RecoveryObservation"
          },
          "latest_sha256": {
            "type": "string",
            "pattern": "^[0-9a-f]{64}$"
          },
          "resolution": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "requires_current_observation": {
            "type": "boolean",
            "const": true
          },
          "case_changes_financial_truth": {
            "type": "boolean",
            "const": false
          },
          "current_observation": {
            "$ref": "#/components/schemas/RecoveryObservation"
          },
          "snapshot_changed": {
            "type": "boolean"
          },
          "resolution_currentness": {
            "enum": [
              "SOURCE_CHANGED_NEW_CASE_REQUIRED",
              "RECORDED_SNAPSHOT_ONLY"
            ]
          }
        },
        "required": [
          "id",
          "environment",
          "subject_kind",
          "subject_id",
          "reason",
          "created_by",
          "assigned_to",
          "state",
          "revision",
          "initial_snapshot",
          "initial_sha256",
          "latest_snapshot",
          "latest_sha256",
          "resolution",
          "requires_current_observation",
          "case_changes_financial_truth",
          "current_observation",
          "snapshot_changed",
          "resolution_currentness"
        ],
        "additionalProperties": false
      },
      "RecoveryCaseMetadata": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "subject_kind": {
            "enum": [
              "payout",
              "sweep",
              "cctp",
              "receipt",
              "webhook",
              "solana_stream",
              "base_stream",
              "obligation"
            ]
          },
          "subject_id": {
            "type": "string",
            "format": "uuid"
          },
          "state": {
            "enum": [
              "OPEN",
              "ESCALATED",
              "RESOLVED_FIXTURE"
            ]
          },
          "revision": {
            "type": "integer",
            "minimum": 0
          },
          "assigned_to": {
            "type": "string",
            "format": "uuid"
          },
          "reason": {
            "type": "string",
            "minLength": 1,
            "maxLength": 240,
            "pattern": "^[ -~]+$"
          }
        },
        "required": [
          "id",
          "subject_kind",
          "subject_id",
          "state",
          "revision",
          "assigned_to",
          "reason"
        ],
        "additionalProperties": false
      },
      "RecoveryCreateResult": {
        "type": "object",
        "properties": {
          "request_id": {
            "type": "string",
            "format": "uuid"
          },
          "case": {
            "$ref": "#/components/schemas/RecoveryCase"
          },
          "replayed": {
            "type": "boolean"
          }
        },
        "required": [
          "request_id",
          "case",
          "replayed"
        ],
        "additionalProperties": false
      },
      "RecoveryDetailResult": {
        "type": "object",
        "properties": {
          "request_id": {
            "type": "string",
            "format": "uuid"
          },
          "case": {
            "$ref": "#/components/schemas/RecoveryDetail"
          }
        },
        "required": [
          "request_id",
          "case"
        ],
        "additionalProperties": false
      },
      "RecoveryActionResult": {
        "type": "object",
        "properties": {
          "request_id": {
            "type": "string",
            "format": "uuid"
          },
          "case": {
            "$ref": "#/components/schemas/RecoveryCase"
          },
          "source_action": {
            "enum": [
              "refresh",
              "note",
              "assign",
              "escalate",
              "resolve",
              "lookup",
              "replay"
            ]
          },
          "case_changes_financial_truth": {
            "type": "boolean",
            "const": false
          }
        },
        "required": [
          "request_id",
          "case",
          "source_action",
          "case_changes_financial_truth"
        ],
        "additionalProperties": false
      },
      "RecoveryListResult": {
        "type": "object",
        "properties": {
          "request_id": {
            "type": "string",
            "format": "uuid"
          },
          "cases": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/RecoveryCaseMetadata"
            }
          },
          "limit": {
            "const": 200
          },
          "requires_current_observation": {
            "type": "boolean",
            "const": true
          }
        },
        "required": [
          "request_id",
          "cases",
          "limit",
          "requires_current_observation"
        ],
        "additionalProperties": false
      },
      "RecoveryEvent": {
        "type": "object",
        "properties": {
          "revision": {
            "type": "integer",
            "minimum": 0
          },
          "event_type": {
            "enum": [
              "opened",
              "refresh",
              "note",
              "assign",
              "escalate",
              "resolve",
              "lookup",
              "replay"
            ]
          },
          "actor_id": {
            "type": "string",
            "format": "uuid"
          },
          "payload": {
            "type": "string"
          },
          "payload_sha256": {
            "type": "string",
            "pattern": "^[0-9a-f]{64}$"
          }
        },
        "required": [
          "revision",
          "event_type",
          "actor_id",
          "payload",
          "payload_sha256"
        ],
        "additionalProperties": false
      },
      "RecoveryEventsResult": {
        "type": "object",
        "properties": {
          "request_id": {
            "type": "string",
            "format": "uuid"
          },
          "events": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/RecoveryEvent"
            }
          },
          "immutable": {
            "type": "boolean",
            "const": true
          }
        },
        "required": [
          "request_id",
          "events",
          "immutable"
        ],
        "additionalProperties": false
      },
      "RecoveryCapabilities": {
        "type": "object",
        "properties": {
          "request_id": {
            "type": "string",
            "format": "uuid"
          },
          "mode": {
            "const": "local_recovery_cases"
          },
          "subject_kinds": {
            "type": "array",
            "items": {
              "enum": [
                "payout",
                "sweep",
                "cctp",
                "receipt",
                "webhook",
                "solana_stream",
                "base_stream",
                "obligation"
              ]
            }
          },
          "human_changes_only": {
            "type": "boolean",
            "const": true
          },
          "original_identity_lookup_only": {
            "type": "boolean",
            "const": true
          },
          "case_changes_financial_truth": {
            "type": "boolean",
            "const": false
          },
          "automatic_resubmission": {
            "type": "boolean",
            "const": false
          },
          "native_chain_verified": {
            "type": "boolean",
            "const": false
          },
          "actual_erp_delivery_verified": {
            "type": "boolean",
            "const": false
          },
          "production_enabled": {
            "type": "boolean",
            "const": false
          }
        },
        "required": [
          "request_id",
          "mode",
          "subject_kinds",
          "human_changes_only",
          "original_identity_lookup_only",
          "case_changes_financial_truth",
          "automatic_resubmission",
          "native_chain_verified",
          "actual_erp_delivery_verified",
          "production_enabled"
        ],
        "additionalProperties": false
      },
      "BillingPolicy": {
        "type": "object",
        "properties": {
          "price_version": {
            "enum": [
              "sandbox_free_v1",
              "fixture_standard_v1",
              "fixture_standard_v2"
            ]
          },
          "tax_version": {
            "enum": [
              "fixture_tax_zero_v1",
              "fixture_tax_750_v1"
            ]
          },
          "base_minor": {
            "type": "string",
            "pattern": "^(0|[1-9][0-9]{0,24})$"
          },
          "quota": {
            "type": "integer",
            "minimum": 0
          },
          "allowance": {
            "type": "integer",
            "minimum": 0
          },
          "discount_bps": {
            "type": "integer",
            "minimum": 0,
            "maximum": 10000
          },
          "tax_bps": {
            "type": "integer",
            "minimum": 0,
            "maximum": 10000
          },
          "rates": {
            "type": "object",
            "properties": {
              "wallet": {
                "type": "string",
                "pattern": "^(0|[1-9][0-9]{0,24})$"
              },
              "destination": {
                "type": "string",
                "pattern": "^(0|[1-9][0-9]{0,24})$"
              },
              "deposit": {
                "type": "string",
                "pattern": "^(0|[1-9][0-9]{0,24})$"
              },
              "checkout": {
                "type": "string",
                "pattern": "^(0|[1-9][0-9]{0,24})$"
              },
              "payout": {
                "type": "string",
                "pattern": "^(0|[1-9][0-9]{0,24})$"
              },
              "sweep": {
                "type": "string",
                "pattern": "^(0|[1-9][0-9]{0,24})$"
              },
              "sponsorship": {
                "type": "string",
                "pattern": "^(0|[1-9][0-9]{0,24})$"
              },
              "crosschain": {
                "type": "string",
                "pattern": "^(0|[1-9][0-9]{0,24})$"
              },
              "evidence": {
                "type": "string",
                "pattern": "^(0|[1-9][0-9]{0,24})$"
              }
            },
            "required": [
              "wallet",
              "destination",
              "deposit",
              "checkout",
              "payout",
              "sweep",
              "sponsorship",
              "crosschain",
              "evidence"
            ],
            "additionalProperties": false
          },
          "currency": {
            "const": "USD"
          },
          "commercial_approval": {
            "const": false
          }
        },
        "required": [
          "price_version",
          "tax_version",
          "base_minor",
          "quota",
          "allowance",
          "discount_bps",
          "tax_bps",
          "rates",
          "currency",
          "commercial_approval"
        ],
        "additionalProperties": false
      },
      "BillingCapabilities": {
        "type": "object",
        "properties": {
          "mode": {
            "const": "fixture_infrastructure_billing"
          },
          "currency": {
            "const": "USD"
          },
          "currency_exponent": {
            "const": 2
          },
          "canonical_product_meters": {
            "type": "array",
            "items": {
              "enum": [
                "wallet",
                "destination",
                "deposit",
                "checkout",
                "payout",
                "sweep",
                "sponsorship",
                "crosschain",
                "evidence"
              ]
            }
          },
          "authenticated_fixture_psp": {
            "const": true
          },
          "production_invoices": {
            "const": false
          },
          "actual_provider_connected": {
            "const": false
          },
          "customer_principal_used": {
            "const": false
          },
          "finance_approved": {
            "const": false
          },
          "recovery_and_exports_during_delinquency": {
            "const": true
          },
          "request_id": {
            "type": "string",
            "format": "uuid"
          }
        },
        "required": [
          "mode",
          "currency",
          "currency_exponent",
          "canonical_product_meters",
          "authenticated_fixture_psp",
          "production_invoices",
          "actual_provider_connected",
          "customer_principal_used",
          "finance_approved",
          "recovery_and_exports_during_delinquency",
          "request_id"
        ],
        "additionalProperties": false
      },
      "BillingCatalog": {
        "type": "object",
        "properties": {
          "catalog_version": {
            "const": "fixture-billing-v1"
          },
          "plans": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/BillingPolicy"
            }
          },
          "tax_versions": {
            "type": "array",
            "items": {
              "enum": [
                "fixture_tax_zero_v1",
                "fixture_tax_750_v1"
              ]
            }
          },
          "commercial_prices_approved": {
            "const": false
          },
          "allowance_policy": {
            "type": "string"
          },
          "pass_through_policy": {
            "type": "string"
          },
          "request_id": {
            "type": "string",
            "format": "uuid"
          }
        },
        "required": [
          "catalog_version",
          "plans",
          "tax_versions",
          "commercial_prices_approved",
          "allowance_policy",
          "pass_through_policy",
          "request_id"
        ],
        "additionalProperties": false
      },
      "BillingSubscription": {
        "type": "object",
        "properties": {
          "subscription_id": {
            "type": "string",
            "format": "uuid"
          },
          "revision": {
            "type": "integer",
            "minimum": 0
          },
          "policy": {
            "$ref": "#/components/schemas/BillingPolicy"
          },
          "month_start_ms": {
            "type": "integer",
            "minimum": 0
          },
          "admitted_new_intents": {
            "type": "integer",
            "minimum": 0
          },
          "dunning_state": {
            "enum": [
              "ACTIVE",
              "GRACE",
              "OVERDUE"
            ]
          },
          "production_eligible": {
            "const": false
          },
          "request_id": {
            "type": "string",
            "format": "uuid"
          }
        },
        "required": [
          "subscription_id",
          "revision",
          "policy",
          "month_start_ms",
          "admitted_new_intents",
          "dunning_state",
          "production_eligible",
          "request_id"
        ],
        "additionalProperties": false
      },
      "BillingChange": {
        "type": "object",
        "properties": {
          "expected_revision": {
            "type": "integer",
            "minimum": 0
          },
          "price_version": {
            "enum": [
              "sandbox_free_v1",
              "fixture_standard_v1",
              "fixture_standard_v2"
            ]
          },
          "tax_version": {
            "enum": [
              "fixture_tax_zero_v1",
              "fixture_tax_750_v1"
            ]
          }
        },
        "required": [
          "expected_revision",
          "price_version",
          "tax_version"
        ],
        "additionalProperties": false
      },
      "BillingClose": {
        "type": "object",
        "properties": {
          "expected_revision": {
            "type": "integer",
            "minimum": 0
          },
          "month_start_ms": {
            "anyOf": [
              {
                "type": "integer",
                "minimum": 0
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "expected_revision"
        ],
        "additionalProperties": false
      },
      "BillingCredit": {
        "type": "object",
        "properties": {
          "expected_revision": {
            "type": "integer",
            "minimum": 0
          },
          "amount_minor": {
            "type": "string",
            "pattern": "^(0|[1-9][0-9]{0,24})$"
          },
          "tax_minor": {
            "type": "string",
            "pattern": "^(0|[1-9][0-9]{0,24})$"
          },
          "reason": {
            "type": "string",
            "minLength": 1,
            "maxLength": 240,
            "pattern": "^[ -~]+$"
          }
        },
        "required": [
          "expected_revision",
          "amount_minor",
          "tax_minor",
          "reason"
        ],
        "additionalProperties": false
      },
      "BillingDispute": {
        "type": "object",
        "properties": {
          "expected_revision": {
            "type": "integer",
            "minimum": 0
          },
          "reason": {
            "type": "string",
            "minLength": 1,
            "maxLength": 240,
            "pattern": "^[ -~]+$"
          },
          "resolved": {
            "type": "boolean"
          }
        },
        "required": [
          "expected_revision",
          "reason",
          "resolved"
        ],
        "additionalProperties": false
      },
      "BillingCollection": {
        "type": "object",
        "properties": {
          "expected_revision": {
            "type": "integer",
            "minimum": 0
          },
          "scenario": {
            "enum": [
              "success",
              "declined",
              "commit_then_timeout",
              "absent",
              "callback_lost",
              "pending",
              "crash_after_dispatch"
            ]
          }
        },
        "required": [
          "expected_revision",
          "scenario"
        ],
        "additionalProperties": false
      },
      "BillingEmpty": {
        "type": "object",
        "properties": {},
        "required": [],
        "additionalProperties": false
      },
      "BillingReplay": {
        "type": "object",
        "properties": {
          "usage_event_id": {
            "type": "string",
            "format": "uuid"
          },
          "replay_count": {
            "type": "integer",
            "minimum": 1,
            "maximum": 10000
          }
        },
        "required": [
          "usage_event_id",
          "replay_count"
        ],
        "additionalProperties": false
      },
      "BillingProration": {
        "type": "object",
        "properties": {
          "start_ms": {
            "type": "integer",
            "minimum": 0
          },
          "end_ms": {
            "type": "integer",
            "minimum": 0
          },
          "month_duration_ms": {
            "type": "integer",
            "minimum": 1
          },
          "duration_ms": {
            "type": "integer",
            "minimum": 0
          },
          "segments": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "subscription_id": {
                  "type": "string",
                  "format": "uuid"
                },
                "start_ms": {
                  "type": "integer",
                  "minimum": 0
                },
                "end_ms": {
                  "type": "integer",
                  "minimum": 0
                }
              },
              "required": [
                "subscription_id",
                "start_ms",
                "end_ms"
              ],
              "additionalProperties": false
            }
          }
        },
        "required": [
          "start_ms",
          "end_ms",
          "month_duration_ms",
          "duration_ms",
          "segments"
        ],
        "additionalProperties": false
      },
      "BillingSubscriptionLine": {
        "type": "object",
        "properties": {
          "subscription_id": {
            "type": "string",
            "format": "uuid"
          },
          "source_kind": {
            "type": "string"
          },
          "source_id": {
            "type": "string",
            "format": "uuid"
          },
          "price_version": {
            "enum": [
              "sandbox_free_v1",
              "fixture_standard_v1",
              "fixture_standard_v2"
            ]
          },
          "tax_version": {
            "enum": [
              "fixture_tax_zero_v1",
              "fixture_tax_750_v1"
            ]
          },
          "quantity": {
            "const": "1"
          },
          "unit_minor": {
            "type": "string",
            "pattern": "^(0|[1-9][0-9]{0,24})$"
          },
          "gross_minor": {
            "type": "string",
            "pattern": "^(0|[1-9][0-9]{0,24})$"
          },
          "discount_minor": {
            "type": "string",
            "pattern": "^(0|[1-9][0-9]{0,24})$"
          },
          "tax_minor": {
            "type": "string",
            "pattern": "^(0|[1-9][0-9]{0,24})$"
          },
          "total_minor": {
            "type": "string",
            "pattern": "^(0|[1-9][0-9]{0,24})$"
          },
          "policy": {
            "$ref": "#/components/schemas/BillingPolicy"
          },
          "kind": {
            "const": "subscription"
          },
          "proration": {
            "$ref": "#/components/schemas/BillingProration"
          }
        },
        "required": [
          "subscription_id",
          "source_kind",
          "source_id",
          "price_version",
          "tax_version",
          "quantity",
          "unit_minor",
          "gross_minor",
          "discount_minor",
          "tax_minor",
          "total_minor",
          "policy",
          "kind",
          "proration"
        ],
        "additionalProperties": false
      },
      "BillingUsageLine": {
        "type": "object",
        "properties": {
          "subscription_id": {
            "type": "string",
            "format": "uuid"
          },
          "source_kind": {
            "type": "string"
          },
          "source_id": {
            "type": "string",
            "format": "uuid"
          },
          "price_version": {
            "enum": [
              "sandbox_free_v1",
              "fixture_standard_v1",
              "fixture_standard_v2"
            ]
          },
          "tax_version": {
            "enum": [
              "fixture_tax_zero_v1",
              "fixture_tax_750_v1"
            ]
          },
          "quantity": {
            "const": "1"
          },
          "unit_minor": {
            "type": "string",
            "pattern": "^(0|[1-9][0-9]{0,24})$"
          },
          "gross_minor": {
            "type": "string",
            "pattern": "^(0|[1-9][0-9]{0,24})$"
          },
          "discount_minor": {
            "type": "string",
            "pattern": "^(0|[1-9][0-9]{0,24})$"
          },
          "tax_minor": {
            "type": "string",
            "pattern": "^(0|[1-9][0-9]{0,24})$"
          },
          "total_minor": {
            "type": "string",
            "pattern": "^(0|[1-9][0-9]{0,24})$"
          },
          "policy": {
            "$ref": "#/components/schemas/BillingPolicy"
          },
          "kind": {
            "const": "usage"
          },
          "usage_event_id": {
            "type": "string",
            "format": "uuid"
          },
          "usage_sha256": {
            "type": "string",
            "pattern": "^[a-f0-9]{64}$"
          },
          "meter": {
            "enum": [
              "wallet",
              "destination",
              "deposit",
              "checkout",
              "payout",
              "sweep",
              "sponsorship",
              "crosschain",
              "evidence"
            ]
          },
          "source": {
            "type": "object"
          },
          "included_quantity": {
            "enum": [
              0,
              1
            ]
          }
        },
        "required": [
          "subscription_id",
          "source_kind",
          "source_id",
          "price_version",
          "tax_version",
          "quantity",
          "unit_minor",
          "gross_minor",
          "discount_minor",
          "tax_minor",
          "total_minor",
          "policy",
          "kind",
          "usage_event_id",
          "usage_sha256",
          "meter",
          "source",
          "included_quantity"
        ],
        "additionalProperties": false
      },
      "BillingPreviewDocument": {
        "type": "object",
        "properties": {
          "protocol": {
            "const": "azums-fixture-invoice-v1"
          },
          "environment": {
            "enum": [
              "local",
              "sandbox"
            ]
          },
          "organization_id": {
            "type": "string",
            "format": "uuid"
          },
          "currency": {
            "const": "USD"
          },
          "currency_exponent": {
            "const": 2
          },
          "month_start_ms": {
            "type": "integer",
            "minimum": 0
          },
          "month_end_ms": {
            "type": "integer",
            "minimum": 0
          },
          "as_of_ms": {
            "type": "integer",
            "minimum": 0
          },
          "lines": {
            "type": "array",
            "items": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/BillingSubscriptionLine"
                },
                {
                  "$ref": "#/components/schemas/BillingUsageLine"
                }
              ]
            }
          },
          "gross_minor": {
            "type": "string",
            "pattern": "^(0|[1-9][0-9]{0,24})$"
          },
          "discount_minor": {
            "type": "string",
            "pattern": "^(0|[1-9][0-9]{0,24})$"
          },
          "tax_minor": {
            "type": "string",
            "pattern": "^(0|[1-9][0-9]{0,24})$"
          },
          "total_minor": {
            "type": "string",
            "pattern": "^(0|[1-9][0-9]{0,24})$"
          },
          "pass_through_minor": {
            "const": "0"
          },
          "network_cost_conversion": {
            "const": "NOT_APPROVED"
          },
          "pricing_status": {
            "const": "ILLUSTRATIVE_FIXTURE_ONLY"
          },
          "production_invoice": {
            "const": false
          },
          "customer_principal_used": {
            "const": false
          },
          "finance_approved": {
            "const": false
          }
        },
        "required": [
          "protocol",
          "environment",
          "organization_id",
          "currency",
          "currency_exponent",
          "month_start_ms",
          "month_end_ms",
          "as_of_ms",
          "lines",
          "gross_minor",
          "discount_minor",
          "tax_minor",
          "total_minor",
          "pass_through_minor",
          "network_cost_conversion",
          "pricing_status",
          "production_invoice",
          "customer_principal_used",
          "finance_approved"
        ],
        "additionalProperties": false
      },
      "BillingInvoiceDocument": {
        "type": "object",
        "properties": {
          "protocol": {
            "const": "azums-fixture-invoice-v1"
          },
          "environment": {
            "enum": [
              "local",
              "sandbox"
            ]
          },
          "organization_id": {
            "type": "string",
            "format": "uuid"
          },
          "currency": {
            "const": "USD"
          },
          "currency_exponent": {
            "const": 2
          },
          "month_start_ms": {
            "type": "integer",
            "minimum": 0
          },
          "month_end_ms": {
            "type": "integer",
            "minimum": 0
          },
          "as_of_ms": {
            "type": "integer",
            "minimum": 0
          },
          "lines": {
            "type": "array",
            "items": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/BillingSubscriptionLine"
                },
                {
                  "$ref": "#/components/schemas/BillingUsageLine"
                }
              ]
            }
          },
          "gross_minor": {
            "type": "string",
            "pattern": "^(0|[1-9][0-9]{0,24})$"
          },
          "discount_minor": {
            "type": "string",
            "pattern": "^(0|[1-9][0-9]{0,24})$"
          },
          "tax_minor": {
            "type": "string",
            "pattern": "^(0|[1-9][0-9]{0,24})$"
          },
          "total_minor": {
            "type": "string",
            "pattern": "^(0|[1-9][0-9]{0,24})$"
          },
          "pass_through_minor": {
            "const": "0"
          },
          "network_cost_conversion": {
            "const": "NOT_APPROVED"
          },
          "pricing_status": {
            "const": "ILLUSTRATIVE_FIXTURE_ONLY"
          },
          "production_invoice": {
            "const": false
          },
          "customer_principal_used": {
            "const": false
          },
          "finance_approved": {
            "const": false
          },
          "invoice_id": {
            "type": "string",
            "format": "uuid"
          }
        },
        "required": [
          "protocol",
          "environment",
          "organization_id",
          "currency",
          "currency_exponent",
          "month_start_ms",
          "month_end_ms",
          "as_of_ms",
          "lines",
          "gross_minor",
          "discount_minor",
          "tax_minor",
          "total_minor",
          "pass_through_minor",
          "network_cost_conversion",
          "pricing_status",
          "production_invoice",
          "customer_principal_used",
          "finance_approved",
          "invoice_id"
        ],
        "additionalProperties": false
      },
      "BillingPreviewResult": {
        "type": "object",
        "properties": {
          "preview": {
            "$ref": "#/components/schemas/BillingPreviewDocument"
          },
          "request_id": {
            "type": "string",
            "format": "uuid"
          }
        },
        "required": [
          "preview",
          "request_id"
        ],
        "additionalProperties": false
      },
      "BillingUsageDocument": {
        "type": "object",
        "properties": {
          "meter": {
            "enum": [
              "wallet",
              "destination",
              "deposit",
              "checkout",
              "payout",
              "sweep",
              "sponsorship",
              "crosschain",
              "evidence"
            ]
          },
          "source_kind": {
            "type": "string"
          },
          "source_id": {
            "type": "string",
            "format": "uuid"
          },
          "source_at_ms": {
            "type": "integer",
            "minimum": 0
          },
          "month_start_ms": {
            "type": "integer",
            "minimum": 0
          },
          "subscription_id": {
            "type": "string",
            "format": "uuid"
          },
          "quantity": {
            "const": 1
          },
          "included_quantity": {
            "enum": [
              0,
              1
            ]
          },
          "unit_minor": {
            "type": "string",
            "pattern": "^(0|[1-9][0-9]{0,24})$"
          },
          "policy": {
            "$ref": "#/components/schemas/BillingPolicy"
          },
          "source": {
            "type": "object"
          },
          "source_provenance": {
            "const": "INTERNAL_SIMULATION"
          },
          "actual_operation_verified": {
            "const": false
          },
          "customer_principal_used": {
            "const": false
          }
        },
        "required": [
          "meter",
          "source_kind",
          "source_id",
          "source_at_ms",
          "month_start_ms",
          "subscription_id",
          "quantity",
          "included_quantity",
          "unit_minor",
          "policy",
          "source",
          "source_provenance",
          "actual_operation_verified",
          "customer_principal_used"
        ],
        "additionalProperties": false
      },
      "BillingCostDocument": {
        "type": "object",
        "properties": {
          "source_kind": {
            "type": "string"
          },
          "source_id": {
            "type": "string",
            "format": "uuid"
          },
          "payout_id": {
            "type": "string",
            "format": "uuid"
          },
          "unit": {
            "enum": [
              "lamports",
              "wei"
            ]
          },
          "modeled_cost_raw": {
            "type": "string",
            "pattern": "^(0|[1-9][0-9]*)$"
          },
          "actual_native_cost_verified": {
            "const": false
          },
          "invoice_pass_through_minor": {
            "const": "0"
          },
          "conversion_approved": {
            "const": false
          }
        },
        "required": [
          "source_kind",
          "source_id",
          "payout_id",
          "unit",
          "modeled_cost_raw",
          "actual_native_cost_verified",
          "invoice_pass_through_minor",
          "conversion_approved"
        ],
        "additionalProperties": false
      },
      "BillingCreditDocument": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "invoice_id": {
            "type": "string",
            "format": "uuid"
          },
          "invoice_sha256": {
            "type": "string",
            "pattern": "^[a-f0-9]{64}$"
          },
          "amount_minor": {
            "type": "string",
            "pattern": "^(0|[1-9][0-9]{0,24})$"
          },
          "tax_minor": {
            "type": "string",
            "pattern": "^(0|[1-9][0-9]{0,24})$"
          },
          "currency": {
            "const": "USD"
          },
          "reason": {
            "type": "string",
            "minLength": 1,
            "maxLength": 240,
            "pattern": "^[ -~]+$"
          },
          "actor_id": {
            "type": "string",
            "format": "uuid"
          },
          "customer_principal_refunded": {
            "const": false
          },
          "production_credit": {
            "const": false
          }
        },
        "required": [
          "id",
          "invoice_id",
          "invoice_sha256",
          "amount_minor",
          "tax_minor",
          "currency",
          "reason",
          "actor_id",
          "customer_principal_refunded",
          "production_credit"
        ],
        "additionalProperties": false
      },
      "BillingInvoice": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "state": {
            "enum": [
              "OPEN_FIXTURE",
              "NO_PAYMENT_DUE",
              "PAID_FIXTURE",
              "CREDITED_FIXTURE"
            ]
          },
          "revision": {
            "type": "integer",
            "minimum": 0
          },
          "document": {
            "type": "string"
          },
          "document_sha256": {
            "type": "string",
            "pattern": "^[a-f0-9]{64}$"
          },
          "outstanding_minor": {
            "type": "string",
            "pattern": "^(0|-?[1-9][0-9]{0,24})$"
          },
          "credit_notes": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "type": "string",
                  "format": "uuid"
                },
                "document": {
                  "type": "string"
                },
                "document_sha256": {
                  "type": "string",
                  "pattern": "^[a-f0-9]{64}$"
                }
              },
              "required": [
                "id",
                "document",
                "document_sha256"
              ],
              "additionalProperties": false
            }
          },
          "collection_attempts": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "type": "string",
                  "format": "uuid"
                },
                "state": {
                  "enum": [
                    "QUEUED",
                    "DISPATCHING",
                    "UNKNOWN",
                    "DECLINED_FIXTURE",
                    "CONFIRMED_FIXTURE",
                    "BLOCKED_AUTHORITY"
                  ]
                },
                "dispatches": {
                  "enum": [
                    0,
                    1
                  ]
                },
                "request_sha256": {
                  "type": "string",
                  "pattern": "^[a-f0-9]{64}$"
                },
                "request_document": {
                  "type": "string"
                }
              },
              "required": [
                "id",
                "state",
                "dispatches",
                "request_sha256",
                "request_document"
              ],
              "additionalProperties": false
            }
          },
          "provider_events": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "type": "string",
                  "format": "uuid"
                },
                "document": {
                  "type": "string"
                },
                "document_sha256": {
                  "type": "string",
                  "pattern": "^[a-f0-9]{64}$"
                },
                "signature": {
                  "type": "string",
                  "pattern": "^[a-f0-9]{64}$"
                }
              },
              "required": [
                "id",
                "document",
                "document_sha256",
                "signature"
              ],
              "additionalProperties": false
            }
          },
          "due_at_ms": {
            "type": "integer",
            "minimum": 0
          },
          "grace_until_ms": {
            "type": "integer",
            "minimum": 0
          },
          "actual_provider_payment_verified": {
            "const": false
          },
          "production_invoice": {
            "const": false
          },
          "customer_principal_used": {
            "const": false
          }
        },
        "required": [
          "id",
          "state",
          "revision",
          "document",
          "document_sha256",
          "outstanding_minor",
          "credit_notes",
          "collection_attempts",
          "provider_events",
          "due_at_ms",
          "grace_until_ms",
          "actual_provider_payment_verified",
          "production_invoice",
          "customer_principal_used"
        ],
        "additionalProperties": false
      },
      "BillingInvoiceResult": {
        "type": "object",
        "properties": {
          "invoice": {
            "$ref": "#/components/schemas/BillingInvoice"
          },
          "request_id": {
            "type": "string",
            "format": "uuid"
          }
        },
        "required": [
          "invoice",
          "request_id"
        ],
        "additionalProperties": false
      },
      "BillingInvoiceCreateResult": {
        "type": "object",
        "properties": {
          "invoice": {
            "$ref": "#/components/schemas/BillingInvoice"
          },
          "replayed": {
            "type": "boolean"
          },
          "request_id": {
            "type": "string",
            "format": "uuid"
          }
        },
        "required": [
          "invoice",
          "replayed",
          "request_id"
        ],
        "additionalProperties": false
      },
      "BillingCreditResult": {
        "type": "object",
        "properties": {
          "credit_note": {
            "$ref": "#/components/schemas/BillingCreditDocument"
          },
          "replayed": {
            "type": "boolean"
          },
          "request_id": {
            "type": "string",
            "format": "uuid"
          }
        },
        "required": [
          "credit_note",
          "replayed",
          "request_id"
        ],
        "additionalProperties": false
      },
      "BillingCollectionResult": {
        "type": "object",
        "properties": {
          "attempt_id": {
            "type": "string",
            "format": "uuid"
          },
          "replayed": {
            "type": "boolean"
          },
          "actual_provider_payment_verified": {
            "const": false
          },
          "request_id": {
            "type": "string",
            "format": "uuid"
          }
        },
        "required": [
          "attempt_id",
          "replayed",
          "actual_provider_payment_verified",
          "request_id"
        ],
        "additionalProperties": false
      },
      "BillingLookupResult": {
        "type": "object",
        "properties": {
          "attempt_id": {
            "type": "string",
            "format": "uuid"
          },
          "lookup_requested": {
            "const": true
          },
          "new_collection_authorized": {
            "const": false
          },
          "request_id": {
            "type": "string",
            "format": "uuid"
          }
        },
        "required": [
          "attempt_id",
          "lookup_requested",
          "new_collection_authorized",
          "request_id"
        ],
        "additionalProperties": false
      },
      "BillingReplayResult": {
        "type": "object",
        "properties": {
          "replayed": {
            "type": "integer",
            "minimum": 1,
            "maximum": 10000
          },
          "inserted": {
            "const": 0
          },
          "original_identity_retained": {
            "const": true
          },
          "request_id": {
            "type": "string",
            "format": "uuid"
          }
        },
        "required": [
          "replayed",
          "inserted",
          "original_identity_retained",
          "request_id"
        ],
        "additionalProperties": false
      },
      "BillingReconcileResult": {
        "type": "object",
        "properties": {
          "new_usage_events": {
            "type": "integer",
            "minimum": 0
          },
          "dunning_state": {
            "enum": [
              "ACTIVE",
              "GRACE",
              "OVERDUE"
            ]
          },
          "request_id": {
            "type": "string",
            "format": "uuid"
          }
        },
        "required": [
          "new_usage_events",
          "dunning_state",
          "request_id"
        ],
        "additionalProperties": false
      },
      "BillingExports": {
        "type": "object",
        "properties": {
          "usage_sha256": {
            "type": "string",
            "pattern": "^[a-f0-9]{64}$"
          },
          "ledger_sha256": {
            "type": "string",
            "pattern": "^[a-f0-9]{64}$"
          },
          "usage_csv": {
            "type": "string"
          },
          "ledger_csv": {
            "type": "string"
          },
          "complete": {
            "const": true
          },
          "production_billing": {
            "const": false
          },
          "request_id": {
            "type": "string",
            "format": "uuid"
          }
        },
        "required": [
          "usage_sha256",
          "ledger_sha256",
          "usage_csv",
          "ledger_csv",
          "complete",
          "production_billing",
          "request_id"
        ],
        "additionalProperties": false
      },
      "BillingProviderEvent": {
        "type": "object",
        "properties": {
          "protocol": {
            "const": "azums-fixture-psp-event-v1"
          },
          "environment": {
            "enum": [
              "local",
              "sandbox"
            ]
          },
          "organization_id": {
            "type": "string",
            "format": "uuid"
          },
          "invoice_id": {
            "type": "string",
            "format": "uuid"
          },
          "attempt_id": {
            "type": "string",
            "format": "uuid"
          },
          "event_id": {
            "type": "string",
            "format": "uuid"
          },
          "request_sha256": {
            "type": "string",
            "pattern": "^[a-f0-9]{64}$"
          },
          "amount_minor": {
            "type": "string",
            "pattern": "^(0|[1-9][0-9]{0,24})$"
          },
          "currency": {
            "const": "USD"
          },
          "result": {
            "enum": [
              "succeeded_fixture",
              "declined_fixture",
              "pending_fixture"
            ]
          },
          "occurred_at_epoch": {
            "type": "integer",
            "minimum": 0
          },
          "actual_provider_connected": {
            "const": false
          }
        },
        "required": [
          "protocol",
          "environment",
          "organization_id",
          "invoice_id",
          "attempt_id",
          "event_id",
          "request_sha256",
          "amount_minor",
          "currency",
          "result",
          "occurred_at_epoch",
          "actual_provider_connected"
        ],
        "additionalProperties": false
      },
      "BillingCallbackResult": {
        "type": "object",
        "properties": {
          "accepted": {
            "const": true
          },
          "replayed": {
            "type": "boolean"
          },
          "terminal_history_retained": {
            "type": "boolean"
          },
          "actual_provider_payment_verified": {
            "const": false
          },
          "request_id": {
            "type": "string",
            "format": "uuid"
          }
        },
        "required": [
          "accepted",
          "replayed",
          "actual_provider_payment_verified",
          "request_id"
        ],
        "additionalProperties": false
      },
      "BillingInvoicesResult": {
        "type": "object",
        "properties": {
          "invoices": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "type": "string",
                  "format": "uuid"
                },
                "state": {
                  "enum": [
                    "OPEN_FIXTURE",
                    "NO_PAYMENT_DUE",
                    "PAID_FIXTURE",
                    "CREDITED_FIXTURE"
                  ]
                },
                "revision": {
                  "type": "integer",
                  "minimum": 0
                },
                "total_minor": {
                  "type": "string",
                  "pattern": "^(0|[1-9][0-9]{0,24})$"
                },
                "document_sha256": {
                  "type": "string",
                  "pattern": "^[a-f0-9]{64}$"
                }
              },
              "required": [
                "id",
                "state",
                "revision",
                "total_minor",
                "document_sha256"
              ],
              "additionalProperties": false
            }
          },
          "complete": {
            "const": true
          },
          "production_billing": {
            "const": false
          },
          "request_id": {
            "type": "string",
            "format": "uuid"
          }
        },
        "required": [
          "invoices",
          "complete",
          "production_billing",
          "request_id"
        ],
        "additionalProperties": false
      },
      "BillingUsageResult": {
        "type": "object",
        "properties": {
          "usage": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "type": "string",
                  "format": "uuid"
                },
                "ordinal": {
                  "type": "integer",
                  "minimum": 1
                },
                "document": {
                  "type": "string"
                },
                "document_sha256": {
                  "type": "string",
                  "pattern": "^[a-f0-9]{64}$"
                }
              },
              "required": [
                "id",
                "ordinal",
                "document",
                "document_sha256"
              ],
              "additionalProperties": false
            }
          },
          "complete": {
            "const": true
          },
          "production_billing": {
            "const": false
          },
          "request_id": {
            "type": "string",
            "format": "uuid"
          }
        },
        "required": [
          "usage",
          "complete",
          "production_billing",
          "request_id"
        ],
        "additionalProperties": false
      },
      "BillingCostsResult": {
        "type": "object",
        "properties": {
          "costs": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "type": "string",
                  "format": "uuid"
                },
                "document": {
                  "type": "string"
                },
                "document_sha256": {
                  "type": "string",
                  "pattern": "^[a-f0-9]{64}$"
                }
              },
              "required": [
                "id",
                "document",
                "document_sha256"
              ],
              "additionalProperties": false
            }
          },
          "complete": {
            "const": true
          },
          "production_billing": {
            "const": false
          },
          "request_id": {
            "type": "string",
            "format": "uuid"
          }
        },
        "required": [
          "costs",
          "complete",
          "production_billing",
          "request_id"
        ],
        "additionalProperties": false
      },
      "BillingLedgerResult": {
        "type": "object",
        "properties": {
          "entries": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "type": "string",
                  "format": "uuid"
                },
                "journal_id": {
                  "type": "string",
                  "format": "uuid"
                },
                "invoice_id": {
                  "type": "string",
                  "format": "uuid"
                },
                "source_kind": {
                  "type": "string"
                },
                "source_id": {
                  "type": "string",
                  "format": "uuid"
                },
                "currency": {
                  "const": "USD"
                },
                "account": {
                  "enum": [
                    "accounts_receivable",
                    "product_revenue",
                    "tax_payable",
                    "fixture_cash"
                  ]
                },
                "direction": {
                  "enum": [
                    "DEBIT",
                    "CREDIT"
                  ]
                },
                "amount_minor": {
                  "type": "string",
                  "pattern": "^(0|[1-9][0-9]{0,24})$"
                }
              },
              "required": [
                "id",
                "journal_id",
                "invoice_id",
                "source_kind",
                "source_id",
                "currency",
                "account",
                "direction",
                "amount_minor"
              ],
              "additionalProperties": false
            }
          },
          "complete": {
            "const": true
          },
          "production_billing": {
            "const": false
          },
          "request_id": {
            "type": "string",
            "format": "uuid"
          }
        },
        "required": [
          "entries",
          "complete",
          "production_billing",
          "request_id"
        ],
        "additionalProperties": false
      },
      "BillingEventsResult": {
        "type": "object",
        "properties": {
          "events": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "type": "string",
                  "format": "uuid"
                },
                "subject_id": {
                  "type": "string",
                  "format": "uuid"
                },
                "event_type": {
                  "type": "string"
                },
                "document": {
                  "type": "string"
                },
                "document_sha256": {
                  "type": "string",
                  "pattern": "^[a-f0-9]{64}$"
                }
              },
              "required": [
                "id",
                "subject_id",
                "event_type",
                "document",
                "document_sha256"
              ],
              "additionalProperties": false
            }
          },
          "complete": {
            "const": true
          },
          "production_billing": {
            "const": false
          },
          "request_id": {
            "type": "string",
            "format": "uuid"
          }
        },
        "required": [
          "events",
          "complete",
          "production_billing",
          "request_id"
        ],
        "additionalProperties": false
      },
      "SupportRequest": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "subject_kind": {
            "enum": [
              "wallet",
              "order",
              "payout",
              "sweep",
              "invoice",
              "recovery"
            ]
          },
          "subject_id": {
            "type": "string",
            "format": "uuid"
          },
          "category": {
            "enum": [
              "integration",
              "unknown_status",
              "billing_question",
              "evidence_mismatch",
              "other"
            ]
          },
          "description": {
            "type": "string"
          },
          "created_at_ms": {
            "type": "integer",
            "minimum": 0
          },
          "state": {
            "enum": [
              "OPEN",
              "WAITING_CUSTOMER",
              "CLOSED"
            ]
          },
          "revision": {
            "type": "integer",
            "minimum": 0
          },
          "original_snapshot": {
            "type": "string"
          },
          "original_sha256": {
            "type": "string"
          },
          "source_snapshot_is_as_of": {
            "const": true
          },
          "financial_resolution": {
            "const": false
          }
        },
        "required": [
          "id",
          "subject_kind",
          "subject_id",
          "category",
          "description",
          "created_at_ms",
          "state",
          "revision",
          "original_snapshot",
          "original_sha256",
          "source_snapshot_is_as_of",
          "financial_resolution"
        ]
      },
      "SupportCreate": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "subject_kind": {
            "enum": [
              "wallet",
              "order",
              "payout",
              "sweep",
              "invoice",
              "recovery"
            ]
          },
          "subject_id": {
            "type": "string",
            "format": "uuid"
          },
          "category": {
            "enum": [
              "integration",
              "unknown_status",
              "billing_question",
              "evidence_mismatch",
              "other"
            ]
          },
          "description": {
            "type": "string"
          }
        },
        "required": [
          "subject_kind",
          "subject_id",
          "category",
          "description"
        ]
      },
      "SupportEmpty": {
        "type": "object",
        "additionalProperties": false,
        "properties": {},
        "required": []
      },
      "SupportAction": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "expected_revision": {
            "type": "integer",
            "minimum": 0
          },
          "state": {
            "enum": [
              "OPEN",
              "WAITING_CUSTOMER",
              "CLOSED"
            ]
          },
          "note": {
            "type": "string",
            "minLength": 1,
            "maxLength": 240
          }
        },
        "required": [
          "expected_revision",
          "state",
          "note"
        ]
      },
      "SupportGrantInput": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "expected_revision": {
            "type": "integer",
            "minimum": 0
          },
          "expires_in_seconds": {
            "type": "integer",
            "minimum": 1,
            "maximum": 3600
          }
        },
        "required": [
          "expected_revision",
          "expires_in_seconds"
        ]
      },
      "SupportRequestResult": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "support_request": {
            "$ref": "#/components/schemas/SupportRequest"
          },
          "request_id": {
            "type": "string",
            "format": "uuid"
          }
        },
        "required": [
          "support_request",
          "request_id"
        ]
      },
      "SupportCreatedResult": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "support_request": {
            "$ref": "#/components/schemas/SupportRequest"
          },
          "replayed": {
            "type": "boolean"
          },
          "request_id": {
            "type": "string",
            "format": "uuid"
          }
        },
        "required": [
          "support_request",
          "replayed",
          "request_id"
        ]
      },
      "SupportList": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "requests": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SupportRequest"
            }
          },
          "complete": {
            "const": true
          },
          "request_id": {
            "type": "string",
            "format": "uuid"
          }
        },
        "required": [
          "requests",
          "complete",
          "request_id"
        ]
      },
      "SupportGrantResult": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "grant_id": {
            "type": "string",
            "format": "uuid"
          },
          "package_sha256": {
            "type": "string"
          },
          "staff_access_enabled": {
            "const": false
          },
          "request_id": {
            "type": "string",
            "format": "uuid"
          }
        },
        "required": [
          "grant_id",
          "package_sha256",
          "staff_access_enabled",
          "request_id"
        ]
      },
      "SupportExport": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "document": {
            "type": "string"
          },
          "document_sha256": {
            "type": "string"
          },
          "staff_access_enabled": {
            "const": false
          },
          "request_id": {
            "type": "string",
            "format": "uuid"
          }
        },
        "required": [
          "document",
          "document_sha256",
          "staff_access_enabled",
          "request_id"
        ]
      },
      "SupportCapabilities": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "tenant_owned_requests": {
            "const": true
          },
          "export_consent_max_seconds": {
            "const": 3600
          },
          "staff_sessions_enabled": {
            "const": false
          },
          "impersonation_enabled": {
            "const": false
          },
          "email_delivery_enabled": {
            "const": false
          },
          "financial_actions_enabled": {
            "const": false
          },
          "subject_kinds": {
            "type": "array",
            "items": {
              "enum": [
                "wallet",
                "order",
                "payout",
                "sweep",
                "invoice",
                "recovery"
              ]
            }
          },
          "request_id": {
            "type": "string",
            "format": "uuid"
          }
        },
        "required": [
          "tenant_owned_requests",
          "export_consent_max_seconds",
          "staff_sessions_enabled",
          "impersonation_enabled",
          "email_delivery_enabled",
          "financial_actions_enabled",
          "subject_kinds",
          "request_id"
        ]
      },
      "SupportGrantList": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "grants": {
            "type": "array",
            "items": {
              "type": "object",
              "additionalProperties": false,
              "properties": {
                "id": {
                  "type": "string",
                  "format": "uuid"
                },
                "grantor_authorized": {
                  "type": "boolean"
                },
                "expired": {
                  "type": "boolean"
                },
                "revoked": {
                  "type": "boolean"
                },
                "expires_at_ms": {
                  "type": "integer",
                  "minimum": 0
                },
                "package_sha256": {
                  "type": "string"
                }
              },
              "required": [
                "id",
                "grantor_authorized",
                "expired",
                "revoked",
                "expires_at_ms",
                "package_sha256"
              ]
            }
          },
          "complete": {
            "const": true
          },
          "request_id": {
            "type": "string",
            "format": "uuid"
          }
        },
        "required": [
          "grants",
          "complete",
          "request_id"
        ]
      },
      "SupportEvents": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "events": {
            "type": "array",
            "items": {
              "type": "object",
              "additionalProperties": false,
              "properties": {
                "event_type": {
                  "type": "string"
                },
                "actor_id": {
                  "type": "string",
                  "format": "uuid"
                },
                "request_id": {
                  "type": "string",
                  "format": "uuid"
                },
                "document": {
                  "type": "string"
                },
                "document_sha256": {
                  "type": "string"
                }
              },
              "required": [
                "event_type",
                "actor_id",
                "request_id",
                "document",
                "document_sha256"
              ]
            }
          },
          "complete": {
            "const": true
          },
          "request_id": {
            "type": "string",
            "format": "uuid"
          }
        },
        "required": [
          "events",
          "complete",
          "request_id"
        ]
      },
      "DeveloperOverview": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "organization_id": {
            "type": "string",
            "format": "uuid"
          },
          "environment": {
            "enum": [
              "local",
              "sandbox"
            ]
          },
          "counts": {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "wallets": {
                "type": "integer",
                "minimum": 0
              },
              "orders": {
                "type": "integer",
                "minimum": 0
              },
              "deposits": {
                "type": "integer",
                "minimum": 0
              },
              "payouts": {
                "type": "integer",
                "minimum": 0
              },
              "sweeps": {
                "type": "integer",
                "minimum": 0
              },
              "invoices": {
                "type": "integer",
                "minimum": 0
              },
              "unknown_payouts": {
                "type": "integer",
                "minimum": 0
              }
            },
            "required": [
              "wallets",
              "orders",
              "deposits",
              "payouts",
              "sweeps",
              "invoices",
              "unknown_payouts"
            ]
          },
          "docs_url": {
            "const": "/developers"
          },
          "openapi_url": {
            "const": "/openapi.json"
          },
          "sdk_url": {
            "const": "/sdk/index.js"
          },
          "capability_status": {
            "const": "LOCAL_FIXTURE_ONLY"
          },
          "production_enabled": {
            "const": false
          },
          "independent_developer_study_complete": {
            "const": false
          },
          "request_id": {
            "type": "string",
            "format": "uuid"
          }
        },
        "required": [
          "organization_id",
          "environment",
          "counts",
          "docs_url",
          "openapi_url",
          "sdk_url",
          "capability_status",
          "production_enabled",
          "independent_developer_study_complete",
          "request_id"
        ]
      },
      "DeveloperTransaction": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "organization_id": {
            "type": "string",
            "format": "uuid"
          },
          "environment": {
            "enum": [
              "local",
              "sandbox"
            ]
          },
          "payout": {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "id": {
                "type": "string",
                "format": "uuid"
              },
              "state": {
                "enum": [
                  "received_fixture",
                  "fee_required_fixture",
                  "awaiting_customer_approval",
                  "queued_fixture",
                  "dispatching_fixture",
                  "submitted_fixture",
                  "chain_confirmed_fixture",
                  "chain_finalized_fixture",
                  "unknown_outcome",
                  "expired_fixture",
                  "failed_confirmed_fixture",
                  "action_required_fixture"
                ]
              },
              "asset_id": {
                "enum": [
                  "USDC_SOL",
                  "USDT_SOL",
                  "USDC_BASE"
                ]
              },
              "amount_raw": {
                "type": "string",
                "pattern": "^[1-9][0-9]*$"
              },
              "wallet_id": {
                "type": "string",
                "format": "uuid"
              },
              "dispatch_attempts": {
                "enum": [
                  0,
                  1
                ]
              },
              "reservation_held": {
                "type": "boolean"
              }
            },
            "required": [
              "id",
              "state",
              "asset_id",
              "amount_raw",
              "wallet_id",
              "dispatch_attempts",
              "reservation_held"
            ]
          },
          "native_costs": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/BillingCostDocument"
            }
          },
          "treasury_proposal_ids": {
            "type": "array",
            "items": {
              "type": "string",
              "format": "uuid"
            }
          },
          "recovery_case_ids": {
            "type": "array",
            "items": {
              "type": "string",
              "format": "uuid"
            }
          },
          "cost_source": {
            "const": "M29_RETAINED_MODELED_COST_EVENTS"
          },
          "costs_may_await_reconciliation": {
            "const": true
          },
          "actual_native_cost_verified": {
            "const": false
          },
          "actual_treasury_movement_verified": {
            "const": false
          },
          "read_only": {
            "const": true
          },
          "complete": {
            "const": true
          },
          "request_id": {
            "type": "string",
            "format": "uuid"
          }
        },
        "required": [
          "organization_id",
          "environment",
          "payout",
          "native_costs",
          "treasury_proposal_ids",
          "recovery_case_ids",
          "cost_source",
          "costs_may_await_reconciliation",
          "actual_native_cost_verified",
          "actual_treasury_movement_verified",
          "read_only",
          "complete",
          "request_id"
        ]
      }
    },
    "securitySchemes": {
      "sessionCookie": {
        "type": "apiKey",
        "in": "cookie",
        "name": "azums_session",
        "description": "HttpOnly session; verified email and MFA required for tenant actions."
      },
      "sandboxKey": {
        "type": "http",
        "scheme": "bearer",
        "description": "azums_test_ credential bound to one organization and current issuer permissions; 60 requests/minute."
      },
      "SandboxSession": {
        "type": "apiKey",
        "in": "cookie",
        "name": "azums_sandbox_session"
      },
      "fixturePspSignature": {
        "type": "apiKey",
        "in": "header",
        "name": "X-Azums-PSP-Signature",
        "description": "Local PSP HMAC over domain, timestamp and exact raw body; a fresh X-Azums-PSP-Timestamp is also required."
      }
    }
  },
  "x-payout-authorization": {
    "read": "payouts:read",
    "write": "payouts:write",
    "approve": "payouts:approve; MFA owner/admin/approver only; not a key scope",
    "control": "MFA owner/admin only",
    "mode": "Development envelope only; full M11/M18 and M20 financial policy acceptance open"
  },
  "x-batch-accounting": {
    "version": "batch-fixture-accounting-v1",
    "logical_units": "One per admitted logical item, independent of safe unsigned re-preparation",
    "dispatch_units": "Canonical durable dispatch identities, never audit fallback",
    "fees": "Modeled terminal fees per unique payout attempt, grouped by network/native unit; unsettled outcomes separate",
    "billing": "Disabled; real tariffs, invoices and settlement acceptance remain open",
    "maximum_request_bytes": 32768,
    "permissions": "Existing payouts:read/write; each child still needs payouts:approve MFA and external customer protocol proof"
  }
}
