Toqio Compliance API

The Compliance API from Toqio — 7 operation(s) for compliance.

Operations 8

DELETE /iam/api/customers/{customerId}/merchant/{clientId}/provider/{complianceProvider}/document/{documentKey} Deletes a merchants KYB document #
GET /iam/api/customers/{customerId}/merchant/{clientId}/provider/{complianceProvider}/complianceStatuses Get compliance statuses for a company #
PUT /iam/api/customers/{customerId}/merchant/{clientId}/provider/{complianceProvider}/complianceStatuses Update compliance statuses for a company #
PUT /iam/api/customers/{customerId}/merchant/{clientId}/provider/{complianceProvider}/updateComplianceStatus Updates the compliance status of a client #
PUT /iam/api/customers/{customerId}/merchant/{clientId}/kybDocuments/status Update company kyb document status #
PUT /iam/api/customers/{customerId}/merchant/${clientId}/shareholders/${shareholderId}/documents/status Update shareholder document status #
PUT /iam/api/customers/{customerId}/merchant/{clientId}/user/{userId}/provider/{complianceProvider}/updateComplianceStatus Updates the compliance status of a user or shareholder #
PUT /iam/api/customers/{customerId}/merchant/{clientId}/users/{userId}/provider/{complianceProvider}/documents/status Update user document status #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/toqio-compliance-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no email required.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

toqio-compliance-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: endpoints Compliance API
  description: Endpoints to manage the compliance status and user status
  version: v1.0.0
servers:
- url: https://api.sandbox.toq.io/iam/api
  description: Simulation environment
- url: https://api.toq.io/iam/api
  description: Production environment
tags:
- name: Compliance
paths:
  /iam/api/customers/{customerId}/merchant/{clientId}/provider/{complianceProvider}/document/{documentKey}:
    delete:
      tags:
      - Compliance
      summary: Deletes a merchants KYB document
      description: This endpoint will delete a KYB document previously uploaded through the platform or using pre-signed URL endpoint
      operationId: deleteKybDocumentByKey
      parameters:
      - name: customerId
        in: path
        description: Toqios customer ID
        required: true
        style: simple
        explode: false
        schema:
          type: string
      - name: clientId
        in: path
        description: Toqios client ID
        required: true
        style: simple
        explode: false
        schema:
          type: string
      - name: complianceProvider
        in: path
        description: The compliance provider the document is associated with
        required: true
        style: simple
        explode: false
        schema:
          type: string
      - name: documentKey
        in: path
        description: documentKey of the document to be deleted, provided when uploading using the pre-signed URL endpoint
        required: true
        style: simple
        explode: false
        schema:
          type: string
      - name: documentId
        in: query
        description: If the document was uploaded through the platform, a documentId is returned. This documentId is required to delete the document
        required: false
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DeleteKYBDocumentDTO'
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
      deprecated: false
      security:
      - clientCredentials: []
  /iam/api/customers/{customerId}/merchant/{clientId}/provider/{complianceProvider}/complianceStatuses:
    get:
      tags:
      - Compliance
      summary: Get compliance statuses for a company
      description: This endpoint allows to get compliance statuses for a company
      operationId: getComplianceBlocksStatusesPerProvider
      parameters:
      - name: customerId
        in: path
        description: Toqios customer ID
        required: true
        style: simple
        explode: false
        schema:
          type: string
      - name: clientId
        in: path
        description: Toqios client ID
        required: true
        style: simple
        explode: false
        schema:
          type: string
      - name: complianceProvider
        in: path
        description: The compliance provider the the action is associated with
        required: true
        style: simple
        explode: false
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ComplianceResponseDTO'
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
      deprecated: false
      security:
      - clientCredentials: []
    put:
      tags:
      - Compliance
      summary: Update compliance statuses for a company
      description: This endpoint allows to update compliance statuses for a company
      operationId: updateComplianceBlocksStatusesPerProvider
      parameters:
      - name: customerId
        in: path
        description: Toqios customer ID
        required: true
        style: simple
        explode: false
        schema:
          type: string
      - name: clientId
        in: path
        description: Toqios client ID
        required: true
        style: simple
        explode: false
        schema:
          type: string
      - name: complianceProvider
        in: path
        description: The compliance provider the the action is associated with
        required: true
        style: simple
        explode: false
        schema:
          type: string
      - name: updateCompanyKybDocumentsDTO
        in: query
        description: List of documents to update
        required: true
        explode: false
        schema:
          $ref: '#/components/schemas/UpdateComplianceDTO'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ComplianceStatusDTO'
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
      deprecated: false
      security:
      - clientCredentials: []
  /iam/api/customers/{customerId}/merchant/{clientId}/provider/{complianceProvider}/updateComplianceStatus:
    put:
      tags:
      - Compliance
      summary: Updates the compliance status of a client
      description: This endpoint updates the compliance status of a client
      operationId: updateClientComplianceStatus
      parameters:
      - name: customerId
        in: path
        description: Toqios customer ID
        required: true
        style: simple
        explode: false
        schema:
          type: string
      - name: clientId
        in: path
        description: Toqios client ID
        required: true
        style: simple
        explode: false
        schema:
          type: string
      - name: complianceProvider
        in: path
        description: The compliance provider the the action is associated with
        required: true
        style: simple
        explode: false
        schema:
          type: string
      - name: complianceStatusUpdateDTO
        in: query
        description: Object with the statuses to be updated
        required: true
        explode: false
        schema:
          $ref: '#/components/schemas/ComplianceStatusUpdateDTO'
      responses:
        '200':
          description: OK
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
      deprecated: false
      security:
      - clientCredentials: []
  /iam/api/customers/{customerId}/merchant/{clientId}/kybDocuments/status:
    put:
      tags:
      - Compliance
      summary: Update company kyb document status
      description: This endpoint allows to update company kyb document status
      operationId: updateCompanyKybDocumentsStatus
      parameters:
      - name: customerId
        in: path
        description: Toqios customer ID
        required: true
        style: simple
        explode: false
        schema:
          type: string
      - name: clientId
        in: path
        description: Toqios client ID
        required: true
        style: simple
        explode: false
        schema:
          type: string
      - name: updateCompanyKybDocumentsDTO
        in: query
        description: List of documents to update
        required: true
        explode: false
        schema:
          $ref: '#/components/schemas/UpdateCompanyKyxDocumentsDTO'
      responses:
        '200':
          description: OK
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
      deprecated: false
      security:
      - clientCredentials: []
  /iam/api/customers/{customerId}/merchant/${clientId}/shareholders/${shareholderId}/documents/status:
    put:
      tags:
      - Compliance
      summary: Update shareholder document status
      description: This endpoint allows to update the shareholder document status
      operationId: updateShareholderDocumentStatus
      parameters:
      - name: customerId
        in: path
        description: Toqios customer ID
        required: true
        style: simple
        explode: false
        schema:
          type: string
      - name: clientId
        in: path
        description: Toqios client ID
        required: true
        style: simple
        explode: false
        schema:
          type: string
      - name: shareholderId
        in: path
        description: Toqios shareholder ID
        required: true
        style: simple
        explode: false
        schema:
          type: string
      - name: updateShareholderDocuments
        in: query
        description: List of documents to update
        required: true
        explode: false
        schema:
          $ref: '#/components/schemas/UpdateShareholderDocumentDTO'
      responses:
        '200':
          description: OK
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
      deprecated: false
      security:
      - clientCredentials: []
  /iam/api/customers/{customerId}/merchant/{clientId}/user/{userId}/provider/{complianceProvider}/updateComplianceStatus:
    put:
      tags:
      - Compliance
      summary: Updates the compliance status of a user or shareholder
      description: This endpoint updates the compliance status of a user or shareholder
      operationId: updateUserComplianceStatus
      parameters:
      - name: customerId
        in: path
        description: Toqios customer ID
        required: true
        style: simple
        explode: false
        schema:
          type: string
      - name: clientId
        in: path
        description: Toqios client ID
        required: true
        style: simple
        explode: false
        schema:
          type: string
      - name: userId
        in: path
        description: Toqios user ID
        required: true
        style: simple
        explode: false
        schema:
          type: string
      - name: complianceProvider
        in: path
        description: The compliance provider the the action is associated with
        required: true
        style: simple
        explode: false
        schema:
          type: string
      - name: complianceStatusUpdateDTO
        in: query
        description: Object with the statuses to be updated
        required: true
        explode: false
        schema:
          $ref: '#/components/schemas/ComplianceUserStatusUpdateDTO'
      responses:
        '200':
          description: OK
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
      deprecated: false
      security:
      - clientCredentials: []
  /iam/api/customers/{customerId}/merchant/{clientId}/users/{userId}/provider/{complianceProvider}/documents/status:
    put:
      tags:
      - Compliance
      summary: Update user document status
      description: This endpoint allows to update the user document status
      operationId: updateUserDocumentStatus
      parameters:
      - name: customerId
        in: path
        description: Toqios customer ID
        required: true
        style: simple
        explode: false
        schema:
          type: string
      - name: clientId
        in: path
        description: Toqios client ID
        required: true
        style: simple
        explode: false
        schema:
          type: string
      - name: userId
        in: path
        description: Toqios user ID
        required: true
        explode: false
        schema:
          type: string
      - name: complianceProvider
        in: path
        description: The compliance provider the the action is associated with
        required: true
        explode: false
        schema:
          type: string
      - name: userDocumentsDTO
        in: query
        description: List of documents to update
        required: true
        explode: false
        schema:
          $ref: '#/components/schemas/UpdateUserDocumentsDTO'
      responses:
        '200':
          description: OK
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
      deprecated: false
      security:
      - clientCredentials: []
components:
  schemas:
    ComplianceResponseDTO:
      title: ComplianceResponseDTO
      type: object
      properties:
        businessDetailsStatus:
          type: string
          enum:
          - IN_PROGRESS
          - COMPLETED
          - UNDER_REVIEW
          - DECLINED
          - PENDING
          - VERIFYING
          - VERIFIED
          - REFERRED
          - ACCEPTED
          - NOT_STARTED
          - CLOSE
          - OVERRIDE_COMPLIANCE
          - ADDED_BY_ADMIN
        supportingDocumentsStatus:
          type: string
          enum:
          - IN_PROGRESS
          - COMPLETED
          - UNDER_REVIEW
          - DECLINED
          - PENDING
          - VERIFYING
          - VERIFIED
          - REFERRED
          - ACCEPTED
          - NOT_STARTED
          - CLOSE
          - OVERRIDE_COMPLIANCE
          - ADDED_BY_ADMIN
        boardOfDirectorsStatus:
          type: string
          enum:
          - IN_PROGRESS
          - COMPLETED
          - UNDER_REVIEW
          - DECLINED
          - PENDING
          - VERIFYING
          - VERIFIED
          - REFERRED
          - ACCEPTED
          - NOT_STARTED
          - CLOSE
          - OVERRIDE_COMPLIANCE
          - ADDED_BY_ADMIN
        shareholdersStatus:
          type: string
          enum:
          - PENDING
          - IN_PROGRESS
          - COMPLETED
        userProfileStatus:
          type: string
          enum:
          - IN_PROGRESS
          - COMPLETED
          - UNDER_REVIEW
          - DECLINED
          - PENDING
          - VERIFYING
          - VERIFIED
          - REFERRED
          - ACCEPTED
          - NOT_STARTED
          - CLOSE
          - OVERRIDE_COMPLIANCE
          - ADDED_BY_ADMIN
        overallComplianceStatus:
          type: string
          enum:
          - IN_PROGRESS
          - COMPLETED
          - UNDER_REVIEW
          - DECLINED
          - PENDING
          - VERIFYING
          - VERIFIED
          - REFERRED
          - ACCEPTED
          - NOT_STARTED
          - CLOSE
          - OVERRIDE_COMPLIANCE
          - ADDED_BY_ADMIN
        pendingTasks:
          type: object
          properties:
            pendingSupportingDocuments:
              type: array
              items:
                type: string
            directorsPendingVerification:
              type: array
              items:
                type: string
            pendingBusinessDetails:
              type: array
              items:
                type: string
    DirectorDTO:
      title: DirectorDTO
      type: object
      properties:
        userId:
          type: string
          description: User id
        status:
          type: string
          description: User compliance status
          enum:
          - IN_PROGRESS
          - COMPLETED
          - UNDER_REVIEW
          - DECLINED
          - PENDING
          - VERIFYING
          - VERIFIED
          - REFERRED
          - ACCEPTED
          - NOT_STARTED
          - CLOSE
          - OVERRIDE_COMPLIANCE
          - ADDED_BY_ADMIN
    UpdateComplianceDTO:
      type: object
      properties:
        businessDetailsStatus:
          type: string
          enum:
          - IN_PROGRESS
          - COMPLETED
          - UNDER_REVIEW
          - DECLINED
          - PENDING
          - VERIFYING
          - VERIFIED
          - REFERRED
          - ACCEPTED
          - NOT_STARTED
          - CLOSE
          - OVERRIDE_COMPLIANCE
          - ADDED_BY_ADMIN
        supportingDocumentsStatus:
          type: string
          enum:
          - IN_PROGRESS
          - COMPLETED
          - UNDER_REVIEW
          - DECLINED
          - PENDING
          - VERIFYING
          - VERIFIED
          - REFERRED
          - ACCEPTED
          - NOT_STARTED
          - CLOSE
          - OVERRIDE_COMPLIANCE
          - ADDED_BY_ADMIN
        boardOfDirectorsStatus:
          type: string
          enum:
          - IN_PROGRESS
          - COMPLETED
          - UNDER_REVIEW
          - DECLINED
          - PENDING
          - VERIFYING
          - VERIFIED
          - REFERRED
          - ACCEPTED
          - NOT_STARTED
          - CLOSE
          - OVERRIDE_COMPLIANCE
          - ADDED_BY_ADMIN
        shareholdersStatus:
          type: string
          enum:
          - PENDING
          - IN_PROGRESS
          - COMPLETED
        overallComplianceStatus:
          type: string
          enum:
          - IN_PROGRESS
          - COMPLETED
          - UNDER_REVIEW
          - DECLINED
          - PENDING
          - VERIFYING
          - VERIFIED
          - REFERRED
          - ACCEPTED
          - NOT_STARTED
          - CLOSE
          - OVERRIDE_COMPLIANCE
          - ADDED_BY_ADMIN
    UpdateShareholderDocumentDTO:
      title: UpdateShareholderDocumentDTO
      type: object
      properties:
        externalId:
          type: string
          description: external id of the identification document
        frontSideDocStatus:
          type: string
          description: front status of the identification document
          enum:
          - IN_PROGRESS
          - UNDER_REVIEW
          - COMPLETED
          - DECLINED
        backSideDocStatus:
          type: string
          description: back status of the identification document
          enum:
          - IN_PROGRESS
          - UNDER_REVIEW
          - COMPLETED
          - DECLINED
        errorMessage:
          type: string
          description: errorMessage of the identification document
        documents:
          type: array
          items:
            $ref: '#/components/schemas/StatusDocumentDTO'
    DeleteKYBDocumentDTO:
      type: object
      properties:
        deleteDocumentMessage:
          type: string
          description: Message indicating if the document was deleted successfully
    UpdateUserDocumentsDTO:
      title: UpdateUserDocumentsDTO
      type: object
      properties:
        documents:
          type: array
          items:
            $ref: '#/components/schemas/StatusDocumentDTO'
    UpdateCompanyKyxDocumentsDTO:
      title: UpdateCompanyKyxDocumentsDTO
      type: object
      properties:
        documents:
          type: array
          items:
            $ref: '#/components/schemas/StatusDocumentDTO'
    ComplianceStatusUpdateDTO:
      title: ComplianceStatusUpdateDTO
      type: object
      properties:
        status:
          type: string
          enum:
          - IN_PROGRESS
          - COMPLETED
          - UNDER_REVIEW
          - DECLINED
          - PENDING
          - VERIFYING
          - VERIFIED
          - REFERRED
          - ACCEPTED
          - NOT_STARTED
          - CLOSE
          - OVERRIDE_COMPLIANCE
          - ADDED_BY_ADMIN
        accountId:
          type: integer
        directors:
          type: array
          items:
            $ref: '#/components/schemas/DirectorDTO'
        finalisedManually:
          type: boolean
        clientId:
          type: string
          description: Client id
    ComplianceStatusDTO:
      type: object
      properties:
        businessDetailsStatus:
          type: string
          enum:
          - IN_PROGRESS
          - COMPLETED
          - UNDER_REVIEW
          - DECLINED
          - PENDING
          - VERIFYING
          - VERIFIED
          - REFERRED
          - ACCEPTED
          - NOT_STARTED
          - CLOSE
          - OVERRIDE_COMPLIANCE
          - ADDED_BY_ADMIN
        supportingDocumentsStatus:
          type: string
          enum:
          - IN_PROGRESS
          - COMPLETED
          - UNDER_REVIEW
          - DECLINED
          - PENDING
          - VERIFYING
          - VERIFIED
          - REFERRED
          - ACCEPTED
          - NOT_STARTED
          - CLOSE
          - OVERRIDE_COMPLIANCE
          - ADDED_BY_ADMIN
        boardOfDirectorsStatus:
          type: string
          enum:
          - IN_PROGRESS
          - COMPLETED
          - UNDER_REVIEW
          - DECLINED
          - PENDING
          - VERIFYING
          - VERIFIED
          - REFERRED
          - ACCEPTED
          - NOT_STARTED
          - CLOSE
          - OVERRIDE_COMPLIANCE
          - ADDED_BY_ADMIN
        shareholdersStatus:
          type: string
          enum:
          - PENDING
          - IN_PROGRESS
          - COMPLETED
        overallComplianceStatus:
          type: string
          enum:
          - IN_PROGRESS
          - COMPLETED
          - UNDER_REVIEW
          - DECLINED
          - PENDING
          - VERIFYING
          - VERIFIED
          - REFERRED
          - ACCEPTED
          - NOT_STARTED
          - CLOSE
          - OVERRIDE_COMPLIANCE
          - ADDED_BY_ADMIN
    StatusDocumentDTO:
      title: StatusDocumentDTO
      type: object
      properties:
        id:
          type: string
          description: id of the document
        externalId:
          type: string
        status:
          type: string
          enum:
          - IN_PROGRESS
          - UNDER_REVIEW
          - COMPLETED
          - DECLINED
        errorMessage:
          type: string
    ComplianceUserStatusUpdateDTO:
      title: ComplianceUserStatusUpdateDTO
      type: object
      properties:
        userId:
          type: string
          description: user id
        customerId:
          type: string
          description: customer id
        clientId:
          type: string
          description: client id
        status:
          type: string
          description: user compliance status
          enum:
          - IN_PROGRESS
          - COMPLETED
          - UNDER_REVIEW
          - DECLINED
          - PENDING
          - VERIFYING
          - VERIFIED
          - REFERRED
          - ACCEPTED
          - NOT_STARTED
          - CLOSE
          - OVERRIDE_COMPLIANCE
          - ADDED_BY_ADMIN
  securitySchemes:
    clientCredentials:
      type: oauth2
      flows:
        clientCredentials:
          tokenUrl: https://api.toq.io/iam/oauth/token
          scopes: {}
x-source-pages:
- https://platform.toq.io/reference/deletekybdocumentbykey
- https://platform.toq.io/reference/getcomplianceblocksstatusesperprovider
- https://platform.toq.io/reference/updateclientcompliancestatus
- https://platform.toq.io/reference/updatecompanykybdocumentsstatus
- https://platform.toq.io/reference/updatecomplianceblocksstatusesperprovider
- https://platform.toq.io/reference/updateshareholderdocumentstatus
- https://platform.toq.io/reference/updateusercompliancestatus
- https://platform.toq.io/reference/updateuserdocumentstatus
- https://platform.toq.io/reference/updateuserstatus