---
updatedAt: 2026-04-21T08:57:19.000Z
agentTools:
  projectIndex: https://docs.mesh.complyadvantage.com/llms.txt
---

# Retrieve cases for a customer

Returns a paginated list of cases associated with a customer.


You need one of the "View cases (customer onboarding)", "View cases (customer monitoring)", "View cases (payment screening)" or "View cases (transaction monitoring)" permissions to use this endpoint.

# OpenAPI definition

```json
{
  "components": {
    "schemas": {
      "case-management_BankPaymentSubject": {
        "description": "Transaction subject as a bank payment.",
        "properties": {
          "detail": {
            "$ref": "#/components/schemas/case-management_BankPaymentSubjectDetail"
          },
          "external_identifier": {
            "description": "Transaction external identifier.",
            "type": "string"
          },
          "identifier": {
            "description": "Transaction unique identifier.",
            "format": "uuid",
            "type": "string"
          },
          "type": {
            "enum": [
              "TRANSACTION"
            ],
            "example": "TRANSACTION",
            "type": "string"
          }
        },
        "required": [
          "detail",
          "external_identifier",
          "identifier",
          "type"
        ],
        "type": "object"
      },
      "case-management_BankPaymentSubjectDetail": {
        "description": "Bank payment subject detail.",
        "properties": {
          "type": {
            "enum": [
              "BANK_PAYMENT"
            ],
            "example": "BANK_PAYMENT",
            "type": "string"
          }
        },
        "required": [
          "type"
        ],
        "type": "object"
      },
      "case-management_BankPaymentSummaryResponse": {
        "description": "Summary of a Bank Payment.",
        "properties": {
          "external_identifier": {
            "description": "Payment external identifier.",
            "type": "string"
          },
          "identifier": {
            "description": "Payment unique identifier.",
            "format": "uuid",
            "type": "string"
          },
          "type": {
            "description": "Payment type.",
            "enum": [
              "BANK_PAYMENT"
            ],
            "example": "BANK_PAYMENT",
            "type": "string"
          }
        },
        "required": [
          "external_identifier",
          "identifier",
          "type"
        ],
        "type": "object"
      },
      "case-management_CardPaymentSubject": {
        "description": "Transaction subject as a card payment.",
        "properties": {
          "detail": {
            "$ref": "#/components/schemas/case-management_CardPaymentSubjectDetail"
          },
          "external_identifier": {
            "description": "Transaction external identifier.",
            "type": "string"
          },
          "identifier": {
            "description": "Transaction unique identifier.",
            "format": "uuid",
            "type": "string"
          },
          "type": {
            "enum": [
              "TRANSACTION"
            ],
            "example": "TRANSACTION",
            "type": "string"
          }
        },
        "required": [
          "detail",
          "external_identifier",
          "identifier",
          "type"
        ],
        "type": "object"
      },
      "case-management_CardPaymentSubjectDetail": {
        "description": "Card payment subject detail.",
        "properties": {
          "type": {
            "enum": [
              "CARD_PAYMENT"
            ],
            "example": "CARD_PAYMENT",
            "type": "string"
          }
        },
        "required": [
          "type"
        ],
        "type": "object"
      },
      "case-management_CardPaymentSummaryResponse": {
        "description": "Summary of a Card Payment.",
        "properties": {
          "external_identifier": {
            "description": "Payment external identifier.",
            "type": "string"
          },
          "identifier": {
            "description": "Payment unique identifier.",
            "format": "uuid",
            "type": "string"
          },
          "type": {
            "description": "Payment type.",
            "enum": [
              "CARD_PAYMENT"
            ],
            "example": "CARD_PAYMENT",
            "type": "string"
          }
        },
        "required": [
          "external_identifier",
          "identifier",
          "type"
        ],
        "type": "object"
      },
      "case-management_CaseCustomerSummaryResponse": {
        "description": "Customer summary that is associated to a case.",
        "properties": {
          "acquisition_source": {
            "description": "Customer acquisition source.",
            "nullable": true,
            "type": "string"
          },
          "external_identifier": {
            "description": "Customer external identifier.",
            "nullable": true,
            "type": "string"
          },
          "identifier": {
            "description": "Customer unique identifier.",
            "format": "uuid",
            "type": "string"
          },
          "name": {
            "description": "Customer name.",
            "type": "string"
          },
          "risk_level": {
            "description": "Customer current risk level.",
            "enum": [
              "LOW",
              "MEDIUM",
              "HIGH",
              "PROHIBITED",
              "SKIPPED"
            ],
            "type": "string"
          },
          "type": {
            "description": "Customer type.",
            "enum": [
              "PERSON",
              "COMPANY",
              "VESSEL",
              "UNDEFINED"
            ],
            "type": "string"
          },
          "version": {
            "description": "Customer version.",
            "format": "int32",
            "type": "integer"
          }
        },
        "required": [
          "identifier",
          "name",
          "risk_level",
          "type",
          "version"
        ],
        "type": "object"
      },
      "case-management_CaseResponse": {
        "description": "Case result detail.",
        "properties": {
          "assignee": {
            "description": "User unique identifier that is currently assigned to case.\n\n null if un-assigned.",
            "format": "uuid",
            "nullable": true,
            "type": "string"
          },
          "created_at": {
            "description": "Case created date and time.",
            "format": "date-time",
            "type": "string"
          },
          "customer": {
            "$ref": "#/components/schemas/case-management_CaseCustomerSummaryResponse"
          },
          "identifier": {
            "description": "Case unique identifier.",
            "format": "uuid",
            "type": "string"
          },
          "last_user_stage": {
            "$ref": "#/components/schemas/case-management_Stage"
          },
          "last_user_state": {
            "deprecated": true,
            "description": "The last state the case was transitioned to by a user (as opposed to a system action).\n\nFor those using the deprecated case_state, if any new case stages are added the case state response for these will be returned as  USER_DEFINED",
            "enum": [
              "ONBOARDING_NOT_STARTED",
              "ONBOARDING_IN_PROGRESS",
              "ONBOARDING_ESCALATED",
              "ONBOARDING_BLOCKED",
              "ONBOARDING_POSITIVE_END_STATE",
              "ONBOARDING_MANAGEABLE_RISK_POSITIVE_END_STATE",
              "ONBOARDING_NEGATIVE_END_STATE",
              "MONITORING_NOT_STARTED",
              "MONITORING_IN_PROGRESS",
              "MONITORING_ESCALATED",
              "MONITORING_BLOCKED",
              "MONITORING_NO_RISK_DETECTED_POSITIVE_END_STATE",
              "MONITORING_RISK_DETECTED_POSITIVE_END_STATE",
              "MONITORING_RISK_DETECTED_NEGATIVE_END_STATE",
              "PAYMENT_SCREENING_NOT_STARTED",
              "PAYMENT_SCREENING_IN_PROGRESS",
              "PAYMENT_SCREENING_ESCALATED",
              "PAYMENT_SCREENING_BLOCKED",
              "PAYMENT_SCREENING_AWAITING_INFORMATION",
              "PAYMENT_SCREENING_PROCESS_PAYMENT_END_STATE",
              "PAYMENT_SCREENING_REJECT_PAYMENT_END_STATE",
              "TRANSACTION_MONITORING_NOT_STARTED",
              "TRANSACTION_MONITORING_IN_PROGRESS",
              "TRANSACTION_MONITORING_ESCALATED",
              "TRANSACTION_MONITORING_BLOCKED",
              "TRANSACTION_MONITORING_ACCEPTED_POSITIVE_END_STATE",
              "TRANSACTION_MONITORING_ESCALATED_NEGATIVE_END_STATE",
              "USER_DEFINED"
            ],
            "example": "ONBOARDING_POSITIVE_END_STATE",
            "nullable": true,
            "type": "string"
          },
          "payment": {
            "$ref": "#/components/schemas/case-management_PaymentSummaryResponse"
          },
          "review_items_count": {
            "description": "Number of items to review in case.",
            "format": "int32",
            "type": "integer"
          },
          "risk_catalog_risk_types": {
            "description": "Risk catalog risk types associated with the case",
            "items": {
              "$ref": "#/components/schemas/case-management_RiskCatalogResponse"
            },
            "type": "array"
          },
          "risk_types": {
            "description": "Risk types of case.",
            "items": {
              "$ref": "#/components/schemas/case-management_RiskTypesResponse"
            },
            "type": "array"
          },
          "stage": {
            "$ref": "#/components/schemas/case-management_Stage"
          },
          "state": {
            "deprecated": true,
            "description": "The current state of the case.\n\nFor those using the deprecated case_state, if any new case stages are added the case state response for these will be returned as USER_DEFINED",
            "enum": [
              "ONBOARDING_NOT_STARTED",
              "ONBOARDING_IN_PROGRESS",
              "ONBOARDING_ESCALATED",
              "ONBOARDING_BLOCKED",
              "ONBOARDING_POSITIVE_END_STATE",
              "ONBOARDING_MANAGEABLE_RISK_POSITIVE_END_STATE",
              "ONBOARDING_NEGATIVE_END_STATE",
              "MONITORING_NOT_STARTED",
              "MONITORING_IN_PROGRESS",
              "MONITORING_ESCALATED",
              "MONITORING_BLOCKED",
              "MONITORING_NO_RISK_DETECTED_POSITIVE_END_STATE",
              "MONITORING_RISK_DETECTED_POSITIVE_END_STATE",
              "MONITORING_RISK_DETECTED_NEGATIVE_END_STATE",
              "PAYMENT_SCREENING_NOT_STARTED",
              "PAYMENT_SCREENING_IN_PROGRESS",
              "PAYMENT_SCREENING_ESCALATED",
              "PAYMENT_SCREENING_BLOCKED",
              "PAYMENT_SCREENING_AWAITING_INFORMATION",
              "PAYMENT_SCREENING_PROCESS_PAYMENT_END_STATE",
              "PAYMENT_SCREENING_REJECT_PAYMENT_END_STATE",
              "TRANSACTION_MONITORING_NOT_STARTED",
              "TRANSACTION_MONITORING_IN_PROGRESS",
              "TRANSACTION_MONITORING_ESCALATED",
              "TRANSACTION_MONITORING_BLOCKED",
              "TRANSACTION_MONITORING_ACCEPTED_POSITIVE_END_STATE",
              "TRANSACTION_MONITORING_ESCALATED_NEGATIVE_END_STATE",
              "USER_DEFINED"
            ],
            "example": "ONBOARDING_POSITIVE_END_STATE",
            "type": "string"
          },
          "subjects": {
            "description": "Subjects associated with the case, capped at the first 100.",
            "items": {
              "$ref": "#/components/schemas/case-management_Subject"
            },
            "maxItems": 100,
            "type": "array"
          },
          "subjects_summary": {
            "$ref": "#/components/schemas/case-management_SubjectsSummary"
          },
          "type": {
            "description": "Case type.",
            "enum": [
              "CUSTOMER_ONBOARDING",
              "CUSTOMER_MONITORING",
              "PAYMENT_SCREENING",
              "TRANSACTION_MONITORING"
            ],
            "example": "CUSTOMER_ONBOARDING",
            "type": "string"
          },
          "updated_at": {
            "description": "Case last updated date and time.",
            "format": "date-time",
            "type": "string"
          },
          "updated_by": {
            "description": "Last state of case set by an user.",
            "format": "uuid",
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "created_at",
          "identifier",
          "review_items_count",
          "risk_catalog_risk_types",
          "risk_types",
          "stage",
          "state",
          "subjects",
          "subjects_summary",
          "type",
          "updated_at"
        ],
        "type": "object"
      },
      "case-management_CompanySubject": {
        "description": "Company customer subject.",
        "properties": {
          "detail": {
            "$ref": "#/components/schemas/case-management_CompanySubjectDetail"
          },
          "external_identifier": {
            "description": "Customer external identifier.",
            "nullable": true,
            "type": "string"
          },
          "identifier": {
            "description": "Customer unique identifier.",
            "format": "uuid",
            "type": "string"
          },
          "name": {
            "description": "Customer name.",
            "type": "string"
          },
          "risk_level": {
            "description": "Customer current risk level.",
            "enum": [
              "LOW",
              "MEDIUM",
              "HIGH",
              "PROHIBITED",
              "SKIPPED"
            ],
            "nullable": true,
            "type": "string"
          },
          "type": {
            "enum": [
              "CUSTOMER"
            ],
            "example": "CUSTOMER",
            "type": "string"
          },
          "version": {
            "description": "Customer version.",
            "format": "int32",
            "type": "integer"
          }
        },
        "required": [
          "detail",
          "identifier",
          "name",
          "type",
          "version"
        ],
        "type": "object"
      },
      "case-management_CompanySubjectDetail": {
        "description": "Company customer subject detail.",
        "properties": {
          "type": {
            "enum": [
              "COMPANY"
            ],
            "example": "COMPANY",
            "type": "string"
          }
        },
        "required": [
          "type"
        ],
        "type": "object"
      },
      "case-management_CounterpartySubject": {
        "description": "Counterparty subject.",
        "properties": {
          "external_identifier": {
            "description": "Counterparty external identifier.",
            "type": "string"
          },
          "name": {
            "description": "Counterparty name.",
            "nullable": true,
            "type": "string"
          },
          "type": {
            "enum": [
              "COUNTERPARTY"
            ],
            "example": "COUNTERPARTY",
            "type": "string"
          }
        },
        "required": [
          "external_identifier",
          "type"
        ],
        "type": "object"
      },
      "case-management_CryptoPaymentSubject": {
        "description": "Transaction subject as a crypto payment.",
        "properties": {
          "detail": {
            "$ref": "#/components/schemas/case-management_CryptoPaymentSubjectDetail"
          },
          "external_identifier": {
            "description": "Transaction external identifier.",
            "type": "string"
          },
          "identifier": {
            "description": "Transaction unique identifier.",
            "format": "uuid",
            "type": "string"
          },
          "type": {
            "enum": [
              "TRANSACTION"
            ],
            "example": "TRANSACTION",
            "type": "string"
          }
        },
        "required": [
          "detail",
          "external_identifier",
          "identifier",
          "type"
        ],
        "type": "object"
      },
      "case-management_CryptoPaymentSubjectDetail": {
        "description": "Crypto payment subject detail.",
        "properties": {
          "type": {
            "enum": [
              "CRYPTO"
            ],
            "example": "CRYPTO",
            "type": "string"
          }
        },
        "required": [
          "type"
        ],
        "type": "object"
      },
      "case-management_CryptoPaymentSummaryResponse": {
        "description": "Summary of a Crypto Payment.",
        "properties": {
          "external_identifier": {
            "description": "Payment external identifier.",
            "type": "string"
          },
          "identifier": {
            "description": "Payment unique identifier.",
            "format": "uuid",
            "type": "string"
          },
          "type": {
            "description": "Payment type.",
            "enum": [
              "CRYPTO"
            ],
            "example": "CRYPTO",
            "type": "string"
          }
        },
        "required": [
          "external_identifier",
          "identifier",
          "type"
        ],
        "type": "object"
      },
      "case-management_CustomerSubject": {
        "description": "Customer subject.",
        "discriminator": {
          "mapping": {
            "COMPANY": "#/components/schemas/case-management_CompanySubject",
            "PERSON": "#/components/schemas/case-management_PersonSubject",
            "UNDEFINED": "#/components/schemas/case-management_UndefinedSubject",
            "VESSEL": "#/components/schemas/case-management_VesselSubject"
          },
          "propertyName": "detail.type"
        },
        "oneOf": [
          {
            "$ref": "#/components/schemas/case-management_PersonSubject"
          },
          {
            "$ref": "#/components/schemas/case-management_CompanySubject"
          },
          {
            "$ref": "#/components/schemas/case-management_VesselSubject"
          },
          {
            "$ref": "#/components/schemas/case-management_UndefinedSubject"
          }
        ],
        "type": "object"
      },
      "case-management_PaginatedResponseCaseResponse": {
        "properties": {
          "cases": {
            "items": {
              "$ref": "#/components/schemas/case-management_CaseResponse"
            },
            "type": "array"
          },
          "first": {
            "description": "The URL path to the first page.",
            "example": "/v1/resource?page_number=1",
            "type": "string"
          },
          "next": {
            "description": "The URL path to the next page.",
            "example": "/v1/resource?page_number=4",
            "nullable": true,
            "type": "string"
          },
          "prev": {
            "description": "The URL path to the previous page.",
            "example": "/v1/resource?page_number=2",
            "nullable": true,
            "type": "string"
          },
          "self": {
            "description": "The URL path to the current page.",
            "example": "/v1/resource?page_number=3",
            "type": "string"
          },
          "total_count": {
            "description": "Total number of items.",
            "example": 60,
            "format": "int64",
            "nullable": true,
            "type": "integer"
          }
        },
        "required": [
          "first",
          "self",
          "cases"
        ],
        "type": "object"
      },
      "case-management_PaymentSummaryResponse": {
        "description": "Summary of payment information.",
        "oneOf": [
          {
            "$ref": "#/components/schemas/case-management_BankPaymentSummaryResponse"
          },
          {
            "$ref": "#/components/schemas/case-management_CardPaymentSummaryResponse"
          },
          {
            "$ref": "#/components/schemas/case-management_RemittancePaymentSummaryResponse"
          },
          {
            "$ref": "#/components/schemas/case-management_CryptoPaymentSummaryResponse"
          }
        ],
        "type": "object"
      },
      "case-management_PersonSubject": {
        "description": "Person customer subject.",
        "properties": {
          "detail": {
            "$ref": "#/components/schemas/case-management_PersonSubjectDetail"
          },
          "external_identifier": {
            "description": "Customer external identifier.",
            "nullable": true,
            "type": "string"
          },
          "identifier": {
            "description": "Customer unique identifier.",
            "format": "uuid",
            "type": "string"
          },
          "name": {
            "description": "Customer name.",
            "type": "string"
          },
          "risk_level": {
            "description": "Customer current risk level.",
            "enum": [
              "LOW",
              "MEDIUM",
              "HIGH",
              "PROHIBITED",
              "SKIPPED"
            ],
            "nullable": true,
            "type": "string"
          },
          "type": {
            "enum": [
              "CUSTOMER"
            ],
            "example": "CUSTOMER",
            "type": "string"
          },
          "version": {
            "description": "Customer version.",
            "format": "int32",
            "type": "integer"
          }
        },
        "required": [
          "detail",
          "identifier",
          "name",
          "type",
          "version"
        ],
        "type": "object"
      },
      "case-management_PersonSubjectDetail": {
        "description": "Person customer subject detail.",
        "properties": {
          "type": {
            "enum": [
              "PERSON"
            ],
            "example": "PERSON",
            "type": "string"
          }
        },
        "required": [
          "type"
        ],
        "type": "object"
      },
      "case-management_RemittancePaymentSubject": {
        "description": "Transaction subject as a remittance payment.",
        "properties": {
          "detail": {
            "$ref": "#/components/schemas/case-management_RemittancePaymentSubjectDetail"
          },
          "external_identifier": {
            "description": "Transaction external identifier.",
            "type": "string"
          },
          "identifier": {
            "description": "Transaction unique identifier.",
            "format": "uuid",
            "type": "string"
          },
          "type": {
            "enum": [
              "TRANSACTION"
            ],
            "example": "TRANSACTION",
            "type": "string"
          }
        },
        "required": [
          "detail",
          "external_identifier",
          "identifier",
          "type"
        ],
        "type": "object"
      },
      "case-management_RemittancePaymentSubjectDetail": {
        "description": "Remittance payment subject detail.",
        "properties": {
          "type": {
            "enum": [
              "REMITTANCE"
            ],
            "example": "REMITTANCE",
            "type": "string"
          }
        },
        "required": [
          "type"
        ],
        "type": "object"
      },
      "case-management_RemittancePaymentSummaryResponse": {
        "description": "Summary of a Remittance Payment.",
        "properties": {
          "external_identifier": {
            "description": "Payment external identifier.",
            "type": "string"
          },
          "identifier": {
            "description": "Payment unique identifier.",
            "format": "uuid",
            "type": "string"
          },
          "type": {
            "description": "Payment type.",
            "enum": [
              "REMITTANCE"
            ],
            "example": "REMITTANCE",
            "type": "string"
          }
        },
        "required": [
          "external_identifier",
          "identifier",
          "type"
        ],
        "type": "object"
      },
      "case-management_RiskCatalogResponse": {
        "description": "Risk catalog response containing catalog key and associated risk types.",
        "properties": {
          "catalog_key": {
            "description": "Unique key for the risk catalog",
            "type": "string"
          },
          "risk_types": {
            "description": "List of risk types associated with this risk catalog",
            "items": {
              "$ref": "#/components/schemas/case-management_RiskCatalogRiskTypesResponse"
            },
            "type": "array"
          }
        },
        "required": [
          "catalog_key",
          "risk_types"
        ],
        "type": "object"
      },
      "case-management_RiskCatalogRiskTypesResponse": {
        "description": "Risk type.",
        "properties": {
          "key": {
            "description": "Unique key for the risk type",
            "type": "string"
          }
        },
        "required": [
          "key"
        ],
        "type": "object"
      },
      "case-management_RiskTypesChildResponse": {
        "description": "Risk child.",
        "properties": {
          "name": {
            "description": "Risk child name.",
            "enum": [
              "ADVERSE_MEDIA_CYBERCRIME",
              "ADVERSE_MEDIA_EU_AML_DIRECTIVE",
              "ADVERSE_MEDIA_FINANCIAL_AML_CFT",
              "ADVERSE_MEDIA_FINANCIAL_CRIME",
              "ADVERSE_MEDIA_FINANCIAL_DIFFICULTY",
              "ADVERSE_MEDIA_FRAUD_LINKED",
              "ADVERSE_MEDIA_FRAUD",
              "ADVERSE_MEDIA_GENERAL_AML_CFT",
              "ADVERSE_MEDIA_GENERAL",
              "ADVERSE_MEDIA_HIGH_RISK",
              "ADVERSE_MEDIA_NARCOTICS_AML_CFT",
              "ADVERSE_MEDIA_NARCOTICS",
              "ADVERSE_MEDIA_OTHER_FINANCIAL",
              "ADVERSE_MEDIA_OTHER_MINOR",
              "ADVERSE_MEDIA_OTHER_SERIOUS",
              "ADVERSE_MEDIA_PROPERTY",
              "ADVERSE_MEDIA_REGULATORY",
              "ADVERSE_MEDIA_SEXUAL_CRIME",
              "ADVERSE_MEDIA_TERRORISM",
              "ADVERSE_MEDIA_VIOLENCE_AML_CFT",
              "ADVERSE_MEDIA_VIOLENCE_NON_AML_CFT",
              "ADVERSE_MEDIA_VIOLENT_CRIME",
              "ADVERSE_MEDIA",
              "FITNESS_PROBITY",
              "PEP_CLASS_1_TO_3",
              "PEP_CLASS_1",
              "PEP_CLASS_2",
              "PEP_CLASS_3",
              "PEP_CLASS_4",
              "PEP",
              "SANCTION_RELATED",
              "SANCTION",
              "WARNING",
              "CUSTOM",
              "RISK_WORDS"
            ],
            "type": "string"
          }
        },
        "required": [
          "name"
        ],
        "type": "object"
      },
      "case-management_RiskTypesResponse": {
        "description": "Risk reference.",
        "properties": {
          "children": {
            "description": "Risk type children. Only PEP and ADVERSE_MEDIA risk types have child objects.",
            "items": {
              "$ref": "#/components/schemas/case-management_RiskTypesChildResponse"
            },
            "type": "array"
          },
          "name": {
            "description": "Risk type name.",
            "enum": [
              "ADVERSE_MEDIA_CYBERCRIME",
              "ADVERSE_MEDIA_EU_AML_DIRECTIVE",
              "ADVERSE_MEDIA_FINANCIAL_AML_CFT",
              "ADVERSE_MEDIA_FINANCIAL_CRIME",
              "ADVERSE_MEDIA_FINANCIAL_DIFFICULTY",
              "ADVERSE_MEDIA_FRAUD_LINKED",
              "ADVERSE_MEDIA_FRAUD",
              "ADVERSE_MEDIA_GENERAL_AML_CFT",
              "ADVERSE_MEDIA_GENERAL",
              "ADVERSE_MEDIA_HIGH_RISK",
              "ADVERSE_MEDIA_NARCOTICS_AML_CFT",
              "ADVERSE_MEDIA_NARCOTICS",
              "ADVERSE_MEDIA_OTHER_FINANCIAL",
              "ADVERSE_MEDIA_OTHER_MINOR",
              "ADVERSE_MEDIA_OTHER_SERIOUS",
              "ADVERSE_MEDIA_PROPERTY",
              "ADVERSE_MEDIA_REGULATORY",
              "ADVERSE_MEDIA_SEXUAL_CRIME",
              "ADVERSE_MEDIA_TERRORISM",
              "ADVERSE_MEDIA_VIOLENCE_AML_CFT",
              "ADVERSE_MEDIA_VIOLENCE_NON_AML_CFT",
              "ADVERSE_MEDIA_VIOLENT_CRIME",
              "ADVERSE_MEDIA",
              "FITNESS_PROBITY",
              "PEP_CLASS_1_TO_3",
              "PEP_CLASS_1",
              "PEP_CLASS_2",
              "PEP_CLASS_3",
              "PEP_CLASS_4",
              "PEP",
              "SANCTION_RELATED",
              "SANCTION",
              "WARNING",
              "CUSTOM",
              "RISK_WORDS"
            ],
            "type": "string"
          },
          "priority": {
            "description": "Risk type priority. This can be used to sort cases by priority.\nPriorities are:\n1. ADVERSE_MEDIA\n2. FITNESS_PROBITY\n3. WARNING\n4. PEP\n5. SANCTION_RELATED\n6. SANCTION",
            "format": "int32",
            "type": "integer"
          }
        },
        "required": [
          "children",
          "name",
          "priority"
        ],
        "type": "object"
      },
      "case-management_Stage": {
        "description": "Stage",
        "properties": {
          "decision_type": {
            "description": "The decision type of the stage (decision stages only).",
            "enum": [
              "POSITIVE",
              "NEGATIVE",
              "PARTIAL_POSITIVE"
            ],
            "nullable": true,
            "type": "string"
          },
          "display_name": {
            "description": "The display name of the stage.",
            "maxLength": 30,
            "minLength": 3,
            "type": "string"
          },
          "display_order": {
            "description": "The display order of the stage.",
            "format": "int32",
            "minimum": 1,
            "type": "integer"
          },
          "identifier": {
            "description": "Stage unique identifier.",
            "format": "uuid",
            "type": "string"
          },
          "stage_type": {
            "description": "The type of the stage.",
            "enum": [
              "INITIAL",
              "REVIEW",
              "DECISION"
            ],
            "type": "string"
          }
        },
        "required": [
          "display_name",
          "display_order",
          "identifier",
          "stage_type"
        ],
        "type": "object"
      },
      "case-management_Subject": {
        "description": "Case subject.",
        "discriminator": {
          "mapping": {
            "COUNTERPARTY": "#/components/schemas/case-management_CounterpartySubject",
            "CUSTOMER": "#/components/schemas/case-management_CustomerSubject",
            "TRANSACTION": "#/components/schemas/case-management_TransactionSubject"
          },
          "propertyName": "type"
        },
        "oneOf": [
          {
            "$ref": "#/components/schemas/case-management_CustomerSubject"
          },
          {
            "$ref": "#/components/schemas/case-management_TransactionSubject"
          },
          {
            "$ref": "#/components/schemas/case-management_CounterpartySubject"
          }
        ],
        "properties": {
          "type": {
            "description": "The type of the subject.",
            "enum": [
              "CUSTOMER",
              "TRANSACTION",
              "COUNTERPARTY"
            ],
            "example": "CUSTOMER",
            "type": "string"
          }
        },
        "required": [
          "type"
        ],
        "type": "object"
      },
      "case-management_SubjectsSummary": {
        "description": "Summary information about the subjects associated with a case.",
        "properties": {
          "total_count": {
            "description": "The total number of subjects associated with the case.",
            "format": "int32",
            "type": "integer"
          }
        },
        "required": [
          "total_count"
        ],
        "type": "object"
      },
      "case-management_TransactionSubject": {
        "description": "Transaction subject.",
        "discriminator": {
          "mapping": {
            "BANK_PAYMENT": "#/components/schemas/case-management_BankPaymentSubject",
            "CARD_PAYMENT": "#/components/schemas/case-management_CardPaymentSubject",
            "CRYPTO": "#/components/schemas/case-management_CryptoPaymentSubject",
            "REMITTANCE": "#/components/schemas/case-management_RemittancePaymentSubject"
          },
          "propertyName": "detail.type"
        },
        "oneOf": [
          {
            "$ref": "#/components/schemas/case-management_BankPaymentSubject"
          },
          {
            "$ref": "#/components/schemas/case-management_CardPaymentSubject"
          },
          {
            "$ref": "#/components/schemas/case-management_RemittancePaymentSubject"
          },
          {
            "$ref": "#/components/schemas/case-management_CryptoPaymentSubject"
          }
        ],
        "type": "object"
      },
      "case-management_UndefinedSubject": {
        "description": "Undefined customer subject.",
        "properties": {
          "detail": {
            "$ref": "#/components/schemas/case-management_UndefinedSubjectDetail"
          },
          "external_identifier": {
            "description": "Customer external identifier.",
            "nullable": true,
            "type": "string"
          },
          "identifier": {
            "description": "Customer unique identifier.",
            "format": "uuid",
            "type": "string"
          },
          "name": {
            "description": "Customer name.",
            "type": "string"
          },
          "risk_level": {
            "description": "Customer current risk level.",
            "enum": [
              "LOW",
              "MEDIUM",
              "HIGH",
              "PROHIBITED",
              "SKIPPED"
            ],
            "nullable": true,
            "type": "string"
          },
          "type": {
            "enum": [
              "CUSTOMER"
            ],
            "example": "CUSTOMER",
            "type": "string"
          },
          "version": {
            "description": "Customer version.",
            "format": "int32",
            "type": "integer"
          }
        },
        "required": [
          "detail",
          "identifier",
          "name",
          "type",
          "version"
        ],
        "type": "object"
      },
      "case-management_UndefinedSubjectDetail": {
        "description": "Undefined customer subject detail.",
        "properties": {
          "type": {
            "enum": [
              "UNDEFINED"
            ],
            "example": "UNDEFINED",
            "type": "string"
          }
        },
        "required": [
          "type"
        ],
        "type": "object"
      },
      "case-management_VesselSubject": {
        "description": "Vessel customer subject.",
        "properties": {
          "detail": {
            "$ref": "#/components/schemas/case-management_VesselSubjectDetail"
          },
          "external_identifier": {
            "description": "Customer external identifier.",
            "nullable": true,
            "type": "string"
          },
          "identifier": {
            "description": "Customer unique identifier.",
            "format": "uuid",
            "type": "string"
          },
          "name": {
            "description": "Customer name.",
            "type": "string"
          },
          "risk_level": {
            "description": "Customer current risk level.",
            "enum": [
              "LOW",
              "MEDIUM",
              "HIGH",
              "PROHIBITED",
              "SKIPPED"
            ],
            "nullable": true,
            "type": "string"
          },
          "type": {
            "enum": [
              "CUSTOMER"
            ],
            "example": "CUSTOMER",
            "type": "string"
          },
          "version": {
            "description": "Customer version.",
            "format": "int32",
            "type": "integer"
          }
        },
        "required": [
          "detail",
          "identifier",
          "name",
          "type",
          "version"
        ],
        "type": "object"
      },
      "case-management_VesselSubjectDetail": {
        "description": "Vessel customer subject detail.",
        "properties": {
          "type": {
            "enum": [
              "VESSEL"
            ],
            "example": "VESSEL",
            "type": "string"
          }
        },
        "required": [
          "type"
        ],
        "type": "object"
      }
    },
    "securitySchemes": {
      "BearerAuth": {
        "description": "HTTP Bearer Token Authentication",
        "scheme": "bearer",
        "type": "http"
      }
    }
  },
  "info": {
    "title": "Mesh API",
    "version": "v2.0"
  },
  "openapi": "3.0.3",
  "paths": {
    "/v2/customers/{customer_identifier}/cases": {
      "get": {
        "description": "Returns a paginated list of cases associated with a customer.\n\n\nYou need one of the \"View cases (customer onboarding)\", \"View cases (customer monitoring)\", \"View cases (payment screening)\" or \"View cases (transaction monitoring)\" permissions to use this endpoint.",
        "operationId": "casesService/v2/customers/customer_identifier/cases.get",
        "parameters": [
          {
            "description": "The unique identifier of the customer.",
            "example": "01899c37-576b-7677-b41a-9c9fdbd3bde1",
            "in": "path",
            "name": "customer_identifier",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "description": "One-based page index (1..N)",
            "example": 1,
            "in": "query",
            "name": "page_number",
            "required": false,
            "schema": {
              "default": 1,
              "minimum": 1,
              "type": "integer"
            }
          },
          {
            "description": "The size of the page to be returned",
            "example": 20,
            "in": "query",
            "name": "page_size",
            "required": false,
            "schema": {
              "default": 25,
              "minimum": 1,
              "type": "integer"
            }
          },
          {
            "description": "Sorting criteria in the format of: `[-]property` (`-` descending modifier).\n\n* Default sort order is ascending (without `-`).\n\n* Multiple sort criteria are supported.",
            "example": [
              "-timestamp"
            ],
            "in": "query",
            "name": "sort",
            "required": false,
            "schema": {
              "items": {
                "type": "string"
              },
              "type": "array"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/case-management_PaginatedResponseCaseResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "summary": "Retrieve cases for a customer",
        "tags": [
          "Customers"
        ]
      }
    }
  },
  "security": [
    {
      "BearerAuth": []
    }
  ],
  "servers": [
    {
      "description": "ComplyAdvantage Mesh API",
      "url": "https://api.mesh.complyadvantage.com"
    }
  ],
  "tags": [
    {
      "name": "Customers"
    }
  ]
}
```