Erase a NIN lookup
curl --request DELETE \
--url https://api.fastcac.com/v1/identities/nin_lookups/{nin_lookup_id} \
--header 'Authorization: Bearer <token>'const options = {method: 'DELETE', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.fastcac.com/v1/identities/nin_lookups/{nin_lookup_id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.fastcac.com/v1/identities/nin_lookups/{nin_lookup_id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.delete(url, headers=headers)
print(response.text)package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.fastcac.com/v1/identities/nin_lookups/{nin_lookup_id}"
req, _ := http.NewRequest("DELETE", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.fastcac.com/v1/identities/nin_lookups/{nin_lookup_id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "DELETE",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}{
"object": "nin_lookup",
"id": "ninl_4nuamB4dm2AKU1YazWm26A",
"nin": null,
"first_name": null,
"middle_name": null,
"last_name": null,
"gender": null,
"date_of_birth": null,
"phone": null,
"address": null,
"photo": null,
"nimc_data": null,
"amount_charged": "150.00",
"transaction_id": "wtx_2vvHWoOJ1eCJzncoueOrpn",
"created_at": "2026-11-25T13:54:46Z",
"erased_at": "2026-11-25T13:54:54Z"
}{
"error": {
"type": "invalid_request_error",
"code": "<string>",
"message": "<string>",
"param": "<string>",
"request_id": "<string>",
"details": {}
}
}{
"error": {
"type": "authentication_error",
"code": "api_key_missing",
"message": "Send your API key as `Authorization: Bearer <key>`.",
"param": null,
"request_id": "req_AvdaM2QnT18CWLHNzU4rnZzn"
}
}{
"error": {
"type": "permission_error",
"code": "live_mode_unavailable",
"message": "Live registrations are paused right now. Use a test key (fc_test_…) meanwhile.",
"param": null,
"request_id": "req_JYjyyc3wGhtxJbqoQs7pA7LL"
}
}{
"error": {
"type": "not_found_error",
"code": "resource_missing",
"message": "No such registration: reg_0000000000000000000000.",
"param": "id",
"request_id": "req_tq0X047uUzaFeinAWtD57309"
}
}{
"error": {
"type": "invalid_request_error",
"code": "<string>",
"message": "<string>",
"param": "<string>",
"request_id": "<string>",
"details": {}
}
}{
"error": {
"type": "invalid_request_error",
"code": "<string>",
"message": "<string>",
"param": "<string>",
"request_id": "<string>",
"details": {}
}
}Identities
Erase a NIN lookup
Erases the personal data in a NIN lookup you made in this mode: the NIN and NIMC’s record and photo. The
id, time and charge stay, erased_at is set, and reading it again returns that. Free, and safe to repeat.
Proprietors it already filled in keep their details; it can’t fill in another or supply a passport photo.
DELETE
/
identities
/
nin_lookups
/
{nin_lookup_id}
Erase a NIN lookup
curl --request DELETE \
--url https://api.fastcac.com/v1/identities/nin_lookups/{nin_lookup_id} \
--header 'Authorization: Bearer <token>'const options = {method: 'DELETE', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.fastcac.com/v1/identities/nin_lookups/{nin_lookup_id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.fastcac.com/v1/identities/nin_lookups/{nin_lookup_id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.delete(url, headers=headers)
print(response.text)package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.fastcac.com/v1/identities/nin_lookups/{nin_lookup_id}"
req, _ := http.NewRequest("DELETE", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.fastcac.com/v1/identities/nin_lookups/{nin_lookup_id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "DELETE",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}{
"object": "nin_lookup",
"id": "ninl_4nuamB4dm2AKU1YazWm26A",
"nin": null,
"first_name": null,
"middle_name": null,
"last_name": null,
"gender": null,
"date_of_birth": null,
"phone": null,
"address": null,
"photo": null,
"nimc_data": null,
"amount_charged": "150.00",
"transaction_id": "wtx_2vvHWoOJ1eCJzncoueOrpn",
"created_at": "2026-11-25T13:54:46Z",
"erased_at": "2026-11-25T13:54:54Z"
}{
"error": {
"type": "invalid_request_error",
"code": "<string>",
"message": "<string>",
"param": "<string>",
"request_id": "<string>",
"details": {}
}
}{
"error": {
"type": "authentication_error",
"code": "api_key_missing",
"message": "Send your API key as `Authorization: Bearer <key>`.",
"param": null,
"request_id": "req_AvdaM2QnT18CWLHNzU4rnZzn"
}
}{
"error": {
"type": "permission_error",
"code": "live_mode_unavailable",
"message": "Live registrations are paused right now. Use a test key (fc_test_…) meanwhile.",
"param": null,
"request_id": "req_JYjyyc3wGhtxJbqoQs7pA7LL"
}
}{
"error": {
"type": "not_found_error",
"code": "resource_missing",
"message": "No such registration: reg_0000000000000000000000.",
"param": "id",
"request_id": "req_tq0X047uUzaFeinAWtD57309"
}
}{
"error": {
"type": "invalid_request_error",
"code": "<string>",
"message": "<string>",
"param": "<string>",
"request_id": "<string>",
"details": {}
}
}{
"error": {
"type": "invalid_request_error",
"code": "<string>",
"message": "<string>",
"param": "<string>",
"request_id": "<string>",
"details": {}
}
}Authorizations
Response
Successful Response