> ## 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.

# Corporate Affairs Commission (CAC)

> Verify a registered Nigerian business using its CAC registration number.

The CAC endpoint returns verified details of a registered business from the Corporate Affairs Commission database, including address, registration date, and approved name.

## Endpoint

```
POST /api/onboarding/nigeria_kyc/cac/
```

## Request

### Headers

| Header | Value | Required |
| - | - | - |
| `x-access-token` | Your API secret key | Yes |
| `Content-Type` | `application/json` | Yes |

### Body Parameters

| Parameter | Type | Required | Description |
| - | - | - | - |
| `registration_number` | string | Yes | The CAC registration number |
| `company_name` | string | Yes | Registered company name |
| `company_type` | string | Yes | Entity type: `"RC"` (registered company), `"BN"` (business name), or `"IT"` (incorporated trustee) |

### Example

```bash cURL theme={null}
curl -X POST "https://adhere-api.smartcomply.com/api/onboarding/nigeria_kyc/cac/" \
  -H "x-access-token: YOUR_SECRET_KEY" \
  -H "Content-Type: application/json" \
  -d '{"registration_number": "1261103", "company_name": "JOYCE VENTURES", "company_type": "RC"}'
```

```python Python theme={null}
import requests
response = requests.post(
    "https://adhere-api.smartcomply.com/api/onboarding/nigeria_kyc/cac/",
    headers={"x-access-token": "YOUR_SECRET_KEY", "Content-Type": "application/json"},
    json={"registration_number": "1261103", "company_name": "JOYCE VENTURES", "company_type": "RC"},
)
```

## Response

### 200 OK

| Field | Type | Description |
| - | - | - |
| `data[].id` | integer | Internal record ID |
| `data[].rcNumber` | string | CAC registration number |
| `data[].approvedName` | string | Government-approved business name |
| `data[].address` | string | Registered business address |
| `data[].city` | string | City |
| `data[].state` | string | State |
| `data[].lga` | string | Local government area |
| `data[].email` | string | Business email (if available) |
| `data[].registrationDate` | string | Date of CAC registration |

```json theme={null}
{
  "status": "success",
  "data": [
    {
      "id": 8693434,
      "lga": "Ibadan North West",
      "city": "Mokola Ibadan",
      "email": "joyceventures@gmail.com",
      "state": "OYO",
      "address": "Okunmade street, Opposite Veterinary Hospital",
      "rcNumber": "1261103",
      "approvedName": "JOYCE VENTURES",
      "registrationDate": "2023-07-11T08:39:54.898+00:00"
    }
  ],
  "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"
}
```

### 401 Unauthorized

```json theme={null}
{
  "status": "failed",
  "message": "Authentication credentials were not provided."
}
```


## OpenAPI

````yaml POST /api/onboarding/nigeria_kyc/cac/
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/nigeria_kyc/cac/:
    post:
      tags:
        - Nigeria KYC
      summary: CAC Verification
      operationId: cac
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
                - registration_number
                - company_name
                - company_type
              properties:
                registration_number:
                  type: string
                  description: The CAC registration number
                  example: '1261103'
                company_name:
                  type: string
                  description: Registered company name
                  example: JOYCE VENTURES
                company_type:
                  type: string
                  description: >-
                    Entity type: RC (registered company), BN (business name), or
                    IT (incorporated trustee)
                  example: RC
      responses:
        '200':
          description: CAC 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.