curl --request PATCH \
--url https://api.uat.frankie.one/v2/organizations/{entityId}/monitor \
--header 'Content-Type: application/json' \
--header 'X-Frankie-CustomerID: <x-frankie-customerid>' \
--header 'api_key: <api-key>' \
--data '
{
"comment": {
"text": "Update after speaking to customer over the phone directly.",
"entityId": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
}
}
'import requests
url = "https://api.uat.frankie.one/v2/organizations/{entityId}/monitor"
payload = { "comment": {
"text": "Update after speaking to customer over the phone directly.",
"entityId": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
} }
headers = {
"api_key": "<api-key>",
"X-Frankie-CustomerID": "<x-frankie-customerid>",
"Content-Type": "application/json"
}
response = requests.patch(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PATCH',
headers: {
api_key: '<api-key>',
'X-Frankie-CustomerID': '<x-frankie-customerid>',
'Content-Type': 'application/json'
},
body: JSON.stringify({
comment: {
text: 'Update after speaking to customer over the phone directly.',
entityId: '3fa85f64-5717-4562-b3fc-2c963f66afa6'
}
})
};
fetch('https://api.uat.frankie.one/v2/organizations/{entityId}/monitor', 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://api.uat.frankie.one/v2/organizations/{entityId}/monitor",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PATCH",
CURLOPT_POSTFIELDS => json_encode([
'comment' => [
'text' => 'Update after speaking to customer over the phone directly.',
'entityId' => '3fa85f64-5717-4562-b3fc-2c963f66afa6'
]
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"X-Frankie-CustomerID: <x-frankie-customerid>",
"api_key: <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://api.uat.frankie.one/v2/organizations/{entityId}/monitor"
payload := strings.NewReader("{\n \"comment\": {\n \"text\": \"Update after speaking to customer over the phone directly.\",\n \"entityId\": \"3fa85f64-5717-4562-b3fc-2c963f66afa6\"\n }\n}")
req, _ := http.NewRequest("PATCH", url, payload)
req.Header.Add("api_key", "<api-key>")
req.Header.Add("X-Frankie-CustomerID", "<x-frankie-customerid>")
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.patch("https://api.uat.frankie.one/v2/organizations/{entityId}/monitor")
.header("api_key", "<api-key>")
.header("X-Frankie-CustomerID", "<x-frankie-customerid>")
.header("Content-Type", "application/json")
.body("{\n \"comment\": {\n \"text\": \"Update after speaking to customer over the phone directly.\",\n \"entityId\": \"3fa85f64-5717-4562-b3fc-2c963f66afa6\"\n }\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.uat.frankie.one/v2/organizations/{entityId}/monitor")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Patch.new(url)
request["api_key"] = '<api-key>'
request["X-Frankie-CustomerID"] = '<x-frankie-customerid>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"comment\": {\n \"text\": \"Update after speaking to customer over the phone directly.\",\n \"entityId\": \"3fa85f64-5717-4562-b3fc-2c963f66afa6\"\n }\n}"
response = http.request(request)
puts response.read_body{
"requestId": "01HN9XHZN6MGXM9JXG50K59Q85",
"monitoring": {
"AML": {
"subscriptions": [
{
"serviceName": "<string>",
"serviceProfileId": "<string>",
"status": "ENABLED",
"enabledAt": "2023-11-07T05:31:56Z",
"enabledRequestId": "<string>",
"enabledBy": "<string>",
"disabledAt": "2023-11-07T05:31:56Z",
"disabledRequestId": "<string>",
"disabledBy": "<string>",
"workflows": [
{
"workflowName": "<string>",
"workflowId": "<string>",
"lifecyclePhase": "OTHER"
}
]
}
],
"providers": [
"<string>"
],
"status": "ENABLED"
},
"CONTINUOUS_KYB_AU": {
"subscriptions": [
{
"serviceName": "<string>",
"serviceProfileId": "<string>",
"status": "ENABLED",
"enabledAt": "2023-11-07T05:31:56Z",
"enabledRequestId": "<string>",
"enabledBy": "<string>",
"disabledAt": "2023-11-07T05:31:56Z",
"disabledRequestId": "<string>",
"disabledBy": "<string>",
"workflows": [
{
"workflowName": "<string>",
"workflowId": "<string>",
"lifecyclePhase": "OTHER"
}
]
}
],
"providers": [
"<string>"
],
"status": "ENABLED"
}
}
}Turn on/off monitoring for a given organization
Toggle monitoring on or off for a given organization e.g. AML or Continuous KYB AU monitoring. Use this endpoint to either:
- Enable monitoring - System will start monitoring the organization for potential changes.
- Disable monitoring - System will no longer monitor the organization for new potential matches and will no longer send alerts.
The endpoint will effectively manage the monitoring status of the organization.
Having monitoring status of a type enabled means that the organization is being monitored for that type.
If the organization has several services under the entity, the endpoint will manage the subscription status of the organization for each service for the types requested.
Request:
The request object contains the entityId and list of monitoring that are about to toggle.
Also, the request body contains comment to be added to audit logs
Response:
The response object contains the requestId and the subscriptions that associated with the organization.
The subscriptions object contains the type of monitoring and the details of the subscriptions.
The details of the subscriptions includes:
- service name
- service profile ID
- status of the subscription
- the workflows that will be executed by the type for the service profile.
Continuous KYB AU:
CONTINUOUS_KYB_AU monitors Australian organisations through CreditorWatch notifications, including credit score changes.
It requires the customer to have Continuous KYB enabled. If the customer does not, a request that includes CONTINUOUS_KYB_AU returns 403 with error code VAL-403.
The CONTINUOUS_KYB_AU block in the response is only present when the customer has Continuous KYB enabled and the request included CONTINUOUS_KYB_AU.
curl --request PATCH \
--url https://api.uat.frankie.one/v2/organizations/{entityId}/monitor \
--header 'Content-Type: application/json' \
--header 'X-Frankie-CustomerID: <x-frankie-customerid>' \
--header 'api_key: <api-key>' \
--data '
{
"comment": {
"text": "Update after speaking to customer over the phone directly.",
"entityId": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
}
}
'import requests
url = "https://api.uat.frankie.one/v2/organizations/{entityId}/monitor"
payload = { "comment": {
"text": "Update after speaking to customer over the phone directly.",
"entityId": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
} }
headers = {
"api_key": "<api-key>",
"X-Frankie-CustomerID": "<x-frankie-customerid>",
"Content-Type": "application/json"
}
response = requests.patch(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PATCH',
headers: {
api_key: '<api-key>',
'X-Frankie-CustomerID': '<x-frankie-customerid>',
'Content-Type': 'application/json'
},
body: JSON.stringify({
comment: {
text: 'Update after speaking to customer over the phone directly.',
entityId: '3fa85f64-5717-4562-b3fc-2c963f66afa6'
}
})
};
fetch('https://api.uat.frankie.one/v2/organizations/{entityId}/monitor', 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://api.uat.frankie.one/v2/organizations/{entityId}/monitor",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PATCH",
CURLOPT_POSTFIELDS => json_encode([
'comment' => [
'text' => 'Update after speaking to customer over the phone directly.',
'entityId' => '3fa85f64-5717-4562-b3fc-2c963f66afa6'
]
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"X-Frankie-CustomerID: <x-frankie-customerid>",
"api_key: <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://api.uat.frankie.one/v2/organizations/{entityId}/monitor"
payload := strings.NewReader("{\n \"comment\": {\n \"text\": \"Update after speaking to customer over the phone directly.\",\n \"entityId\": \"3fa85f64-5717-4562-b3fc-2c963f66afa6\"\n }\n}")
req, _ := http.NewRequest("PATCH", url, payload)
req.Header.Add("api_key", "<api-key>")
req.Header.Add("X-Frankie-CustomerID", "<x-frankie-customerid>")
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.patch("https://api.uat.frankie.one/v2/organizations/{entityId}/monitor")
.header("api_key", "<api-key>")
.header("X-Frankie-CustomerID", "<x-frankie-customerid>")
.header("Content-Type", "application/json")
.body("{\n \"comment\": {\n \"text\": \"Update after speaking to customer over the phone directly.\",\n \"entityId\": \"3fa85f64-5717-4562-b3fc-2c963f66afa6\"\n }\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.uat.frankie.one/v2/organizations/{entityId}/monitor")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Patch.new(url)
request["api_key"] = '<api-key>'
request["X-Frankie-CustomerID"] = '<x-frankie-customerid>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"comment\": {\n \"text\": \"Update after speaking to customer over the phone directly.\",\n \"entityId\": \"3fa85f64-5717-4562-b3fc-2c963f66afa6\"\n }\n}"
response = http.request(request)
puts response.read_body{
"requestId": "01HN9XHZN6MGXM9JXG50K59Q85",
"monitoring": {
"AML": {
"subscriptions": [
{
"serviceName": "<string>",
"serviceProfileId": "<string>",
"status": "ENABLED",
"enabledAt": "2023-11-07T05:31:56Z",
"enabledRequestId": "<string>",
"enabledBy": "<string>",
"disabledAt": "2023-11-07T05:31:56Z",
"disabledRequestId": "<string>",
"disabledBy": "<string>",
"workflows": [
{
"workflowName": "<string>",
"workflowId": "<string>",
"lifecyclePhase": "OTHER"
}
]
}
],
"providers": [
"<string>"
],
"status": "ENABLED"
},
"CONTINUOUS_KYB_AU": {
"subscriptions": [
{
"serviceName": "<string>",
"serviceProfileId": "<string>",
"status": "ENABLED",
"enabledAt": "2023-11-07T05:31:56Z",
"enabledRequestId": "<string>",
"enabledBy": "<string>",
"disabledAt": "2023-11-07T05:31:56Z",
"disabledRequestId": "<string>",
"disabledBy": "<string>",
"workflows": [
{
"workflowName": "<string>",
"workflowId": "<string>",
"lifecyclePhase": "OTHER"
}
]
}
],
"providers": [
"<string>"
],
"status": "ENABLED"
}
}
}Headers
Open string that can be used to define the "channel" the request comes in from. It can potentially be used in routing and risk calculations upon request. Default values that can be used are: api portal smartui Any alphanumeric string is supported though. Anything over 64 characters will be truncated.
Query Parameters
The type of ongoing monitoring to be enabled/disabled for the given organization. Exclude this parameter to set the monitoring status for all types.
Specifies the type of service profile subscription for an organisation. Contains every Subscription-Type value plus the subscription types that apply to organisations only.
AML: Anti-money laundering monitoring.ACTIVITY: Activity monitoring.CONTINUOUS_KYB_AU: Continuous KYB for Australian organisations (CreditorWatch notifications, including credit score changes). Requires the customer to have Continuous KYB enabled.
AML, ACTIVITY, CONTINUOUS_KYB_AU Was this page helpful?