/ Developers API v1Open workspace

API reference

Company

Request fields, access rules and response contracts for company.

All endpoint paths include /api/v1. For protected writes, persist a stable idempotency key before making the request. Company integrations use https://api.digitalcard.technology.

GET/api/v1/documents

List company documents

Returns records in descending identifier order. Use the cursor to read the next page. Platform administrators may additionally filter by companyId.

AccessCompany owner, admin or operator.

Query parameters: limit (1 to 200, default 50), before, programId, administrator-only companyId and format=csv. Read pagination and exports.

Request
curl --fail-with-body --request GET \
  'https://api.digitalcard.technology/api/v1/documents' \
  -H "Authorization: Bearer $DIGITALCARD_API_KEY"

Success: 200 · Request completed.

OpenAPI operation and schemas
OpenAPI 3.1
{
  "operationId": "get__api_v1_documents",
  "tags": [
    "Company"
  ],
  "summary": "List company documents",
  "description": "Returns records in descending identifier order. Use the cursor to read the next page. Platform administrators may additionally filter by companyId.\n\nAccess: Company owner, admin or operator.",
  "security": [
    {
      "session": []
    },
    {
      "apiKey": []
    }
  ],
  "parameters": [
    {
      "name": "limit",
      "in": "query",
      "schema": {
        "type": "integer",
        "minimum": 1,
        "maximum": 200,
        "default": 50
      },
      "description": "Page size."
    },
    {
      "name": "before",
      "in": "query",
      "schema": {
        "type": "string"
      },
      "description": "The nextCursor returned by the previous page."
    },
    {
      "name": "programId",
      "in": "query",
      "schema": {
        "type": "string"
      },
      "description": "Filter by program, except on the programs collection."
    },
    {
      "name": "companyId",
      "in": "query",
      "schema": {
        "type": "string"
      },
      "description": "Company filter for platform administrators only."
    },
    {
      "name": "format",
      "in": "query",
      "schema": {
        "type": "string",
        "enum": [
          "csv"
        ]
      },
      "description": "Export the current page as CSV."
    }
  ],
  "responses": {
    "200": {
      "description": "Successful response",
      "content": {
        "application/json": {
          "schema": {
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "type": "object",
            "properties": {
              "items": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "string"
                    },
                    "company_id": {
                      "type": "string"
                    },
                    "recipient_id": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "kind": {
                      "type": "string"
                    },
                    "file_name": {
                      "type": "string"
                    },
                    "content_type": {
                      "type": "string"
                    },
                    "byte_size": {
                      "type": "integer",
                      "minimum": -9007199254740991,
                      "maximum": 9007199254740991
                    },
                    "created_at": {
                      "type": "string",
                      "format": "date-time",
                      "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
                    }
                  },
                  "required": [
                    "id",
                    "company_id",
                    "recipient_id",
                    "kind",
                    "file_name",
                    "content_type",
                    "byte_size",
                    "created_at"
                  ],
                  "additionalProperties": false
                }
              },
              "nextCursor": {
                "type": [
                  "string",
                  "null"
                ]
              }
            },
            "required": [
              "items",
              "nextCursor"
            ],
            "additionalProperties": false
          }
        }
      }
    },
    "401": {
      "$ref": "#/components/responses/Unauthorized"
    },
    "403": {
      "$ref": "#/components/responses/Forbidden"
    },
    "409": {
      "$ref": "#/components/responses/Conflict"
    },
    "422": {
      "$ref": "#/components/responses/Invalid"
    },
    "429": {
      "$ref": "#/components/responses/RateLimited"
    },
    "500": {
      "$ref": "#/components/responses/Failed"
    }
  }
}
GET/api/v1/audit

List activity

Returns records in descending identifier order. Use the cursor to read the next page. Platform administrators may additionally filter by companyId.

AccessCompany sessions and company API keys.

Query parameters: limit (1 to 200, default 50), before, programId, administrator-only companyId and format=csv. Read pagination and exports.

Request
curl --fail-with-body --request GET \
  'https://api.digitalcard.technology/api/v1/audit' \
  -H "Authorization: Bearer $DIGITALCARD_API_KEY"

Success: 200 · Request completed.

OpenAPI operation and schemas
OpenAPI 3.1
{
  "operationId": "get__api_v1_audit",
  "tags": [
    "Company"
  ],
  "summary": "List activity",
  "description": "Returns records in descending identifier order. Use the cursor to read the next page. Platform administrators may additionally filter by companyId.\n\nAccess: Company sessions and company API keys.",
  "security": [
    {
      "session": []
    },
    {
      "apiKey": []
    }
  ],
  "parameters": [
    {
      "name": "limit",
      "in": "query",
      "schema": {
        "type": "integer",
        "minimum": 1,
        "maximum": 200,
        "default": 50
      },
      "description": "Page size."
    },
    {
      "name": "before",
      "in": "query",
      "schema": {
        "type": "string"
      },
      "description": "The nextCursor returned by the previous page."
    },
    {
      "name": "programId",
      "in": "query",
      "schema": {
        "type": "string"
      },
      "description": "Filter by program, except on the programs collection."
    },
    {
      "name": "companyId",
      "in": "query",
      "schema": {
        "type": "string"
      },
      "description": "Company filter for platform administrators only."
    },
    {
      "name": "format",
      "in": "query",
      "schema": {
        "type": "string",
        "enum": [
          "csv"
        ]
      },
      "description": "Export the current page as CSV."
    }
  ],
  "responses": {
    "200": {
      "description": "Successful response",
      "content": {
        "application/json": {
          "schema": {
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "type": "object",
            "properties": {
              "items": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "string"
                    },
                    "company_id": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "action": {
                      "type": "string"
                    },
                    "resource_type": {
                      "type": "string"
                    },
                    "resource_id": {
                      "type": "string"
                    },
                    "detail_json": {
                      "type": "string"
                    },
                    "created_at": {
                      "type": "string",
                      "format": "date-time",
                      "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
                    }
                  },
                  "required": [
                    "id",
                    "company_id",
                    "action",
                    "resource_type",
                    "resource_id",
                    "detail_json",
                    "created_at"
                  ],
                  "additionalProperties": false
                }
              },
              "nextCursor": {
                "type": [
                  "string",
                  "null"
                ]
              }
            },
            "required": [
              "items",
              "nextCursor"
            ],
            "additionalProperties": false
          }
        }
      }
    },
    "401": {
      "$ref": "#/components/responses/Unauthorized"
    },
    "403": {
      "$ref": "#/components/responses/Forbidden"
    },
    "409": {
      "$ref": "#/components/responses/Conflict"
    },
    "422": {
      "$ref": "#/components/responses/Invalid"
    },
    "429": {
      "$ref": "#/components/responses/RateLimited"
    },
    "500": {
      "$ref": "#/components/responses/Failed"
    }
  }
}
GET/api/v1/company

Read company details

Returns the current company profile and verification status.

AccessCompany session or API key

Request
curl --fail-with-body --request GET \
  'https://api.digitalcard.technology/api/v1/company' \
  -H "Authorization: Bearer $DIGITALCARD_API_KEY"

Success: 200 · Request completed.

OpenAPI operation and schemas
OpenAPI 3.1
{
  "operationId": "get__api_v1_company",
  "tags": [
    "Company"
  ],
  "summary": "Read company details",
  "description": "Returns the current company profile and verification status.\n\nAccess: Company session or API key",
  "security": [
    {
      "session": []
    },
    {
      "apiKey": []
    }
  ],
  "parameters": [],
  "responses": {
    "200": {
      "description": "Successful response"
    },
    "401": {
      "$ref": "#/components/responses/Unauthorized"
    },
    "403": {
      "$ref": "#/components/responses/Forbidden"
    },
    "409": {
      "$ref": "#/components/responses/Conflict"
    },
    "422": {
      "$ref": "#/components/responses/Invalid"
    },
    "429": {
      "$ref": "#/components/responses/RateLimited"
    },
    "500": {
      "$ref": "#/components/responses/Failed"
    }
  }
}
GET/api/v1/overview

Read workspace overview

Returns real record counts and company funding totals separated by currency.

AccessAuthenticated session or API key

Request
curl --fail-with-body --request GET \
  'https://api.digitalcard.technology/api/v1/overview' \
  -H "Authorization: Bearer $DIGITALCARD_API_KEY"

Success: 200 · Request completed.

OpenAPI operation and schemas
OpenAPI 3.1
{
  "operationId": "get__api_v1_overview",
  "tags": [
    "Company"
  ],
  "summary": "Read workspace overview",
  "description": "Returns real record counts and company funding totals separated by currency.\n\nAccess: Authenticated session or API key",
  "security": [
    {
      "session": []
    },
    {
      "apiKey": []
    }
  ],
  "parameters": [],
  "responses": {
    "200": {
      "description": "Successful response"
    },
    "401": {
      "$ref": "#/components/responses/Unauthorized"
    },
    "403": {
      "$ref": "#/components/responses/Forbidden"
    },
    "409": {
      "$ref": "#/components/responses/Conflict"
    },
    "422": {
      "$ref": "#/components/responses/Invalid"
    },
    "429": {
      "$ref": "#/components/responses/RateLimited"
    },
    "500": {
      "$ref": "#/components/responses/Failed"
    }
  }
}
GET/api/v1/company/kyb

Read company verification workspace

Returns the encrypted-profile projection authorized for the applicant, required evidence, checklist, messages, revision history and missing submission fields.

AccessCompany owner or admin

Success: 200 · Request completed.

OpenAPI operation and schemas
OpenAPI 3.1
{
  "operationId": "get__api_v1_company_kyb",
  "tags": [
    "Company"
  ],
  "summary": "Read company verification workspace",
  "description": "Returns the encrypted-profile projection authorized for the applicant, required evidence, checklist, messages, revision history and missing submission fields.\n\nAccess: Company owner or admin",
  "security": [
    {
      "session": []
    }
  ],
  "parameters": [],
  "responses": {
    "200": {
      "description": "Successful response"
    },
    "401": {
      "$ref": "#/components/responses/Unauthorized"
    },
    "403": {
      "$ref": "#/components/responses/Forbidden"
    },
    "409": {
      "$ref": "#/components/responses/Conflict"
    },
    "422": {
      "$ref": "#/components/responses/Invalid"
    },
    "429": {
      "$ref": "#/components/responses/RateLimited"
    },
    "500": {
      "$ref": "#/components/responses/Failed"
    }
  }
}
PUT/api/v1/company/kyb

Save company verification

Saves an encrypted draft with the current case version. Complete the company, people, ownership, program, funding and compliance sections before submitting. A stale version conflicts.

AccessCompany owner or admin

Body fieldTypeDetails
versionrequiredintegerMinimum: 0; maximum: 9007199254740991.
profilerequiredobjectObject. Expand the request schema for nested fields.

Success: 200 · Request completed.

OpenAPI operation and schemas
OpenAPI 3.1
{
  "operationId": "put__api_v1_company_kyb",
  "tags": [
    "Company"
  ],
  "summary": "Save company verification",
  "description": "Saves an encrypted draft with the current case version. Complete the company, people, ownership, program, funding and compliance sections before submitting. A stale version conflicts.\n\nAccess: Company owner or admin",
  "security": [
    {
      "session": []
    }
  ],
  "parameters": [
    {
      "name": "Idempotency-Key",
      "in": "header",
      "required": true,
      "description": "One stable key per intended write. Reuse the key and identical body when recovering a transport failure.",
      "schema": {
        "type": "string",
        "minLength": 12,
        "maxLength": 128,
        "pattern": "^[A-Za-z0-9_.:-]+$"
      }
    }
  ],
  "responses": {
    "200": {
      "description": "Successful response"
    },
    "401": {
      "$ref": "#/components/responses/Unauthorized"
    },
    "403": {
      "$ref": "#/components/responses/Forbidden"
    },
    "409": {
      "$ref": "#/components/responses/Conflict"
    },
    "422": {
      "$ref": "#/components/responses/Invalid"
    },
    "429": {
      "$ref": "#/components/responses/RateLimited"
    },
    "500": {
      "$ref": "#/components/responses/Failed"
    }
  },
  "requestBody": {
    "required": true,
    "content": {
      "application/json": {
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "type": "object",
          "properties": {
            "version": {
              "type": "integer",
              "minimum": 0,
              "maximum": 9007199254740991
            },
            "profile": {
              "type": "object",
              "properties": {
                "legalName": {
                  "type": "string",
                  "maxLength": 200
                },
                "tradingName": {
                  "type": "string",
                  "maxLength": 200
                },
                "registrationNumber": {
                  "type": "string",
                  "maxLength": 200
                },
                "taxNumber": {
                  "type": "string",
                  "maxLength": 200
                },
                "entityType": {
                  "type": "string",
                  "enum": [
                    "corporation",
                    "llc",
                    "partnership",
                    "sole_trader",
                    "nonprofit",
                    "government",
                    "other",
                    ""
                  ]
                },
                "incorporationDate": {
                  "anyOf": [
                    {
                      "type": "string",
                      "format": "date",
                      "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
                    },
                    {
                      "type": "string",
                      "const": ""
                    }
                  ]
                },
                "incorporationCountry": {
                  "anyOf": [
                    {
                      "type": "string",
                      "pattern": "^[A-Z]{2}$"
                    },
                    {
                      "type": "string",
                      "const": ""
                    }
                  ]
                },
                "website": {
                  "type": "string",
                  "maxLength": 2048
                },
                "registeredAddress": {
                  "type": "object",
                  "properties": {
                    "line1": {
                      "type": "string",
                      "maxLength": 200
                    },
                    "line2": {
                      "type": "string",
                      "maxLength": 200
                    },
                    "city": {
                      "type": "string",
                      "maxLength": 200
                    },
                    "region": {
                      "type": "string",
                      "maxLength": 200
                    },
                    "postalCode": {
                      "type": "string",
                      "maxLength": 200
                    },
                    "country": {
                      "anyOf": [
                        {
                          "type": "string",
                          "pattern": "^[A-Z]{2}$"
                        },
                        {
                          "type": "string",
                          "const": ""
                        }
                      ]
                    }
                  },
                  "required": [
                    "line1",
                    "line2",
                    "city",
                    "region",
                    "postalCode",
                    "country"
                  ]
                },
                "operatingAddress": {
                  "type": "object",
                  "properties": {
                    "line1": {
                      "type": "string",
                      "maxLength": 200
                    },
                    "line2": {
                      "type": "string",
                      "maxLength": 200
                    },
                    "city": {
                      "type": "string",
                      "maxLength": 200
                    },
                    "region": {
                      "type": "string",
                      "maxLength": 200
                    },
                    "postalCode": {
                      "type": "string",
                      "maxLength": 200
                    },
                    "country": {
                      "anyOf": [
                        {
                          "type": "string",
                          "pattern": "^[A-Z]{2}$"
                        },
                        {
                          "type": "string",
                          "const": ""
                        }
                      ]
                    }
                  },
                  "required": [
                    "line1",
                    "line2",
                    "city",
                    "region",
                    "postalCode",
                    "country"
                  ]
                },
                "registeredAgentAddress": {
                  "type": "string",
                  "maxLength": 6000
                },
                "businessDescription": {
                  "type": "string",
                  "maxLength": 6000
                },
                "businessHistory": {
                  "type": "string",
                  "maxLength": 6000
                },
                "employeeCount": {
                  "type": "integer",
                  "minimum": 0,
                  "maximum": 100000000
                },
                "industry": {
                  "type": "string",
                  "maxLength": 200
                },
                "licenses": {
                  "type": "string",
                  "maxLength": 6000
                },
                "geographicReach": {
                  "type": "string",
                  "maxLength": 6000
                },
                "ownershipStructure": {
                  "type": "string",
                  "maxLength": 6000
                },
                "intermediateEntities": {
                  "maxItems": 30,
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "id": {
                        "type": "string",
                        "pattern": "^[A-Za-z0-9_-]{12,100}$"
                      },
                      "legalName": {
                        "type": "string",
                        "maxLength": 200
                      },
                      "country": {
                        "anyOf": [
                          {
                            "type": "string",
                            "pattern": "^[A-Z]{2}$"
                          },
                          {
                            "type": "string",
                            "const": ""
                          }
                        ]
                      },
                      "registrationNumber": {
                        "type": "string",
                        "maxLength": 200
                      },
                      "ownershipPercent": {
                        "type": "number",
                        "minimum": 0,
                        "maximum": 100
                      }
                    },
                    "required": [
                      "id",
                      "legalName",
                      "country",
                      "registrationNumber",
                      "ownershipPercent"
                    ]
                  }
                },
                "persons": {
                  "maxItems": 30,
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "id": {
                        "type": "string",
                        "pattern": "^[A-Za-z0-9_-]{12,100}$"
                      },
                      "firstName": {
                        "type": "string",
                        "maxLength": 200
                      },
                      "lastName": {
                        "type": "string",
                        "maxLength": 200
                      },
                      "email": {
                        "anyOf": [
                          {
                            "type": "string",
                            "maxLength": 254,
                            "format": "email",
                            "pattern": "^(?:[A-Za-z0-9_'+\\-]+\\.)*[A-Za-z0-9_'+\\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$"
                          },
                          {
                            "type": "string",
                            "const": ""
                          }
                        ]
                      },
                      "dateOfBirth": {
                        "anyOf": [
                          {
                            "type": "string",
                            "format": "date",
                            "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
                          },
                          {
                            "type": "string",
                            "const": ""
                          }
                        ]
                      },
                      "nationality": {
                        "anyOf": [
                          {
                            "type": "string",
                            "pattern": "^[A-Z]{2}$"
                          },
                          {
                            "type": "string",
                            "const": ""
                          }
                        ]
                      },
                      "residenceCountry": {
                        "anyOf": [
                          {
                            "type": "string",
                            "pattern": "^[A-Z]{2}$"
                          },
                          {
                            "type": "string",
                            "const": ""
                          }
                        ]
                      },
                      "address": {
                        "type": "object",
                        "properties": {
                          "line1": {
                            "type": "string",
                            "maxLength": 200
                          },
                          "line2": {
                            "type": "string",
                            "maxLength": 200
                          },
                          "city": {
                            "type": "string",
                            "maxLength": 200
                          },
                          "region": {
                            "type": "string",
                            "maxLength": 200
                          },
                          "postalCode": {
                            "type": "string",
                            "maxLength": 200
                          },
                          "country": {
                            "anyOf": [
                              {
                                "type": "string",
                                "pattern": "^[A-Z]{2}$"
                              },
                              {
                                "type": "string",
                                "const": ""
                              }
                            ]
                          }
                        },
                        "required": [
                          "line1",
                          "line2",
                          "city",
                          "region",
                          "postalCode",
                          "country"
                        ]
                      },
                      "roles": {
                        "minItems": 1,
                        "type": "array",
                        "items": {
                          "type": "string",
                          "enum": [
                            "director",
                            "beneficial_owner",
                            "control_person",
                            "authorized_representative"
                          ]
                        }
                      },
                      "ownershipPercent": {
                        "type": "number",
                        "minimum": 0,
                        "maximum": 100
                      },
                      "jobTitle": {
                        "type": "string",
                        "maxLength": 200
                      },
                      "identificationType": {
                        "default": "",
                        "type": "string",
                        "enum": [
                          "passport",
                          "national_id",
                          "drivers_license",
                          "tax_id",
                          ""
                        ]
                      },
                      "identificationNumber": {
                        "type": "string",
                        "maxLength": 200
                      },
                      "identificationCountry": {
                        "anyOf": [
                          {
                            "type": "string",
                            "pattern": "^[A-Z]{2}$"
                          },
                          {
                            "type": "string",
                            "const": ""
                          }
                        ]
                      },
                      "identificationExpiry": {
                        "anyOf": [
                          {
                            "type": "string",
                            "format": "date",
                            "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
                          },
                          {
                            "type": "string",
                            "const": ""
                          }
                        ]
                      },
                      "politicallyExposed": {
                        "type": "string",
                        "enum": [
                          "yes",
                          "no",
                          ""
                        ]
                      },
                      "pepDetails": {
                        "type": "string",
                        "maxLength": 6000
                      },
                      "sourceOfWealth": {
                        "type": "string",
                        "maxLength": 6000
                      }
                    },
                    "required": [
                      "id",
                      "firstName",
                      "lastName",
                      "email",
                      "dateOfBirth",
                      "nationality",
                      "residenceCountry",
                      "address",
                      "roles",
                      "ownershipPercent",
                      "jobTitle",
                      "identificationNumber",
                      "identificationCountry",
                      "identificationExpiry",
                      "politicallyExposed",
                      "pepDetails",
                      "sourceOfWealth"
                    ]
                  }
                },
                "noQualifyingOwner": {
                  "type": "boolean"
                },
                "ownershipExplanation": {
                  "type": "string",
                  "maxLength": 6000
                },
                "sourceOfFunds": {
                  "type": "string",
                  "maxLength": 6000
                },
                "sourceOfWealth": {
                  "type": "string",
                  "maxLength": 6000
                },
                "bankName": {
                  "type": "string",
                  "maxLength": 200
                },
                "bankCountry": {
                  "anyOf": [
                    {
                      "type": "string",
                      "pattern": "^[A-Z]{2}$"
                    },
                    {
                      "type": "string",
                      "const": ""
                    }
                  ]
                },
                "bankAccountHolder": {
                  "type": "string",
                  "maxLength": 200
                },
                "programName": {
                  "type": "string",
                  "maxLength": 200
                },
                "programPurpose": {
                  "type": "string",
                  "enum": [
                    "distribution",
                    "expense",
                    "both",
                    ""
                  ]
                },
                "targetAudience": {
                  "type": "string",
                  "enum": [
                    "business",
                    "consumer",
                    "both",
                    ""
                  ]
                },
                "companyCountries": {
                  "maxItems": 250,
                  "type": "array",
                  "items": {
                    "type": "string",
                    "pattern": "^[A-Z]{2}$"
                  }
                },
                "beneficiaryCountries": {
                  "maxItems": 250,
                  "type": "array",
                  "items": {
                    "type": "string",
                    "pattern": "^[A-Z]{2}$"
                  }
                },
                "spendingCountries": {
                  "maxItems": 250,
                  "type": "array",
                  "items": {
                    "type": "string",
                    "pattern": "^[A-Z]{2}$"
                  }
                },
                "currencies": {
                  "maxItems": 30,
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                },
                "requestedLaunchDate": {
                  "anyOf": [
                    {
                      "type": "string",
                      "format": "date",
                      "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
                    },
                    {
                      "type": "string",
                      "const": ""
                    }
                  ]
                },
                "distributionModel": {
                  "type": "string",
                  "enum": [
                    "api",
                    "portal",
                    "embedded",
                    "redirect",
                    "agent",
                    ""
                  ]
                },
                "subDistributors": {
                  "type": "string",
                  "maxLength": 6000
                },
                "applicationFlow": {
                  "type": "string",
                  "maxLength": 6000
                },
                "identityFlow": {
                  "type": "string",
                  "maxLength": 6000
                },
                "issuanceFlow": {
                  "type": "string",
                  "maxLength": 6000
                },
                "spendingFlow": {
                  "type": "string",
                  "maxLength": 6000
                },
                "fundingMethods": {
                  "type": "string",
                  "maxLength": 6000
                },
                "pooledFunds": {
                  "type": "string",
                  "enum": [
                    "yes",
                    "no",
                    ""
                  ]
                },
                "fundSegregation": {
                  "type": "string",
                  "maxLength": 6000
                },
                "historicalCards": {
                  "type": "integer",
                  "minimum": 0,
                  "maximum": 9007199254740991
                },
                "historicalBeneficiaries": {
                  "type": "integer",
                  "minimum": 0,
                  "maximum": 9007199254740991
                },
                "historicalVolume": {
                  "type": "string",
                  "maxLength": 200
                },
                "currentDistribution": {
                  "type": "string",
                  "maxLength": 6000
                },
                "existingClients": {
                  "type": "string",
                  "maxLength": 6000
                },
                "forecastBasis": {
                  "type": "string",
                  "maxLength": 6000
                },
                "forecasts": {
                  "maxItems": 3,
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "year": {
                        "type": "integer",
                        "minimum": 1,
                        "maximum": 3
                      },
                      "cards": {
                        "type": "integer",
                        "minimum": 0,
                        "maximum": 9007199254740991
                      },
                      "beneficiaries": {
                        "type": "integer",
                        "minimum": 0,
                        "maximum": 9007199254740991
                      },
                      "transactionVolume": {
                        "type": "string",
                        "maxLength": 200
                      },
                      "currency": {
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "type": "string",
                            "const": ""
                          }
                        ]
                      },
                      "averageCardValue": {
                        "type": "string",
                        "maxLength": 200
                      },
                      "maximumCardValue": {
                        "type": "string",
                        "maxLength": 200
                      }
                    },
                    "required": [
                      "year",
                      "cards",
                      "beneficiaries",
                      "transactionVolume",
                      "currency",
                      "averageCardValue",
                      "maximumCardValue"
                    ]
                  }
                },
                "complianceContact": {
                  "type": "string",
                  "maxLength": 200
                },
                "complianceEmail": {
                  "anyOf": [
                    {
                      "type": "string",
                      "maxLength": 254,
                      "format": "email",
                      "pattern": "^(?:[A-Za-z0-9_'+\\-]+\\.)*[A-Za-z0-9_'+\\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$"
                    },
                    {
                      "type": "string",
                      "const": ""
                    }
                  ]
                },
                "kybResponsible": {
                  "type": "string",
                  "maxLength": 200
                },
                "kycResponsible": {
                  "type": "string",
                  "maxLength": 200
                },
                "amlResponsible": {
                  "type": "string",
                  "maxLength": 200
                },
                "amlMonitoring": {
                  "type": "string",
                  "maxLength": 6000
                },
                "sanctionsScreening": {
                  "type": "string",
                  "maxLength": 6000
                },
                "highRiskExposure": {
                  "type": "string",
                  "maxLength": 6000
                },
                "chargebackResponsible": {
                  "type": "string",
                  "maxLength": 200
                },
                "chargebackHandling": {
                  "type": "string",
                  "maxLength": 6000
                },
                "expectedChargebackRate": {
                  "type": "string",
                  "maxLength": 200
                },
                "dataHandling": {
                  "type": "string",
                  "maxLength": 6000
                },
                "pciScope": {
                  "type": "string",
                  "maxLength": 6000
                },
                "reconciliation": {
                  "type": "string",
                  "maxLength": 6000
                },
                "marketingChannels": {
                  "type": "string",
                  "maxLength": 6000
                },
                "customerSupport": {
                  "type": "string",
                  "maxLength": 6000
                },
                "declarationName": {
                  "type": "string",
                  "maxLength": 200
                },
                "declarationTitle": {
                  "type": "string",
                  "maxLength": 200
                }
              },
              "required": [
                "legalName",
                "tradingName",
                "registrationNumber",
                "taxNumber",
                "entityType",
                "incorporationDate",
                "incorporationCountry",
                "website",
                "registeredAddress",
                "operatingAddress",
                "registeredAgentAddress",
                "businessDescription",
                "businessHistory",
                "employeeCount",
                "industry",
                "licenses",
                "geographicReach",
                "ownershipStructure",
                "intermediateEntities",
                "persons",
                "noQualifyingOwner",
                "ownershipExplanation",
                "sourceOfFunds",
                "sourceOfWealth",
                "bankName",
                "bankCountry",
                "bankAccountHolder",
                "programName",
                "programPurpose",
                "targetAudience",
                "companyCountries",
                "beneficiaryCountries",
                "spendingCountries",
                "currencies",
                "requestedLaunchDate",
                "distributionModel",
                "subDistributors",
                "applicationFlow",
                "identityFlow",
                "issuanceFlow",
                "spendingFlow",
                "fundingMethods",
                "pooledFunds",
                "fundSegregation",
                "historicalCards",
                "historicalBeneficiaries",
                "historicalVolume",
                "currentDistribution",
                "existingClients",
                "forecastBasis",
                "forecasts",
                "complianceContact",
                "complianceEmail",
                "kybResponsible",
                "kycResponsible",
                "amlResponsible",
                "amlMonitoring",
                "sanctionsScreening",
                "highRiskExposure",
                "chargebackResponsible",
                "chargebackHandling",
                "expectedChargebackRate",
                "dataHandling",
                "pciScope",
                "reconciliation",
                "marketingChannels",
                "customerSupport",
                "declarationName",
                "declarationTitle"
              ]
            }
          },
          "required": [
            "version",
            "profile"
          ]
        }
      }
    }
  }
}
POST/api/v1/company/kyb/submit

Submit company verification

Submits a complete version and declaration for independent review. Documents and the profile are hashed into a durable submission snapshot. Submission does not approve the company or activate a program.

AccessCompany owner or admin

Body fieldTypeDetails
versionrequiredinteger
declarationAcceptedrequiredboolean
termsAcceptedrequiredboolean

Success: 200 · Request completed.

OpenAPI operation and schemas
OpenAPI 3.1
{
  "operationId": "post__api_v1_company_kyb_submit",
  "tags": [
    "Company"
  ],
  "summary": "Submit company verification",
  "description": "Submits a complete version and declaration for independent review. Documents and the profile are hashed into a durable submission snapshot. Submission does not approve the company or activate a program.\n\nAccess: Company owner or admin",
  "security": [
    {
      "session": []
    }
  ],
  "parameters": [
    {
      "name": "Idempotency-Key",
      "in": "header",
      "required": true,
      "description": "One stable key per intended write. Reuse the key and identical body when recovering a transport failure.",
      "schema": {
        "type": "string",
        "minLength": 12,
        "maxLength": 128,
        "pattern": "^[A-Za-z0-9_.:-]+$"
      }
    }
  ],
  "responses": {
    "200": {
      "description": "Successful response"
    },
    "401": {
      "$ref": "#/components/responses/Unauthorized"
    },
    "403": {
      "$ref": "#/components/responses/Forbidden"
    },
    "409": {
      "$ref": "#/components/responses/Conflict"
    },
    "422": {
      "$ref": "#/components/responses/Invalid"
    },
    "429": {
      "$ref": "#/components/responses/RateLimited"
    },
    "500": {
      "$ref": "#/components/responses/Failed"
    }
  },
  "requestBody": {
    "required": true,
    "content": {
      "application/json": {
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "type": "object",
          "properties": {
            "version": {
              "type": "integer",
              "exclusiveMinimum": 0,
              "maximum": 9007199254740991
            },
            "declarationAccepted": {
              "type": "boolean",
              "const": true
            },
            "termsAccepted": {
              "type": "boolean",
              "const": true
            }
          },
          "required": [
            "version",
            "declarationAccepted",
            "termsAccepted"
          ]
        }
      }
    }
  }
}
POST/api/v1/company/kyb/withdraw

Withdraw company verification

Withdraws an undecided application with a reason and the current version. A withdrawn case cannot authorize issuance.

AccessCompany owner or admin

Body fieldTypeDetails
versionrequiredinteger
reasonrequiredstringLength: 5 to 6000.

Success: 200 · Request completed.

OpenAPI operation and schemas
OpenAPI 3.1
{
  "operationId": "post__api_v1_company_kyb_withdraw",
  "tags": [
    "Company"
  ],
  "summary": "Withdraw company verification",
  "description": "Withdraws an undecided application with a reason and the current version. A withdrawn case cannot authorize issuance.\n\nAccess: Company owner or admin",
  "security": [
    {
      "session": []
    }
  ],
  "parameters": [
    {
      "name": "Idempotency-Key",
      "in": "header",
      "required": true,
      "description": "One stable key per intended write. Reuse the key and identical body when recovering a transport failure.",
      "schema": {
        "type": "string",
        "minLength": 12,
        "maxLength": 128,
        "pattern": "^[A-Za-z0-9_.:-]+$"
      }
    }
  ],
  "responses": {
    "200": {
      "description": "Successful response"
    },
    "401": {
      "$ref": "#/components/responses/Unauthorized"
    },
    "403": {
      "$ref": "#/components/responses/Forbidden"
    },
    "409": {
      "$ref": "#/components/responses/Conflict"
    },
    "422": {
      "$ref": "#/components/responses/Invalid"
    },
    "429": {
      "$ref": "#/components/responses/RateLimited"
    },
    "500": {
      "$ref": "#/components/responses/Failed"
    }
  },
  "requestBody": {
    "required": true,
    "content": {
      "application/json": {
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "type": "object",
          "properties": {
            "version": {
              "type": "integer",
              "exclusiveMinimum": 0,
              "maximum": 9007199254740991
            },
            "reason": {
              "type": "string",
              "minLength": 5,
              "maxLength": 6000
            }
          },
          "required": [
            "version",
            "reason"
          ]
        }
      }
    }
  }
}
POST/api/v1/documents

Upload verification evidence

Uploads one PDF, PNG or JPEG, up to 10 MiB, against a case requirement and current version. Files are encrypted in private storage. The upload must belong to the authenticated company or beneficiary case.

AccessCompany owner or admin; beneficiary session

Send multipart/form-data with kind and file. Let your HTTP client generate the multipart boundary.

Success: 201 · Resource created.

OpenAPI operation and schemas
OpenAPI 3.1
{
  "operationId": "post__api_v1_documents",
  "tags": [
    "Company"
  ],
  "summary": "Upload verification evidence",
  "description": "Uploads one PDF, PNG or JPEG, up to 10 MiB, against a case requirement and current version. Files are encrypted in private storage. The upload must belong to the authenticated company or beneficiary case.\n\nAccess: Company owner or admin; beneficiary session",
  "security": [
    {
      "session": []
    }
  ],
  "parameters": [
    {
      "name": "Idempotency-Key",
      "in": "header",
      "required": true,
      "description": "One stable key per intended write. Reuse the key and identical body when recovering a transport failure.",
      "schema": {
        "type": "string",
        "minLength": 12,
        "maxLength": 128,
        "pattern": "^[A-Za-z0-9_.:-]+$"
      }
    }
  ],
  "responses": {
    "201": {
      "description": "Successful response"
    },
    "401": {
      "$ref": "#/components/responses/Unauthorized"
    },
    "403": {
      "$ref": "#/components/responses/Forbidden"
    },
    "409": {
      "$ref": "#/components/responses/Conflict"
    },
    "422": {
      "$ref": "#/components/responses/Invalid"
    },
    "429": {
      "$ref": "#/components/responses/RateLimited"
    },
    "500": {
      "$ref": "#/components/responses/Failed"
    }
  },
  "requestBody": {
    "required": true,
    "content": {
      "multipart/form-data": {
        "schema": {
          "type": "object",
          "required": [
            "caseId",
            "requirementId",
            "version",
            "kind",
            "file"
          ],
          "properties": {
            "caseId": {
              "type": "string"
            },
            "requirementId": {
              "type": "string"
            },
            "version": {
              "type": "integer",
              "minimum": 1
            },
            "kind": {
              "type": "string",
              "enum": [
                "registration",
                "ownership",
                "address",
                "agreement",
                "identity",
                "evidence"
              ]
            },
            "issuedOn": {
              "type": "string",
              "format": "date",
              "description": "Document issue date; required for address evidence."
            },
            "expiresOn": {
              "type": "string",
              "format": "date",
              "description": "Identity-document expiry date, unless expiryPermanent is true."
            },
            "expiryPermanent": {
              "type": "string",
              "enum": [
                "true",
                "false"
              ],
              "description": "Whether an identity document has no expiry date."
            },
            "file": {
              "type": "string",
              "format": "binary"
            }
          }
        }
      }
    }
  }
}
GET/api/v1/documents/{id}/content

Download verification evidence

Returns the decrypted file as an authenticated attachment within the company or beneficiary case scope. Sensitive responses are not cached.

AccessCompany owner or admin; scoped beneficiary; platform administrator

Success: 200 · Request completed.

OpenAPI operation and schemas
OpenAPI 3.1
{
  "operationId": "get__api_v1_documents__id__content",
  "tags": [
    "Company"
  ],
  "summary": "Download verification evidence",
  "description": "Returns the decrypted file as an authenticated attachment within the company or beneficiary case scope. Sensitive responses are not cached.\n\nAccess: Company owner or admin; scoped beneficiary; platform administrator",
  "security": [
    {
      "session": []
    }
  ],
  "parameters": [
    {
      "name": "id",
      "in": "path",
      "required": true,
      "schema": {
        "type": "string"
      }
    }
  ],
  "responses": {
    "200": {
      "description": "Successful response"
    },
    "401": {
      "$ref": "#/components/responses/Unauthorized"
    },
    "403": {
      "$ref": "#/components/responses/Forbidden"
    },
    "409": {
      "$ref": "#/components/responses/Conflict"
    },
    "422": {
      "$ref": "#/components/responses/Invalid"
    },
    "429": {
      "$ref": "#/components/responses/RateLimited"
    },
    "500": {
      "$ref": "#/components/responses/Failed"
    }
  }
}

Search documentation

Use ↑ ↓ to navigate · Enter to open