ממשק API ציבורי

גרסת API 1.1.0 · OpenAPI 3.1.0

הצגת מפרט OpenAPI

Browse coverage or request a quote as a guest. For customer operations, sign in via POST /api/v1/sessions and use the returned bearer token or a portal session cookie.

GET /api/v1/products Products
{
  "operationId": "products_api_v1_products_get",
  "responses": {
    "200": {
      "content": {
        "application/json": {
          "schema": {
            "items": {
              "$ref": "#/components/schemas/Coverage"
            },
            "title": "Response Products Api V1 Products Get",
            "type": "array"
          }
        }
      },
      "description": "Successful Response"
    }
  },
  "summary": "Products"
}
GET /api/v1/products/{product} Product Details
{
  "operationId": "product_details_api_v1_products__product__get",
  "parameters": [
    {
      "in": "path",
      "name": "product",
      "required": true,
      "schema": {
        "$ref": "#/components/schemas/Product"
      }
    }
  ],
  "responses": {
    "200": {
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/Coverage"
          }
        }
      },
      "description": "Successful Response"
    },
    "422": {
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/HTTPValidationError"
          }
        }
      },
      "description": "Validation Error"
    }
  },
  "summary": "Product Details"
}
POST /api/v1/quotes Get Quote

Estimate a fictional USD premium using product, ZIP and deductible.

{
  "description": "Estimate a fictional USD premium using product, ZIP and deductible.",
  "operationId": "get_quote_api_v1_quotes_post",
  "requestBody": {
    "content": {
      "application/json": {
        "schema": {
          "$ref": "#/components/schemas/QuoteInput"
        }
      }
    },
    "required": true
  },
  "responses": {
    "200": {
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/Quote"
          }
        }
      },
      "description": "Successful Response"
    },
    "422": {
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/HTTPValidationError"
          }
        }
      },
      "description": "Validation Error"
    }
  },
  "summary": "Get Quote"
}
POST /api/v1/sessions Login

Sign in. Browsers receive an HttpOnly cookie. API clients without Origin also receive a bearer token.

{
  "description": "Sign in. Browsers receive an HttpOnly cookie. API clients without Origin also receive a bearer token.",
  "operationId": "login_api_v1_sessions_post",
  "requestBody": {
    "content": {
      "application/json": {
        "schema": {
          "$ref": "#/components/schemas/Login"
        }
      }
    },
    "required": true
  },
  "responses": {
    "200": {
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/Session"
          }
        }
      },
      "description": "Successful Response"
    },
    "422": {
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/HTTPValidationError"
          }
        }
      },
      "description": "Validation Error"
    }
  },
  "summary": "Login"
}
DELETE /api/v1/sessions/current Logout
{
  "operationId": "logout_api_v1_sessions_current_delete",
  "responses": {
    "204": {
      "description": "Successful Response"
    }
  },
  "security": [
    {
      "HTTPBearer": []
    },
    {
      "APIKeyCookie": []
    }
  ],
  "summary": "Logout"
}
GET /api/v1/account Get Account
{
  "operationId": "get_account_api_v1_account_get",
  "responses": {
    "200": {
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/Account"
          }
        }
      },
      "description": "Successful Response"
    }
  },
  "security": [
    {
      "HTTPBearer": []
    },
    {
      "APIKeyCookie": []
    }
  ],
  "summary": "Get Account"
}
PUT /api/v1/account/settings Save Settings
{
  "operationId": "save_settings_api_v1_account_settings_put",
  "requestBody": {
    "content": {
      "application/json": {
        "schema": {
          "$ref": "#/components/schemas/Settings"
        }
      }
    },
    "required": true
  },
  "responses": {
    "200": {
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/Profile"
          }
        }
      },
      "description": "Successful Response"
    },
    "422": {
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/HTTPValidationError"
          }
        }
      },
      "description": "Validation Error"
    }
  },
  "security": [
    {
      "HTTPBearer": []
    },
    {
      "APIKeyCookie": []
    }
  ],
  "summary": "Save Settings"
}
POST /api/v1/policies Bind Policy

Issue a synthetic policy from a recalculated quote.

{
  "description": "Issue a synthetic policy from a recalculated quote.",
  "operationId": "bind_policy_api_v1_policies_post",
  "requestBody": {
    "content": {
      "application/json": {
        "schema": {
          "$ref": "#/components/schemas/BindPolicy"
        }
      }
    },
    "required": true
  },
  "responses": {
    "201": {
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/Policy"
          }
        }
      },
      "description": "Successful Response"
    },
    "422": {
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/HTTPValidationError"
          }
        }
      },
      "description": "Validation Error"
    }
  },
  "security": [
    {
      "HTTPBearer": []
    },
    {
      "APIKeyCookie": []
    }
  ],
  "summary": "Bind Policy"
}
POST /api/v1/claims File Claim
{
  "operationId": "file_claim_api_v1_claims_post",
  "requestBody": {
    "content": {
      "application/json": {
        "schema": {
          "$ref": "#/components/schemas/ClaimInput"
        }
      }
    },
    "required": true
  },
  "responses": {
    "201": {
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/Claim"
          }
        }
      },
      "description": "Successful Response"
    },
    "422": {
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/HTTPValidationError"
          }
        }
      },
      "description": "Validation Error"
    }
  },
  "security": [
    {
      "HTTPBearer": []
    },
    {
      "APIKeyCookie": []
    }
  ],
  "summary": "File Claim"
}
POST /api/v1/bills/{bill_id}/pay Pay Bill

Simulate payment in full. Repeating the operation returns the original payment.

{
  "description": "Simulate payment in full. Repeating the operation returns the original payment.",
  "operationId": "pay_bill_api_v1_bills__bill_id__pay_post",
  "parameters": [
    {
      "in": "path",
      "name": "bill_id",
      "required": true,
      "schema": {
        "title": "Bill Id",
        "type": "string"
      }
    }
  ],
  "responses": {
    "200": {
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/Bill"
          }
        }
      },
      "description": "Successful Response"
    },
    "422": {
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/HTTPValidationError"
          }
        }
      },
      "description": "Validation Error"
    }
  },
  "security": [
    {
      "HTTPBearer": []
    },
    {
      "APIKeyCookie": []
    }
  ],
  "summary": "Pay Bill"
}
POST /api/v1/documents Issue Document

Issue a stable PDF snapshot in the selected language. Bill and claim documents require the corresponding reference.

{
  "description": "Issue a stable PDF snapshot in the selected language. Bill and claim documents require the corresponding reference.",
  "operationId": "issue_document_api_v1_documents_post",
  "requestBody": {
    "content": {
      "application/json": {
        "schema": {
          "$ref": "#/components/schemas/DocumentInput"
        }
      }
    },
    "required": true
  },
  "responses": {
    "201": {
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/Document"
          }
        }
      },
      "description": "Successful Response"
    },
    "422": {
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/HTTPValidationError"
          }
        }
      },
      "description": "Validation Error"
    }
  },
  "security": [
    {
      "HTTPBearer": []
    },
    {
      "APIKeyCookie": []
    }
  ],
  "summary": "Issue Document"
}
GET /api/v1/documents/{document_id}/pdf Download Document
{
  "operationId": "download_document_api_v1_documents__document_id__pdf_get",
  "parameters": [
    {
      "in": "path",
      "name": "document_id",
      "required": true,
      "schema": {
        "title": "Document Id",
        "type": "string"
      }
    }
  ],
  "responses": {
    "200": {
      "content": {
        "application/pdf": {
          "schema": {
            "format": "binary",
            "type": "string"
          }
        }
      },
      "description": "Successful Response"
    },
    "422": {
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/HTTPValidationError"
          }
        }
      },
      "description": "Validation Error"
    }
  },
  "security": [
    {
      "HTTPBearer": []
    },
    {
      "APIKeyCookie": []
    }
  ],
  "summary": "Download Document"
}
GET /api/v1/policies/{policy_id}/servicing View Policy
{
  "operationId": "view_policy_api_v1_policies__policy_id__servicing_get",
  "parameters": [
    {
      "in": "path",
      "name": "policy_id",
      "required": true,
      "schema": {
        "title": "Policy Id",
        "type": "string"
      }
    }
  ],
  "responses": {
    "200": {
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/PolicyService"
          }
        }
      },
      "description": "Successful Response"
    },
    "422": {
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/HTTPValidationError"
          }
        }
      },
      "description": "Validation Error"
    }
  },
  "security": [
    {
      "HTTPBearer": []
    },
    {
      "APIKeyCookie": []
    }
  ],
  "summary": "View Policy",
  "tags": [
    "Policy servicing"
  ]
}
POST /api/v1/policies/{policy_id}/changes/quote Quote Change
{
  "operationId": "quote_change_api_v1_policies__policy_id__changes_quote_post",
  "parameters": [
    {
      "in": "path",
      "name": "policy_id",
      "required": true,
      "schema": {
        "title": "Policy Id",
        "type": "string"
      }
    }
  ],
  "requestBody": {
    "content": {
      "application/json": {
        "schema": {
          "$ref": "#/components/schemas/Endorsement"
        }
      }
    },
    "required": true
  },
  "responses": {
    "200": {
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/Revision"
          }
        }
      },
      "description": "Successful Response"
    },
    "422": {
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/HTTPValidationError"
          }
        }
      },
      "description": "Validation Error"
    }
  },
  "security": [
    {
      "HTTPBearer": []
    },
    {
      "APIKeyCookie": []
    }
  ],
  "summary": "Quote Change",
  "tags": [
    "Policy servicing"
  ]
}
POST /api/v1/policies/{policy_id}/changes Apply Change
{
  "operationId": "apply_change_api_v1_policies__policy_id__changes_post",
  "parameters": [
    {
      "in": "path",
      "name": "policy_id",
      "required": true,
      "schema": {
        "title": "Policy Id",
        "type": "string"
      }
    }
  ],
  "requestBody": {
    "content": {
      "application/json": {
        "schema": {
          "$ref": "#/components/schemas/PolicyChange"
        }
      }
    },
    "required": true
  },
  "responses": {
    "200": {
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/PolicyService"
          }
        }
      },
      "description": "Successful Response"
    },
    "422": {
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/HTTPValidationError"
          }
        }
      },
      "description": "Validation Error"
    }
  },
  "security": [
    {
      "HTTPBearer": []
    },
    {
      "APIKeyCookie": []
    }
  ],
  "summary": "Apply Change",
  "tags": [
    "Policy servicing"
  ]
}
POST /api/v1/policies/{policy_id}/renewals Renew
{
  "operationId": "renew_api_v1_policies__policy_id__renewals_post",
  "parameters": [
    {
      "in": "path",
      "name": "policy_id",
      "required": true,
      "schema": {
        "title": "Policy Id",
        "type": "string"
      }
    }
  ],
  "responses": {
    "201": {
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/Renewal"
          }
        }
      },
      "description": "Successful Response"
    },
    "422": {
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/HTTPValidationError"
          }
        }
      },
      "description": "Validation Error"
    }
  },
  "security": [
    {
      "HTTPBearer": []
    },
    {
      "APIKeyCookie": []
    }
  ],
  "summary": "Renew",
  "tags": [
    "Policy servicing"
  ]
}
GET /api/v1/claims/{claim_id} Read Case
{
  "operationId": "read_case_api_v1_claims__claim_id__get",
  "parameters": [
    {
      "in": "path",
      "name": "claim_id",
      "required": true,
      "schema": {
        "title": "Claim Id",
        "type": "string"
      }
    }
  ],
  "responses": {
    "200": {
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/Case"
          }
        }
      },
      "description": "Successful Response"
    },
    "422": {
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/HTTPValidationError"
          }
        }
      },
      "description": "Validation Error"
    }
  },
  "security": [
    {
      "HTTPBearer": []
    },
    {
      "APIKeyCookie": []
    }
  ],
  "summary": "Read Case",
  "tags": [
    "Claim servicing"
  ]
}
POST /api/v1/claims/{claim_id}/messages Customer Message
{
  "operationId": "customer_message_api_v1_claims__claim_id__messages_post",
  "parameters": [
    {
      "in": "path",
      "name": "claim_id",
      "required": true,
      "schema": {
        "title": "Claim Id",
        "type": "string"
      }
    }
  ],
  "requestBody": {
    "content": {
      "application/json": {
        "schema": {
          "$ref": "#/components/schemas/MessageInput"
        }
      }
    },
    "required": true
  },
  "responses": {
    "201": {
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/Message"
          }
        }
      },
      "description": "Successful Response"
    },
    "422": {
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/HTTPValidationError"
          }
        }
      },
      "description": "Validation Error"
    }
  },
  "security": [
    {
      "HTTPBearer": []
    },
    {
      "APIKeyCookie": []
    }
  ],
  "summary": "Customer Message",
  "tags": [
    "Claim servicing"
  ]
}
POST /api/v1/claims/{claim_id}/files Upload File
{
  "operationId": "upload_file_api_v1_claims__claim_id__files_post",
  "parameters": [
    {
      "in": "path",
      "name": "claim_id",
      "required": true,
      "schema": {
        "title": "Claim Id",
        "type": "string"
      }
    }
  ],
  "requestBody": {
    "content": {
      "multipart/form-data": {
        "schema": {
          "$ref": "#/components/schemas/Body_upload_file_api_v1_claims__claim_id__files_post"
        }
      }
    },
    "required": true
  },
  "responses": {
    "201": {
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/Evidence"
          }
        }
      },
      "description": "Successful Response"
    },
    "422": {
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/HTTPValidationError"
          }
        }
      },
      "description": "Validation Error"
    }
  },
  "security": [
    {
      "HTTPBearer": []
    },
    {
      "APIKeyCookie": []
    }
  ],
  "summary": "Upload File",
  "tags": [
    "Claim servicing"
  ]
}
GET /api/v1/claims/{claim_id}/files/{file_id} Get File
{
  "operationId": "get_file_api_v1_claims__claim_id__files__file_id__get",
  "parameters": [
    {
      "in": "path",
      "name": "claim_id",
      "required": true,
      "schema": {
        "title": "Claim Id",
        "type": "string"
      }
    },
    {
      "in": "path",
      "name": "file_id",
      "required": true,
      "schema": {
        "title": "File Id",
        "type": "string"
      }
    }
  ],
  "responses": {
    "200": {
      "content": {
        "application/pdf": {
          "schema": {
            "format": "binary",
            "type": "string"
          }
        },
        "image/jpeg": {
          "schema": {
            "format": "binary",
            "type": "string"
          }
        },
        "image/png": {
          "schema": {
            "format": "binary",
            "type": "string"
          }
        }
      },
      "description": "Successful Response"
    },
    "422": {
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/HTTPValidationError"
          }
        }
      },
      "description": "Validation Error"
    }
  },
  "security": [
    {
      "HTTPBearer": []
    },
    {
      "APIKeyCookie": []
    }
  ],
  "summary": "Get File",
  "tags": [
    "Claim servicing"
  ]
}
POST /api/v1/claims/{claim_id}/settlement/accept Accept Settlement
{
  "operationId": "accept_settlement_api_v1_claims__claim_id__settlement_accept_post",
  "parameters": [
    {
      "in": "path",
      "name": "claim_id",
      "required": true,
      "schema": {
        "title": "Claim Id",
        "type": "string"
      }
    }
  ],
  "requestBody": {
    "content": {
      "application/json": {
        "schema": {
          "$ref": "#/components/schemas/AcceptOffer"
        }
      }
    },
    "required": true
  },
  "responses": {
    "200": {
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/Financial"
          }
        }
      },
      "description": "Successful Response"
    },
    "422": {
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/HTTPValidationError"
          }
        }
      },
      "description": "Validation Error"
    }
  },
  "security": [
    {
      "HTTPBearer": []
    },
    {
      "APIKeyCookie": []
    }
  ],
  "summary": "Accept Settlement",
  "tags": [
    "Claim servicing"
  ]
}
GET /api/v1/billing Billing
{
  "operationId": "billing_api_v1_billing_get",
  "responses": {
    "200": {
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/BillingState"
          }
        }
      },
      "description": "Successful Response"
    }
  },
  "security": [
    {
      "HTTPBearer": []
    },
    {
      "APIKeyCookie": []
    }
  ],
  "summary": "Billing",
  "tags": [
    "Billing"
  ]
}
POST /api/v1/billing/methods Add Method

Create a simulated payment instrument. The API accepts no bank or card details.

{
  "description": "Create a simulated payment instrument. The API accepts no bank or card details.",
  "operationId": "add_method_api_v1_billing_methods_post",
  "requestBody": {
    "content": {
      "application/json": {
        "schema": {
          "$ref": "#/components/schemas/MethodInput"
        }
      }
    },
    "required": true
  },
  "responses": {
    "201": {
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/Method"
          }
        }
      },
      "description": "Successful Response"
    },
    "422": {
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/HTTPValidationError"
          }
        }
      },
      "description": "Validation Error"
    }
  },
  "security": [
    {
      "HTTPBearer": []
    },
    {
      "APIKeyCookie": []
    }
  ],
  "summary": "Add Method",
  "tags": [
    "Billing"
  ]
}
DELETE /api/v1/billing/methods/{method_id} Remove Method

Remove a payment instrument and disable autopay on policies using it.

{
  "description": "Remove a payment instrument and disable autopay on policies using it.",
  "operationId": "remove_method_api_v1_billing_methods__method_id__delete",
  "parameters": [
    {
      "in": "path",
      "name": "method_id",
      "required": true,
      "schema": {
        "title": "Method Id",
        "type": "string"
      }
    }
  ],
  "responses": {
    "204": {
      "description": "Successful Response"
    },
    "422": {
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/HTTPValidationError"
          }
        }
      },
      "description": "Validation Error"
    }
  },
  "security": [
    {
      "HTTPBearer": []
    },
    {
      "APIKeyCookie": []
    }
  ],
  "summary": "Remove Method",
  "tags": [
    "Billing"
  ]
}
PUT /api/v1/policies/{policy_id}/autopay Set Autopay
{
  "operationId": "set_autopay_api_v1_policies__policy_id__autopay_put",
  "parameters": [
    {
      "in": "path",
      "name": "policy_id",
      "required": true,
      "schema": {
        "title": "Policy Id",
        "type": "string"
      }
    }
  ],
  "requestBody": {
    "content": {
      "application/json": {
        "schema": {
          "$ref": "#/components/schemas/AutopayInput"
        }
      }
    },
    "required": true
  },
  "responses": {
    "200": {
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/Autopay"
          }
        }
      },
      "description": "Successful Response"
    },
    "422": {
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/HTTPValidationError"
          }
        }
      },
      "description": "Validation Error"
    }
  },
  "security": [
    {
      "HTTPBearer": []
    },
    {
      "APIKeyCookie": []
    }
  ],
  "summary": "Set Autopay",
  "tags": [
    "Billing"
  ]
}
POST /api/v1/bills/{bill_id}/payments Manual Payment
{
  "operationId": "manual_payment_api_v1_bills__bill_id__payments_post",
  "parameters": [
    {
      "in": "path",
      "name": "bill_id",
      "required": true,
      "schema": {
        "title": "Bill Id",
        "type": "string"
      }
    }
  ],
  "requestBody": {
    "content": {
      "application/json": {
        "schema": {
          "$ref": "#/components/schemas/AutopayInput"
        }
      }
    },
    "required": true
  },
  "responses": {
    "200": {
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/Bill"
          }
        }
      },
      "description": "Successful Response"
    },
    "422": {
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/HTTPValidationError"
          }
        }
      },
      "description": "Validation Error"
    }
  },
  "security": [
    {
      "HTTPBearer": []
    },
    {
      "APIKeyCookie": []
    }
  ],
  "summary": "Manual Payment",
  "tags": [
    "Billing"
  ]
}
POST /api/v1/bills/{bill_id}/guest-code Issue Guest Code

Create a 48-hour code for this bill. Generating another code revokes the previous code.

{
  "description": "Create a 48-hour code for this bill. Generating another code revokes the previous code.",
  "operationId": "issue_guest_code_api_v1_bills__bill_id__guest_code_post",
  "parameters": [
    {
      "in": "path",
      "name": "bill_id",
      "required": true,
      "schema": {
        "title": "Bill Id",
        "type": "string"
      }
    }
  ],
  "responses": {
    "201": {
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/GuestAccess"
          }
        }
      },
      "description": "Successful Response"
    },
    "422": {
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/HTTPValidationError"
          }
        }
      },
      "description": "Validation Error"
    }
  },
  "security": [
    {
      "HTTPBearer": []
    },
    {
      "APIKeyCookie": []
    }
  ],
  "summary": "Issue Guest Code",
  "tags": [
    "Billing"
  ]
}
POST /api/v1/guest-billing/lookup Guest Lookup
{
  "operationId": "guest_lookup_api_v1_guest_billing_lookup_post",
  "requestBody": {
    "content": {
      "application/json": {
        "schema": {
          "$ref": "#/components/schemas/GuestCode"
        }
      }
    },
    "required": true
  },
  "responses": {
    "200": {
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/GuestBill"
          }
        }
      },
      "description": "Successful Response"
    },
    "422": {
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/HTTPValidationError"
          }
        }
      },
      "description": "Validation Error"
    }
  },
  "summary": "Guest Lookup",
  "tags": [
    "Billing"
  ]
}
POST /api/v1/guest-billing/pay Guest Pay
{
  "operationId": "guest_pay_api_v1_guest_billing_pay_post",
  "requestBody": {
    "content": {
      "application/json": {
        "schema": {
          "$ref": "#/components/schemas/GuestCode"
        }
      }
    },
    "required": true
  },
  "responses": {
    "200": {
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/GuestBill"
          }
        }
      },
      "description": "Successful Response"
    },
    "422": {
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/HTTPValidationError"
          }
        }
      },
      "description": "Validation Error"
    }
  },
  "summary": "Guest Pay",
  "tags": [
    "Billing"
  ]
}
GET /api/v1/account/security Get Security
{
  "operationId": "get_security_api_v1_account_security_get",
  "responses": {
    "200": {
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/SecurityStatus"
          }
        }
      },
      "description": "Successful Response"
    }
  },
  "security": [
    {
      "HTTPBearer": []
    },
    {
      "APIKeyCookie": []
    }
  ],
  "summary": "Get Security",
  "tags": [
    "Account security"
  ]
}
POST /api/v1/account/security/mfa/setup Setup Mfa
{
  "operationId": "setup_mfa_api_v1_account_security_mfa_setup_post",
  "requestBody": {
    "content": {
      "application/json": {
        "schema": {
          "$ref": "#/components/schemas/ConfirmIdentity"
        }
      }
    },
    "required": true
  },
  "responses": {
    "200": {
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/FactorSetup"
          }
        }
      },
      "description": "Successful Response"
    },
    "422": {
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/HTTPValidationError"
          }
        }
      },
      "description": "Validation Error"
    }
  },
  "security": [
    {
      "HTTPBearer": []
    },
    {
      "APIKeyCookie": []
    }
  ],
  "summary": "Setup Mfa",
  "tags": [
    "Account security"
  ]
}
POST /api/v1/account/security/mfa/confirm Enable Mfa
{
  "operationId": "enable_mfa_api_v1_account_security_mfa_confirm_post",
  "requestBody": {
    "content": {
      "application/json": {
        "schema": {
          "$ref": "#/components/schemas/VerifyFactor"
        }
      }
    },
    "required": true
  },
  "responses": {
    "200": {
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/RecoveryCodes"
          }
        }
      },
      "description": "Successful Response"
    },
    "422": {
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/HTTPValidationError"
          }
        }
      },
      "description": "Validation Error"
    }
  },
  "security": [
    {
      "HTTPBearer": []
    },
    {
      "APIKeyCookie": []
    }
  ],
  "summary": "Enable Mfa",
  "tags": [
    "Account security"
  ]
}
POST /api/v1/account/security/mfa/disable Disable Mfa
{
  "operationId": "disable_mfa_api_v1_account_security_mfa_disable_post",
  "requestBody": {
    "content": {
      "application/json": {
        "schema": {
          "$ref": "#/components/schemas/ConfirmIdentity"
        }
      }
    },
    "required": true
  },
  "responses": {
    "200": {
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/SecurityStatus"
          }
        }
      },
      "description": "Successful Response"
    },
    "422": {
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/HTTPValidationError"
          }
        }
      },
      "description": "Validation Error"
    }
  },
  "security": [
    {
      "HTTPBearer": []
    },
    {
      "APIKeyCookie": []
    }
  ],
  "summary": "Disable Mfa",
  "tags": [
    "Account security"
  ]
}
POST /api/v1/account/security/recovery-codes Rotate Codes
{
  "operationId": "rotate_codes_api_v1_account_security_recovery_codes_post",
  "requestBody": {
    "content": {
      "application/json": {
        "schema": {
          "$ref": "#/components/schemas/ConfirmIdentity"
        }
      }
    },
    "required": true
  },
  "responses": {
    "200": {
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/RecoveryCodes"
          }
        }
      },
      "description": "Successful Response"
    },
    "422": {
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/HTTPValidationError"
          }
        }
      },
      "description": "Validation Error"
    }
  },
  "security": [
    {
      "HTTPBearer": []
    },
    {
      "APIKeyCookie": []
    }
  ],
  "summary": "Rotate Codes",
  "tags": [
    "Account security"
  ]
}
POST /api/v1/account/recovery Recover

Reset the password using saved recovery codes. With MFA, prove the authenticator or use two saved codes.

{
  "description": "Reset the password using saved recovery codes. With MFA, prove the authenticator or use two saved codes.",
  "operationId": "recover_api_v1_account_recovery_post",
  "requestBody": {
    "content": {
      "application/json": {
        "schema": {
          "$ref": "#/components/schemas/Recover"
        }
      }
    },
    "required": true
  },
  "responses": {
    "200": {
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/RecoveryCodes"
          }
        }
      },
      "description": "Successful Response"
    },
    "422": {
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/HTTPValidationError"
          }
        }
      },
      "description": "Validation Error"
    }
  },
  "summary": "Recover",
  "tags": [
    "Account security"
  ]
}