curl --request POST \
--url https://customclients.dev.securecitizen.cloud/CustomClient3/CustomClient3StartProcess \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"ConsentReceived": true,
"CRef": "<string>",
"idNumber": "<string>",
"mobileNumber": "<string>"
}
'import requests
url = "https://customclients.dev.securecitizen.cloud/CustomClient3/CustomClient3StartProcess"
payload = {
"ConsentReceived": True,
"CRef": "<string>",
"idNumber": "<string>",
"mobileNumber": "<string>"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
ConsentReceived: true,
CRef: '<string>',
idNumber: '<string>',
mobileNumber: '<string>'
})
};
fetch('https://customclients.dev.securecitizen.cloud/CustomClient3/CustomClient3StartProcess', 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://customclients.dev.securecitizen.cloud/CustomClient3/CustomClient3StartProcess",
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([
'ConsentReceived' => true,
'CRef' => '<string>',
'idNumber' => '<string>',
'mobileNumber' => '<string>'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$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://customclients.dev.securecitizen.cloud/CustomClient3/CustomClient3StartProcess"
payload := strings.NewReader("{\n \"ConsentReceived\": true,\n \"CRef\": \"<string>\",\n \"idNumber\": \"<string>\",\n \"mobileNumber\": \"<string>\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
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://customclients.dev.securecitizen.cloud/CustomClient3/CustomClient3StartProcess")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"ConsentReceived\": true,\n \"CRef\": \"<string>\",\n \"idNumber\": \"<string>\",\n \"mobileNumber\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://customclients.dev.securecitizen.cloud/CustomClient3/CustomClient3StartProcess")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"ConsentReceived\": true,\n \"CRef\": \"<string>\",\n \"idNumber\": \"<string>\",\n \"mobileNumber\": \"<string>\"\n}"
response = http.request(request)
puts response.read_body{
"CRef": "<string>",
"Status": "Success",
"Message": "<string>",
"TrackingNumber": "<string>",
"CachedResult": true,
"CacheDate": "2023-11-07T05:31:56Z",
"FirstName": "<string>",
"LastName": "<string>",
"SmartCardIssued": true,
"IDIssueDate": "2023-11-07T05:31:56Z",
"IDSequenceNo": "<string>",
"DeadIndicator": true,
"IDBlocked": true,
"DateOfDeath": "2023-11-07T05:31:56Z",
"MaritalStatus": "<string>",
"DateOfMarriage": "2023-11-07T05:31:56Z",
"BirthPlaceCountryCode": "<string>",
"FacialImageAvailable": true,
"IsDHAPhotoFailure": true,
"SAFPSListedFraudster": true,
"SAFPSListedVictim": true,
"SAFPSProtectiveRegistration": true,
"RemoteEnrollmentUrl": "<string>",
"RemoteEnrollmentPin": "<string>",
"RemoteEnrollmentFullUrl": "<string>"
}Start enrolment process
This is a service that requests the Identity Information of a consumer for use in a remote enrol identity validation process
curl --request POST \
--url https://customclients.dev.securecitizen.cloud/CustomClient3/CustomClient3StartProcess \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"ConsentReceived": true,
"CRef": "<string>",
"idNumber": "<string>",
"mobileNumber": "<string>"
}
'import requests
url = "https://customclients.dev.securecitizen.cloud/CustomClient3/CustomClient3StartProcess"
payload = {
"ConsentReceived": True,
"CRef": "<string>",
"idNumber": "<string>",
"mobileNumber": "<string>"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
ConsentReceived: true,
CRef: '<string>',
idNumber: '<string>',
mobileNumber: '<string>'
})
};
fetch('https://customclients.dev.securecitizen.cloud/CustomClient3/CustomClient3StartProcess', 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://customclients.dev.securecitizen.cloud/CustomClient3/CustomClient3StartProcess",
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([
'ConsentReceived' => true,
'CRef' => '<string>',
'idNumber' => '<string>',
'mobileNumber' => '<string>'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$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://customclients.dev.securecitizen.cloud/CustomClient3/CustomClient3StartProcess"
payload := strings.NewReader("{\n \"ConsentReceived\": true,\n \"CRef\": \"<string>\",\n \"idNumber\": \"<string>\",\n \"mobileNumber\": \"<string>\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
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://customclients.dev.securecitizen.cloud/CustomClient3/CustomClient3StartProcess")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"ConsentReceived\": true,\n \"CRef\": \"<string>\",\n \"idNumber\": \"<string>\",\n \"mobileNumber\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://customclients.dev.securecitizen.cloud/CustomClient3/CustomClient3StartProcess")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"ConsentReceived\": true,\n \"CRef\": \"<string>\",\n \"idNumber\": \"<string>\",\n \"mobileNumber\": \"<string>\"\n}"
response = http.request(request)
puts response.read_body{
"CRef": "<string>",
"Status": "Success",
"Message": "<string>",
"TrackingNumber": "<string>",
"CachedResult": true,
"CacheDate": "2023-11-07T05:31:56Z",
"FirstName": "<string>",
"LastName": "<string>",
"SmartCardIssued": true,
"IDIssueDate": "2023-11-07T05:31:56Z",
"IDSequenceNo": "<string>",
"DeadIndicator": true,
"IDBlocked": true,
"DateOfDeath": "2023-11-07T05:31:56Z",
"MaritalStatus": "<string>",
"DateOfMarriage": "2023-11-07T05:31:56Z",
"BirthPlaceCountryCode": "<string>",
"FacialImageAvailable": true,
"IsDHAPhotoFailure": true,
"SAFPSListedFraudster": true,
"SAFPSListedVictim": true,
"SAFPSProtectiveRegistration": true,
"RemoteEnrollmentUrl": "<string>",
"RemoteEnrollmentPin": "<string>",
"RemoteEnrollmentFullUrl": "<string>"
}Authorizations
The access token received from the authorization server in the OAuth 2.0 flow.
Scopes
SecureCitizen.CustomClients.Api
Body
Example: true
This is an indicator to audit the fact that the controller has obtained consent from the subject to process their personal information and data as per the regulatory requirements pertaining to local and global privacy and data protection legislation.
Example: "REF00001"
This is the unique transaction reference number that can be supplied by the controller. This will be provided in response messages related to the transaction and will be required for identifying transactions for support purposes.
256Response
Success
This field will return the reference provided by the client to track the transaction.
256Status values (static strings) to be used for external connection management
Success, Failure, Unknown, AuthFailure, DataDeserializationError, EmptyResults, ErrorContactSupport, FaceDetectionFailure, FaceComparisonFailure, NoStatusDefined, FaceDetectionQualityTooLow, FaceDetectionTooManyFaces, FaceDetectionNoFacesFound, FaceComparisonError, FaceComparisonNotSame, GoldenSourceImageNull, ProvidedImageNull, GoldenSourceNoFacesFound, ProvidedImageNoFacesFound, GoldenSourceHasTooManyFaces, ProvidedImageHasTooManyFaces, GoldenSourceQualityTooLow, ProvidedImageQualityTooLow, GoldenSourceGUIDIncorrect, ProvidedImageGUIDIncorrect, FaceAPIGeneralError, FaceAPIPublicUrlInputError, FaceBadInput, GoldenSourceIncorrectStringFormat, ProvidedImageIncorrectStringFormat, SAFPSNPROk, SAFPSHANISOk, SAFPSNIISOk, SAFPSNPRSlow, SAFPSHANISSlow, SAFPSNIISSlow, SAFPSFailure, SAFPSPossibleFailure, SAFPSNPRFailure, SAFPSHANISFailure, SAFPSNIISFailure, FaceTooClose, EyesClosed, FaceCloseToBorder, FaceCropped, FaceIsOccluded, FaceNotFound, TooManyFaces, FaceTooSmall, AbsoluteFaceTooSmall, RelativeFaceTooSmall, FaceAngleTooLarge, FailedToPredictLandmarks, Active, CSuccess, AsyncCSuccess, IdentificationNumberInvalid, IdentificationNumberAgeBelow18, UnableToVerifyIdentificationNumberOnDocument, UnableToVerifyIdentificationNumberAtGoldenSource, GoldenSourceUnavailable, MandatoryInformationMissing, NPRSuccess, HANISNotAvailable, InvalidIDNCheckDigitTestNotPassed, NPRNotAvailableOnlyPhotoIsReturned, IDNRIsNotCurrentlyAValidNPRIDNR, IDNRIsMarkedForDeletion This will return a status of the transaction s well as external tracking information.
This field will return the tracking number used internally to track the transaction completed.
This field will indicate whether the data returned from Secure Citizen Identity Cache.
This is the date that the record was added or refreshed on the SAFPS Cache Database. The Cache entry is refreshed with new enquiries to the Department of Home Affairs. The date will always reflect the most recent entry.
This field will return the first name of the consumer for whom the look up was done.
This field will return the last name of the consumer for whom the look up was done.
This field will return an indication of whether the consumer has been issued a South African smart card ID.
This field will return the date on which the consumers latest ID documents was issued.
The checksum number of an ID which is calculated using the Luhn algorithm
This field will indicate whether the consumer being looked up is listed as dead or not at the Department of Home Affairs.
This field will indicate whether the ID provided has been blocked at the Department of Home Affairs.
Where the consumer is listed as dead the date the consumer died will be indicated here.
This field will indicate the consumers marital status as listed at the Department of Home Affairs.
If listed as married, the consumers date of marriage will be returned in this field.
This will indicate the code assigned to the consumers country of birth.
This field will indicate whether the consumer has a Facial image at the Department of Home Affairs.
DHA photo is null or empty
This field indicates whether their consumer has been listed by the SAFPS as someone who has been involved in fraudulent activity, or whose identity may have been used to commit fraud.
This field indicates whether you have been listed by the SAFPS as someone who has had their personal information used for fraudulent activity.
This field indicates whether the consumer has registered with the SAFPS for a protective registration to ensure companies take extra care to confirm their identity prior to completing any credit applications.
This returns the URL for the consumer to use to complete the validation process.
This returns the pin that the consumer should input in the website in order to start the validation process.
This returns the URL for the consumer to use to complete the validation process, that would not require a Pin from the user

