subjectRecord.get

Retrieve comprehensive details about a Subject Recordentity.

POST http://api.kompliant.com/subjectRecord.get (OpenAPI specification)

Usage Info

This method returns all stored information about a Subject Record entity, including business, bank accounts, persons and workflows. Sensitive information like tax ID are masked by default and revealed only when specifically requested. Use this method when displaying person profiles, populating forms with existing data, or retrieving specific attributes for compliance verification.

Request

Authentication: KSig1-HMAC-SHA256

Parameters

ParameterTypeRequiredDescription
subject_record_idstringYesThe identifier for the Subject Record to get details about.
show_sensitive_databooleanNoA boolean value that if true, indicates that sensitive data should shown. If the parameter is not provided, the value defaults to false and the sensitive data will be masked.

The sensitive data for the Subject Record is dependent on the sub-entities bank accounts, persons, etc.
verbosebooleanNoA boolean value that when true includes the sub-entities of the subject record in the response.

The sub-entities are bank accounts, persons, workflows and business.

Example

{
  "subject_record_id": "sr_4PYsekjAX8VMuAOfmW81C7",
  "show_sensitive_data": true,
  "verbose": true,
}

Response

Data

ParameterTypeDescription
Subject RecordobjectThe Subject Record parameter is defined in the tables below.

Subject Record Parameters

ParameterTypeDescription
subject_record_idstringThe subject record Id.
subject_record_typestringThe subject record type. Must be one of SUBJECT_RECORD_TYPES .
bank_accountsarray of objectsA list containing the bank accounts that belongs to the subject record.

Requires verbose to be true to be displayed.
businessobjectAn object containing the business information that belongs to the subject record.

Requires verbose to be true to be displayed.
personsarray of objectsA list containing the persons information that belongs to the subject record.

Requires verbose to be true to be displayed.
workflowsobjectAn object containing the workflows that subject record belongs to.

Requires verbose to be true to be displayed.
created_atstringThe date-time when the Subject Record was created.

The value will be in ISO 8601 date and time format (YYYY-MM-DDTHH:mm:ss.SSSZ).
updated_atstringThe date-time when the Subject Record was last updated. If there has been no update, the value will be the same as the created_at value.

The value will be in ISO 8601 date and time format (YYYY-MM-DDTHH:mm:ss.SSSZ).

Examples

Example without verbose

{
  "meta": {
    "status": "SUCCESS",
    "version": "2025-03-24",
    "trace_id": "trc_3P0QaPzjXxFDUqn0F0BH3a"
  },
  "data": {
    "subject_record": {
      "subject_record_id": "sr_400UEI1TODyvrAEZLUzSWu",
      "subject_record_type": "BUSINESS",
      "created_at": "2025-08-22T15:25:37.687Z",
      "updated_at": "2025-08-22T15:25:37.687Z"
    }
  }
}

Example with verbose and show sensitive data

{
  "meta": {
    "status": "SUCCESS",
    "version": "2025-03-24",
    "trace_id": "trc_7VG7Ui6Wk4GVfg1t5Sdest"
  },
  "data": {
    "subject_record": {
      "subject_record_id": "sr_400UEI1TODyvrAEZLUzSWu",
      "subject_record_type": "BUSINESS",
      "created_at": "2025-08-22T15:25:37.687Z",
      "updated_at": "2025-08-22T15:25:37.687Z",
      "bank_accounts": [
        {
          "bank_account_id": "ba_6VQh2bQYyFDSFRvx4eoKTl",
          "bank_account_ownership_type": "business",
          "bank_account_type": "general_ledger",
          "bank_routing_number": "021000021",
          "bank_account_number": "1234567819",
          "bank_name": "Chase Bank",
          "created_at": "2025-08-22T15:25:53.986Z",
          "updated_at": "2025-08-22T15:25:53.986Z"
        }
      ],
      "business": {
        "business_id": "b_2fyRidkcpm0P1RC8xs7tA2",
        "operating_name": "Rockout Pay",
        "legal_name": "Rockout Pay LLC",
        "registration_type": "GOVERNMENT",
        "established_date": "1990-03-30",
        "tax_id": "834567890",
        "phone_number": "8888888888",
        "addresses": [
          {
            "type": "LEGAL",
            "line1": "1234 INNOVATION DRIVE",
            "line2": "SUITE 500",
            "city": "AUSTIN",
            "state": "TX",
            "postal_code": "78701",
            "country": "US"
          },
          {
            "type": "MAILING",
            "line1": "1234 INNOVATION DRIVE",
            "line2": "SUITE 500",
            "city": "AUSTIN",
            "state": "TX",
            "postal_code": "78701",
            "country": "US"
          }
        ],
        "industry_category_codes": [
          {
            "type": "MCC",
            "code": "5734",
            "details": {
              "mcc_details": {
                "card_brand": "MASTERCARD"
              }
            }
          }
        ],
        "website": "https://www.rockoutpay.com",
        "social_networks": [
          {
            "network": "YOUTUBE",
            "url": "https://www.twitter.com/company/rockoutpay"
          },
          {
            "network": "FACEBOOK",
            "url": "https://www.facebook.com/RockoutPay"
          },
          {
            "network": "LINKEDIN",
            "url": "https://www.linkedin.com/company/rockoutpay"
          }
        ],
        "business_description": "Technology solutions provider specializing in cloud infrastructure and IoT applications",
        "additional_fields": [
          {
            "field": "custom_field_1",
            "value": "Some string value"
          },
          {
            "field": "custom_field_2",
            "value": 12345
          },
          {
            "field": "custom_field_3",
            "value": "2024-06-24"
          },
          {
            "field": "custom_field_4",
            "value": true
          },
          {
            "field": "custom_field_5",
            "value": "OPTION_2"
          }
        ],
        "created_at": "2025-08-22T15:26:05.480Z",
        "updated_at": "2025-08-22T15:26:05.480Z"
      },
      "persons": [
        {
          "person_id": "p_6hvHyQZzjxsohfRFdU6Cng",
          "email": "[email protected]",
          "first_name": "John",
          "last_name": "Smith",
          "date_of_birth": "1990-10-10",
          "tax_id": "999999999",
          "citizenship": "US",
          "phone_number": "2345678901",
          "addresses": [
            {
              "type": "PRIMARY_RESIDENCE",
              "line1": "123 MAPLE AVENUE",
              "line2": "APARTMENT 4B",
              "city": "PORTLAND",
              "state": "OR",
              "postal_code": "97204",
              "country": "US"
            }
          ],
          "created_at": "2025-08-22T15:25:57.209Z",
          "updated_at": "2025-08-22T15:25:57.209Z"
        }
      ],
      "workflows": [
        {
          "workflow_id": "w_4PueCCL0bskdf3EXhiLqxB",
          "state": "STARTED",
          "subject_record_id": "sr_400UEI1TODyvrAEZLUzSWu",
          "created_at": "2025-08-22T15:26:05.491Z",
          "updated_at": "2025-08-22T15:26:05.491Z",
          "type": "BUSINESS_APPLICATION"
        }
      ]
    }
  }
}

Errors

Error CodeHTTP CodePossible Cause
BAD_REQUEST400Required parameters not provided.
Invalid values provided.
ENTITY_NOT_FOUND400The subject_record_id provided does not exist.