CAC Search
curl --request POST \
--url https://sigmacdd.sabipay.com/api/v1/kyc/cac \
--header 'Content-Type: application/json' \
--header 'apiKey: <api-key>' \
--header 'apiSecret: <api-key>' \
--data '
{
"rcNumber": "7429883",
"companyName": "PASTEL AI AFRICA LTD",
"companyType": "RC"
}
'import requests
url = "https://sigmacdd.sabipay.com/api/v1/kyc/cac"
payload = {
"rcNumber": "7429883",
"companyName": "PASTEL AI AFRICA LTD",
"companyType": "RC"
}
headers = {
"apiKey": "<api-key>",
"apiSecret": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {
apiKey: '<api-key>',
apiSecret: '<api-key>',
'Content-Type': 'application/json'
},
body: JSON.stringify({rcNumber: '7429883', companyName: 'PASTEL AI AFRICA LTD', companyType: 'RC'})
};
fetch('https://sigmacdd.sabipay.com/api/v1/kyc/cac', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://sigmacdd.sabipay.com/api/v1/kyc/cac",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'rcNumber' => '7429883',
'companyName' => 'PASTEL AI AFRICA LTD',
'companyType' => 'RC'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"apiKey: <api-key>",
"apiSecret: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://sigmacdd.sabipay.com/api/v1/kyc/cac"
payload := strings.NewReader("{\n \"rcNumber\": \"7429883\",\n \"companyName\": \"PASTEL AI AFRICA LTD\",\n \"companyType\": \"RC\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("apiKey", "<api-key>")
req.Header.Add("apiSecret", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://sigmacdd.sabipay.com/api/v1/kyc/cac")
.header("apiKey", "<api-key>")
.header("apiSecret", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"rcNumber\": \"7429883\",\n \"companyName\": \"PASTEL AI AFRICA LTD\",\n \"companyType\": \"RC\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://sigmacdd.sabipay.com/api/v1/kyc/cac")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["apiKey"] = '<api-key>'
request["apiSecret"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"rcNumber\": \"7429883\",\n \"companyName\": \"PASTEL AI AFRICA LTD\",\n \"companyType\": \"RC\"\n}"
response = http.request(request)
puts response.read_body{
"message": "CAC lookup successful",
"data": {
"registrationNumber": "7429883",
"businessName": "PASTEL AI AFRICA LTD",
"status": "ACTIVE",
"classification": null,
"registrationDate": "2024-04-03",
"headOfficeAddress": null,
"branchAddress": null,
"state": "LAGOS",
"city": "LEKKI",
"lga": "Ibeju-Lekki",
"companyEmail": null,
"entityType": null,
"statusMore": null,
"affiliates": 7,
"affiliatesData": [
{
"surname": "Royesh",
"firstname": "Abuzar",
"othername": null,
"gender": "MALE",
"email": "info@pastelhq.ai",
"phoneNumber": "+234(1)6507858479",
"dateOfBirth": "1994-05-15",
"dateOfAppointment": "2024-04-03",
"nationality": "AFGHANISTAN",
"address": "274, Murtala Muhammed Way",
"occupation": "Entrepreneur",
"affiliateType": "DIRECTOR",
"idType": "International Passport"
}
]
}
}{
"message": "Invalid request: idNumber is required"
}{
"message": "Invalid request: idNumber is required"
}KYC
CAC Search
POST api/v1/kyc/cac
CAC Search
curl --request POST \
--url https://sigmacdd.sabipay.com/api/v1/kyc/cac \
--header 'Content-Type: application/json' \
--header 'apiKey: <api-key>' \
--header 'apiSecret: <api-key>' \
--data '
{
"rcNumber": "7429883",
"companyName": "PASTEL AI AFRICA LTD",
"companyType": "RC"
}
'import requests
url = "https://sigmacdd.sabipay.com/api/v1/kyc/cac"
payload = {
"rcNumber": "7429883",
"companyName": "PASTEL AI AFRICA LTD",
"companyType": "RC"
}
headers = {
"apiKey": "<api-key>",
"apiSecret": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {
apiKey: '<api-key>',
apiSecret: '<api-key>',
'Content-Type': 'application/json'
},
body: JSON.stringify({rcNumber: '7429883', companyName: 'PASTEL AI AFRICA LTD', companyType: 'RC'})
};
fetch('https://sigmacdd.sabipay.com/api/v1/kyc/cac', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://sigmacdd.sabipay.com/api/v1/kyc/cac",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'rcNumber' => '7429883',
'companyName' => 'PASTEL AI AFRICA LTD',
'companyType' => 'RC'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"apiKey: <api-key>",
"apiSecret: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://sigmacdd.sabipay.com/api/v1/kyc/cac"
payload := strings.NewReader("{\n \"rcNumber\": \"7429883\",\n \"companyName\": \"PASTEL AI AFRICA LTD\",\n \"companyType\": \"RC\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("apiKey", "<api-key>")
req.Header.Add("apiSecret", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://sigmacdd.sabipay.com/api/v1/kyc/cac")
.header("apiKey", "<api-key>")
.header("apiSecret", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"rcNumber\": \"7429883\",\n \"companyName\": \"PASTEL AI AFRICA LTD\",\n \"companyType\": \"RC\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://sigmacdd.sabipay.com/api/v1/kyc/cac")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["apiKey"] = '<api-key>'
request["apiSecret"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"rcNumber\": \"7429883\",\n \"companyName\": \"PASTEL AI AFRICA LTD\",\n \"companyType\": \"RC\"\n}"
response = http.request(request)
puts response.read_body{
"message": "CAC lookup successful",
"data": {
"registrationNumber": "7429883",
"businessName": "PASTEL AI AFRICA LTD",
"status": "ACTIVE",
"classification": null,
"registrationDate": "2024-04-03",
"headOfficeAddress": null,
"branchAddress": null,
"state": "LAGOS",
"city": "LEKKI",
"lga": "Ibeju-Lekki",
"companyEmail": null,
"entityType": null,
"statusMore": null,
"affiliates": 7,
"affiliatesData": [
{
"surname": "Royesh",
"firstname": "Abuzar",
"othername": null,
"gender": "MALE",
"email": "info@pastelhq.ai",
"phoneNumber": "+234(1)6507858479",
"dateOfBirth": "1994-05-15",
"dateOfAppointment": "2024-04-03",
"nationality": "AFGHANISTAN",
"address": "274, Murtala Muhammed Way",
"occupation": "Entrepreneur",
"affiliateType": "DIRECTOR",
"idType": "International Passport"
}
]
}
}{
"message": "Invalid request: idNumber is required"
}{
"message": "Invalid request: idNumber is required"
}Body
application/json
⌘I