Skip to main content

Update a registration

Use the PUT method to update the status of a registration — both the client_status (situation on your platform) and the analysis_status (manual analysis decision).

Feedback matters

Reporting the actual outcome via PUT is what keeps the quality of the recommendations high. Without that feedback, the models do not learn from the cases in your portfolio.

The endpoint accepts the two registration types:

/onboarding/natural_person/{external_id}
/onboarding/legal_person/{external_id}

The {external_id} is the id you sent in the POST.


PUT — update status

ENDPOINT
/onboarding/natural_person/EXTERNAL_ID
METHOD
PUT

The body accepts two mutually exclusive shapes: one for client_status, another for analysis_status.

Updates the customer's situation on your platform.

client_statusenumrequiredIn Natural Person accepts approved, reproved, fraud_blocked, default_blocked or cancelled. In Legal Person, only fraud_blocked, default_blocked or cancelled.event_datedatetimerequiredDate and time of the event, with time zone. Offset ending in :00/:30 or the Z suffix.
Fraud block
{
"client_status": "fraud_blocked",
"event_date": "2026-08-07T13:34:12-03:00"
}
Default block
{
"client_status": "default_blocked",
"event_date": "2026-08-07T13:34:12-03:00"
}
Cancellation by the customer
{
"client_status": "cancelled",
"event_date": "2026-08-07T13:34:12-03:00"
}

Request examples

import requests

BASE_URL = "https://api.sandbox.caas.qitech.app"
API_KEY = "YOUR_API_KEY"
EXTERNAL_ID = "12345678"

response = requests.put(
f"{BASE_URL}/onboarding/natural_person/{EXTERNAL_ID}",
json={
"client_status": "approved",
"event_date": "2026-08-07T13:34:12-03:00",
},
headers={"Authorization": API_KEY},
timeout=30,
)

response.raise_for_status()

Errors

StatusSituationHow to resolve
400Enum outside the accepted list.Check the accepted values for client_status and analysis_status.
400client_status without event_date.Send both together.
400Field not defined in the schema.The schema uses additionalProperties: false.
404Registration not found for your API Key.Check the external_id in the path.

Full list in HTTP Status.