{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "$id": "https://artifacts.apis.io/breezecash/json-schema/breezecash-get-headless-kyc-by-id-response-schema.json",
  "title": "GetHeadlessKycByIdResponse",
  "description": "Response data for headless KYC endpoints",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/breezecash-headless-kyc-api-openapi.yml#/components/schemas/GetHeadlessKycByIdResponse",
  "type": "object",
  "properties": {
    "id": {
      "type": "string"
    },
    "customerId": {
      "type": "string"
    },
    "accountId": {
      "type": "string"
    },
    "kycId": {
      "type": "string"
    },
    "kycStatus": {
      "type": "string",
      "enum": [
        "processing",
        "approved",
        "rejected",
        "under_review",
        "pending_user_info"
      ]
    },
    "customerReferenceId": {
      "type": "string"
    },
    "tier": {
      "type": "string",
      "enum": [
        "TIER_0",
        "TIER_1",
        "TIER_2",
        "TIER_3"
      ]
    },
    "rejectionReason": {
      "type": "string"
    },
    "actionLink": {
      "type": "string",
      "description": "Hosted verification link the end user must open to finish the tier's identity checks. Only present once a flow that needs user action has been initiated (Tier 3 today). May change between calls once the previous Persona inquiry has expired."
    },
    "createdAt": {
      "type": "number"
    },
    "updatedAt": {
      "type": "number"
    }
  },
  "required": [
    "id",
    "kycStatus",
    "customerReferenceId",
    "tier",
    "createdAt",
    "updatedAt"
  ],
  "definitions": {}
}