List workflows
curl --request GET \
--url https://sigmacdd.sabipay.com/api/v1/cdd/workflows \
--header 'apiKey: <api-key>' \
--header 'apiSecret: <api-key>'import requests
url = "https://sigmacdd.sabipay.com/api/v1/cdd/workflows"
headers = {
"apiKey": "<api-key>",
"apiSecret": "<api-key>"
}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {apiKey: '<api-key>', apiSecret: '<api-key>'}};
fetch('https://sigmacdd.sabipay.com/api/v1/cdd/workflows', 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/cdd/workflows",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"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"
"net/http"
"io"
)
func main() {
url := "https://sigmacdd.sabipay.com/api/v1/cdd/workflows"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("apiKey", "<api-key>")
req.Header.Add("apiSecret", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://sigmacdd.sabipay.com/api/v1/cdd/workflows")
.header("apiKey", "<api-key>")
.header("apiSecret", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://sigmacdd.sabipay.com/api/v1/cdd/workflows")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["apiKey"] = '<api-key>'
request["apiSecret"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"message": "Workflows retrieved successfully",
"count": 35,
"pageNumber": 1,
"data": [
{
"_id": "6a3e74016bdc8271f1b61d44",
"name": "Test 3",
"slug": "test-3",
"type": "corporate"
},
{
"_id": "6a3e6c486bdc8271f1b60cd9",
"name": "KPMG",
"slug": "kpmg",
"type": "individual"
},
{
"_id": "6a3d1a073edcfd7d9517dd19",
"name": "Abbey",
"slug": "abbey",
"type": "individual"
},
{
"_id": "6a3cf2f03edcfd7d951794ca",
"name": "ACCOBIN",
"slug": "accobin",
"type": "individual"
},
{
"_id": "6a3a403634490b82412ee6f6",
"name": "yeneng bank",
"slug": "yeneng-bank",
"type": "individual"
},
{
"_id": "6a33d747b99aa98dfc5b587d",
"name": "YES MFB",
"slug": "yes-mfb",
"type": "individual"
},
{
"_id": "6a27e48405de034ddf3bbcb0",
"name": "ovex 1",
"slug": "ovex-1",
"type": "individual"
},
{
"_id": "6a217da87bb9edf44affed8b",
"name": "sohcahtoa",
"slug": "sohcahtoa",
"type": "individual"
},
{
"_id": "6a20353f2fcc53f8635020dc",
"name": "BVN, passport and PEP verification",
"slug": "bvn-passport-and-pep-verification",
"type": "corporate"
},
{
"_id": "6a1d77d9230b92484bc1da03",
"name": "onoarding-business",
"slug": "onoarding-business",
"type": "corporate"
}
]
}Customer Due Diligence
List Workflows
GET api/v1/cdd/workflows
List workflows
curl --request GET \
--url https://sigmacdd.sabipay.com/api/v1/cdd/workflows \
--header 'apiKey: <api-key>' \
--header 'apiSecret: <api-key>'import requests
url = "https://sigmacdd.sabipay.com/api/v1/cdd/workflows"
headers = {
"apiKey": "<api-key>",
"apiSecret": "<api-key>"
}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {apiKey: '<api-key>', apiSecret: '<api-key>'}};
fetch('https://sigmacdd.sabipay.com/api/v1/cdd/workflows', 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/cdd/workflows",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"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"
"net/http"
"io"
)
func main() {
url := "https://sigmacdd.sabipay.com/api/v1/cdd/workflows"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("apiKey", "<api-key>")
req.Header.Add("apiSecret", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://sigmacdd.sabipay.com/api/v1/cdd/workflows")
.header("apiKey", "<api-key>")
.header("apiSecret", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://sigmacdd.sabipay.com/api/v1/cdd/workflows")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["apiKey"] = '<api-key>'
request["apiSecret"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"message": "Workflows retrieved successfully",
"count": 35,
"pageNumber": 1,
"data": [
{
"_id": "6a3e74016bdc8271f1b61d44",
"name": "Test 3",
"slug": "test-3",
"type": "corporate"
},
{
"_id": "6a3e6c486bdc8271f1b60cd9",
"name": "KPMG",
"slug": "kpmg",
"type": "individual"
},
{
"_id": "6a3d1a073edcfd7d9517dd19",
"name": "Abbey",
"slug": "abbey",
"type": "individual"
},
{
"_id": "6a3cf2f03edcfd7d951794ca",
"name": "ACCOBIN",
"slug": "accobin",
"type": "individual"
},
{
"_id": "6a3a403634490b82412ee6f6",
"name": "yeneng bank",
"slug": "yeneng-bank",
"type": "individual"
},
{
"_id": "6a33d747b99aa98dfc5b587d",
"name": "YES MFB",
"slug": "yes-mfb",
"type": "individual"
},
{
"_id": "6a27e48405de034ddf3bbcb0",
"name": "ovex 1",
"slug": "ovex-1",
"type": "individual"
},
{
"_id": "6a217da87bb9edf44affed8b",
"name": "sohcahtoa",
"slug": "sohcahtoa",
"type": "individual"
},
{
"_id": "6a20353f2fcc53f8635020dc",
"name": "BVN, passport and PEP verification",
"slug": "bvn-passport-and-pep-verification",
"type": "corporate"
},
{
"_id": "6a1d77d9230b92484bc1da03",
"name": "onoarding-business",
"slug": "onoarding-business",
"type": "corporate"
}
]
}⌘I