> ## Documentation Index
> Fetch the complete documentation index at: https://docs.adherecompliance.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Enregistrement d'entreprise

> Vérifiez une entreprise kényane à l'aide de son numéro d'enregistrement et récupérez les directeurs, actionnaires et bénéficiaires.

L'endpoint Enregistrement d'entreprise récupère les informations d'entreprise vérifiées — incluant les directeurs, les bénéficiaires et la structure de participation — en utilisant un numéro d'enregistrement d'entreprise kényan valide.

## Endpoint

```
POST /api/onboarding/kenya_kyc/business_registration/
```

## Requête

### En-têtes

| En-tête | Valeur | Requis |
| - | - | - |
| `x-access-token` | Votre clé secrète API | Oui |
| `Content-Type` | `application/json` | Oui |

### Paramètres de corps

| Paramètre | Type | Requis | Description |
| - | - | - | - |
| `registration_number` | string | Oui | Le numéro d'enregistrement de l'entreprise (par ex. `PVT-ABC123`) |
| `postal_code` | string | Non | Code postal de l'adresse enregistrée de l'entreprise |
| `postal_address` | string | Non | Numéro d'adresse postale |

### Exemple

```bash cURL theme={null}
curl -X POST "https://adhere-api.smartcomply.com/api/onboarding/kenya_kyc/business_registration/" \
  -H "x-access-token: YOUR_SECRET_KEY" \
  -H "Content-Type: application/json" \
  -d '{"registration_number": "PVT-ABC123", "postal_code": "00100", "postal_address": "1234"}'
```

## Réponse

### 200 OK

| Champ | Type | Description |
| - | - | - |
| `data.valid` | boolean | Si l'enregistrement est valide |
| `data.directors` | array | Liste des directeurs avec détails d'identité et de participation |
| `data.beneficial_owners` | array | Liste des bénéficiaires avec détails de participation |
| `data.fiduciaries` | array | Détails fiduciaires si applicable |
| `data.proprietors` | array | Détails du propriétaire si applicable |

```json theme={null}
{
  "status": "success",
  "data": {
    "valid": true,
    "success": true,
    "directors": [
      {
        "name": "JAMES KARIUKI MWANGI",
        "gender": "Male",
        "address": "P.O BOX 1234 NAIROBI",
        "id_type": "National ID",
        "id_number": "A12345678",
        "occupation": "Director",
        "nationality": "Citizen",
        "phone_number": "N/A",
        "date_of_birth": "N/A",
        "shareholdings": 10,
        "shareholding_breakdown": [{"type": "ORDINARY", "number_of_shares": 10}]
      }
    ],
    "documents": {},
    "fiduciaries": [],
    "proprietors": [],
    "beneficial_owners": [
      {
        "name": "JAMES KARIUKI MWANGI",
        "gender": "Male",
        "address": "P.O BOX 1234 NAIROBI",
        "nationality": "Citizen",
        "phone_number": "N/A",
        "shareholdings": 10,
        "shareholder_type": "Individual",
        "registration_number": "N/A",
        "shareholding_breakdown": [{"type": "ORDINARY", "number_of_shares": 10}]
      }
    ]
  },
  "message": "Business Registration details retrieved successfully"
}
```

### 400 Bad Request

```json theme={null}
{
  "status": "failed",
  "data": [],
  "message": "Sorry, your check cannot be processed at the moment. Please try again in a few minutes"
}
```


## OpenAPI

````yaml POST /api/onboarding/kenya_kyc/business_registration/
openapi: 3.0.3
info:
  title: Adhere API
  description: >-
    Identity verification, credit checks, transaction monitoring, and loan fraud
    detection across Africa.
  version: 3.0.0
servers:
  - url: https://adhere-api.smartcomply.com
    description: Production
security:
  - ApiKeyAuth: []
tags:
  - name: Nigeria KYC
  - name: Kenya KYC
  - name: Ghana KYC
  - name: Rwanda KYC
  - name: Uganda KYC
  - name: Document Verification
  - name: Biometrics
  - name: Individual Credit
  - name: Business Credit
  - name: Transaction Monitoring
  - name: Transaction Screening
  - name: Transaction KYC
  - name: Loan Fraud
  - name: User Journey
paths:
  /api/onboarding/kenya_kyc/business_registration/:
    post:
      tags:
        - Kenya KYC
      summary: Kenya Business Registration
      operationId: kenyaBusinessRegistration
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
                - registration_number
              properties:
                registration_number:
                  type: string
                  example: BUS/2020/123456
                postal_code:
                  type: string
                postal_address:
                  type: string
      responses:
        '200':
          description: Business registration verified
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
components:
  responses:
    BadRequest:
      description: Bad Request
      content:
        application/json:
          schema:
            type: object
            properties:
              status:
                type: string
                example: failed
              data:
                type: array
                items: {}
              message:
                type: string
    Unauthorized:
      description: Unauthorized
      content:
        application/json:
          schema:
            type: object
            properties:
              status:
                type: string
                example: failed
              message:
                type: string
                example: Authentication credentials were not provided.
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: x-access-token
      description: Your Adhere API secret key

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.