Change a test monitor's business
curl --request POST \
--url https://api.fastcac.com/v1/test_helpers/businesses/monitors/{monitor_id}/changes \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"status": "INACTIVE"
}
'const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({status: 'INACTIVE'})
};
fetch('https://api.fastcac.com/v1/test_helpers/businesses/monitors/{monitor_id}/changes', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.fastcac.com/v1/test_helpers/businesses/monitors/{monitor_id}/changes"
payload = { "status": "INACTIVE" }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.fastcac.com/v1/test_helpers/businesses/monitors/{monitor_id}/changes"
payload := strings.NewReader("{\n \"status\": \"INACTIVE\"\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))
}<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.fastcac.com/v1/test_helpers/businesses/monitors/{monitor_id}/changes",
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([
'status' => 'INACTIVE'
]),
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;
}{
"object": "business_monitor",
"id": "mon_5Rfxqm9UQ4xlFxXoJeFCaT",
"number": "7654321",
"type": "RC",
"type_label": "Company",
"name": "ADA FOODS LIMITED",
"status": "INACTIVE",
"active": false,
"external_id": "merchant-4471",
"state": "active",
"paid_through": "2026-11-27T15:16:04Z",
"last_checked_at": null,
"last_changed_at": "2026-10-28T15:16:05Z",
"amount_charged": null,
"created_at": "2026-10-28T15:16:04Z"
}{
"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_8r9FEwNmLuxQORZX5Qhvkd0q"
}
}{
"error": {
"type": "permission_error",
"code": "test_mode_only",
"message": "The test helper only works with a test key.",
"param": null,
"request_id": "req_gX65JwIgM2XO4SGn00mDcVUk"
}
}{
"error": {
"type": "not_found_error",
"code": "resource_missing",
"message": "No such registration: reg_0000000000000000000000.",
"param": "id",
"request_id": "req_PLJYvLLT2WjhIywrPjlhgIGv"
}
}{
"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": {}
}
}Test helpers
Change a test monitor's business
Test keys only: as if CAC’s register now lists this status or name. Sends the same events a real change does.
POST
/
test_helpers
/
businesses
/
monitors
/
{monitor_id}
/
changes
Change a test monitor's business
curl --request POST \
--url https://api.fastcac.com/v1/test_helpers/businesses/monitors/{monitor_id}/changes \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"status": "INACTIVE"
}
'const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({status: 'INACTIVE'})
};
fetch('https://api.fastcac.com/v1/test_helpers/businesses/monitors/{monitor_id}/changes', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.fastcac.com/v1/test_helpers/businesses/monitors/{monitor_id}/changes"
payload = { "status": "INACTIVE" }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.fastcac.com/v1/test_helpers/businesses/monitors/{monitor_id}/changes"
payload := strings.NewReader("{\n \"status\": \"INACTIVE\"\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))
}<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.fastcac.com/v1/test_helpers/businesses/monitors/{monitor_id}/changes",
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([
'status' => 'INACTIVE'
]),
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;
}{
"object": "business_monitor",
"id": "mon_5Rfxqm9UQ4xlFxXoJeFCaT",
"number": "7654321",
"type": "RC",
"type_label": "Company",
"name": "ADA FOODS LIMITED",
"status": "INACTIVE",
"active": false,
"external_id": "merchant-4471",
"state": "active",
"paid_through": "2026-11-27T15:16:04Z",
"last_checked_at": null,
"last_changed_at": "2026-10-28T15:16:05Z",
"amount_charged": null,
"created_at": "2026-10-28T15:16:04Z"
}{
"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_8r9FEwNmLuxQORZX5Qhvkd0q"
}
}{
"error": {
"type": "permission_error",
"code": "test_mode_only",
"message": "The test helper only works with a test key.",
"param": null,
"request_id": "req_gX65JwIgM2XO4SGn00mDcVUk"
}
}{
"error": {
"type": "not_found_error",
"code": "resource_missing",
"message": "No such registration: reg_0000000000000000000000.",
"param": "id",
"request_id": "req_PLJYvLLT2WjhIywrPjlhgIGv"
}
}{
"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
Your secret API key: fc_test_… in test mode, fc_live_… in live mode.
Path Parameters
Body
application/json
Response
Successful Response
mon_…
Available options:
BN, RC, IT, LP, LLP The registered name at the last check.
CAC's status at the last check: ACTIVE, INACTIVE, STRUCK OFF and so on.
True when status is ACTIVE.
paused: a 30-day renewal couldn't be charged; it resumes once your wallet can pay. deleted: you stopped it.
Available options:
active, paused, deleted When the current 30 days end; it renews then.
The last time CAC's register was read for it.
The last time its name or status changed.
Allowed value:
"business_monitor"On create only: what the first 30 days cost.