Fetch Case
curl --request GET \
--url https://sigmaprod.sabipay.com/api/v1/case-management/case/{id} \
--header 'apiKey: <api-key>' \
--header 'apiSecret: <api-key>'import requests
url = "https://sigmaprod.sabipay.com/api/v1/case-management/case/{id}"
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://sigmaprod.sabipay.com/api/v1/case-management/case/{id}', 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://sigmaprod.sabipay.com/api/v1/case-management/case/{id}",
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://sigmaprod.sabipay.com/api/v1/case-management/case/{id}"
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://sigmaprod.sabipay.com/api/v1/case-management/case/{id}")
.header("apiKey", "<api-key>")
.header("apiSecret", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://sigmaprod.sabipay.com/api/v1/case-management/case/{id}")
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": "Case fetched successfully",
"data": {
"_id": "6801c4f2a3b7d8e9f1c2d3e4",
"businessProfile": "63f0a1b2c3d4e5f6a7b8c9d0",
"module": "transaction-monitoring",
"record": {
"id": "64f1a2b3c4d5e6f7a8b9c0d1",
"type": "transaction",
"name": "TXN-00123456"
},
"title": "High-value transaction requiring review",
"description": "A transfer of ₦4,500,000 was flagged by the fraud scoring engine with a score of 87. The customer has no prior history of transactions of this size. Requires manual review before release.",
"priority": "high",
"status": "in progress",
"assignedTo": {
"_id": "64a9f1c2d3e4b5a6c7d8e9f0",
"firstName": "Amaka",
"lastName": "Osei"
},
"assignedBy": {
"_id": "63e8b0a1c2d3f4e5a6b7c8d9",
"firstName": "Tunde",
"lastName": "Adeyemi"
},
"dueDate": "2026-04-25T23:59:59.000Z",
"tasks": [
{
"_id": "6801c4f2a3b7d8e9f1c2d3e5",
"text": "Review customer transaction history for the last 90 days",
"status": true
},
{
"_id": "6801c4f2a3b7d8e9f1c2d3e6",
"text": "Verify source of funds documentation",
"status": false
},
{
"_id": "6801c4f2a3b7d8e9f1c2d3e7",
"text": "Check customer against internal watchlist",
"status": false
},
{
"_id": "6801c4f2a3b7d8e9f1c2d3e8",
"text": "Record final decision with supporting notes",
"status": false
}
],
"comments": [
{
"_id": "6801e5b3c4d9f0a1b2c3d4e5",
"text": "Reviewed last 90 days of transaction history — no comparable transfers. Customer profile shows consistent low-value retail transactions. Flagging for source of funds verification.",
"user": {
"_id": "64a9f1c2d3e4b5a6c7d8e9f0",
"firstName": "Amaka",
"lastName": "Osei"
},
"attachments": [],
"taggedUsers": [],
"date": "2026-04-22T11:30:00.000Z"
}
],
"attachments": [],
"isEscalated": false,
"log": [
{
"_id": "6801c4f2a3b7d8e9f1c2d3e9",
"status": "open",
"message": "Case created",
"user": {
"_id": "63e8b0a1c2d3f4e5a6b7c8d9",
"firstName": "Tunde",
"lastName": "Adeyemi"
},
"date": "2026-04-22T09:15:42.000Z"
},
{
"_id": "6801d0e1f2a3b4c5d6e7f8a9",
"status": "in progress",
"message": "Status updated to in progress",
"user": {
"_id": "64a9f1c2d3e4b5a6c7d8e9f0",
"firstName": "Amaka",
"lastName": "Osei"
},
"date": "2026-04-22T10:00:00.000Z"
}
],
"createdAt": "2026-04-22T09:15:42.000Z",
"updatedAt": "2026-04-22T11:30:00.000Z"
}
}{
"message": "Invalid API credentials"
}{
"message": "Case not found"
}Case Management
Fetch Case
GET api/v1/case-management/case/{id}
Fetch Case
curl --request GET \
--url https://sigmaprod.sabipay.com/api/v1/case-management/case/{id} \
--header 'apiKey: <api-key>' \
--header 'apiSecret: <api-key>'import requests
url = "https://sigmaprod.sabipay.com/api/v1/case-management/case/{id}"
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://sigmaprod.sabipay.com/api/v1/case-management/case/{id}', 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://sigmaprod.sabipay.com/api/v1/case-management/case/{id}",
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://sigmaprod.sabipay.com/api/v1/case-management/case/{id}"
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://sigmaprod.sabipay.com/api/v1/case-management/case/{id}")
.header("apiKey", "<api-key>")
.header("apiSecret", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://sigmaprod.sabipay.com/api/v1/case-management/case/{id}")
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": "Case fetched successfully",
"data": {
"_id": "6801c4f2a3b7d8e9f1c2d3e4",
"businessProfile": "63f0a1b2c3d4e5f6a7b8c9d0",
"module": "transaction-monitoring",
"record": {
"id": "64f1a2b3c4d5e6f7a8b9c0d1",
"type": "transaction",
"name": "TXN-00123456"
},
"title": "High-value transaction requiring review",
"description": "A transfer of ₦4,500,000 was flagged by the fraud scoring engine with a score of 87. The customer has no prior history of transactions of this size. Requires manual review before release.",
"priority": "high",
"status": "in progress",
"assignedTo": {
"_id": "64a9f1c2d3e4b5a6c7d8e9f0",
"firstName": "Amaka",
"lastName": "Osei"
},
"assignedBy": {
"_id": "63e8b0a1c2d3f4e5a6b7c8d9",
"firstName": "Tunde",
"lastName": "Adeyemi"
},
"dueDate": "2026-04-25T23:59:59.000Z",
"tasks": [
{
"_id": "6801c4f2a3b7d8e9f1c2d3e5",
"text": "Review customer transaction history for the last 90 days",
"status": true
},
{
"_id": "6801c4f2a3b7d8e9f1c2d3e6",
"text": "Verify source of funds documentation",
"status": false
},
{
"_id": "6801c4f2a3b7d8e9f1c2d3e7",
"text": "Check customer against internal watchlist",
"status": false
},
{
"_id": "6801c4f2a3b7d8e9f1c2d3e8",
"text": "Record final decision with supporting notes",
"status": false
}
],
"comments": [
{
"_id": "6801e5b3c4d9f0a1b2c3d4e5",
"text": "Reviewed last 90 days of transaction history — no comparable transfers. Customer profile shows consistent low-value retail transactions. Flagging for source of funds verification.",
"user": {
"_id": "64a9f1c2d3e4b5a6c7d8e9f0",
"firstName": "Amaka",
"lastName": "Osei"
},
"attachments": [],
"taggedUsers": [],
"date": "2026-04-22T11:30:00.000Z"
}
],
"attachments": [],
"isEscalated": false,
"log": [
{
"_id": "6801c4f2a3b7d8e9f1c2d3e9",
"status": "open",
"message": "Case created",
"user": {
"_id": "63e8b0a1c2d3f4e5a6b7c8d9",
"firstName": "Tunde",
"lastName": "Adeyemi"
},
"date": "2026-04-22T09:15:42.000Z"
},
{
"_id": "6801d0e1f2a3b4c5d6e7f8a9",
"status": "in progress",
"message": "Status updated to in progress",
"user": {
"_id": "64a9f1c2d3e4b5a6c7d8e9f0",
"firstName": "Amaka",
"lastName": "Osei"
},
"date": "2026-04-22T10:00:00.000Z"
}
],
"createdAt": "2026-04-22T09:15:42.000Z",
"updatedAt": "2026-04-22T11:30:00.000Z"
}
}{
"message": "Invalid API credentials"
}{
"message": "Case not found"
}This endpoint returns the full case record including all comments, task statuses, file attachments, and the complete activity log. Use this to display the case detail view or to audit the full history of an investigation.
⌘I