Skip to main content
PATCH
curl

Overview

Moves a Business entity between ACTIVE, FLAGGED, and BLOCKED. See entity lifecycle for the full state machine.

When to use it

  • Block a sanctioned or confirmed-fraudulent business.
  • Flag a business pending manual review.
  • Unblock after remediation.
  • Propagate external signals from your own compliance systems.

Notes

  • Valid values: ACTIVE, FLAGGED, BLOCKED.
  • Pass an optional reason (up to 1000 characters) to record why the status changed. Didit keeps it on the status-change entry in the company’s Activity in the Business Console. It is recorded only when the status actually changes.
  • BLOCKED businesses have all new Business Verification (KYB) sessions auto-declined and all new transactions auto-declined, including when they appear as counterparty.
  • Emits business.status.updated with previous_status and status. The webhook does not carry reason.

Enforcement

Permissions

The primary secret and full-access API keys can always call this endpoint. A key with custom access needs Companies (businesses) write. A key limited to some workflows or to approved sessions can’t reach this endpoint. The Console’s roles and permissions decide what a team member can do in the Console. They are not evaluated for API key requests.

Authorizations

x-api-key
string
header
required

Your application's API key, from Developers -> API keys in the Business Console. The primary key has full access. A named key can be scoped: none, read or write per resource, limited to some workflows or to approved sessions, to a list of IP addresses, and to an expiry date. 401 means the key is wrong, revoked or expired; 403 means no key was sent, the key has no access to this resource or action, or the request came from an address outside its IP list; 404 on a session route means the session is outside the key's workflows or statuses. A key without media access receives image, video and PDF URLs as null, and a key without sessions write receives session links and tokens as null. See https://docs.didit.me/console/api-keys.

Headers

Idempotency-Key
string

Optional retry-safety key you choose for one operation, up to 255 characters (a UUID works). A request repeated with the same key, endpoint, query and body is answered with the first response, same status and same body, and runs and bills nothing a second time. The same key with another endpoint, query or body returns 409 idempotency_key_reused, and while the first request is still running, 409 idempotency_key_in_progress with Retry-After. A failed request (any 4xx or 5xx) is not stored, so you can send it again with the same key. Keys belong to your application, whether you call with an API key or an access token. See Retries and idempotency.

Required string length: 1 - 255

Path Parameters

vendor_data
string
required

Your unique identifier for the business (free-form string, NOT a UUID).

Body

application/json
status
enum<string>
required

New lifecycle status. BLOCKED also adds the vendor_data to the system blocklist.

Available options:
ACTIVE,
FLAGGED,
BLOCKED
reason
string | null

Why the status changed. Recorded on the status-change entry of the company's Activity in the Business Console, only when the status actually changes. Webhooks do not carry it.

Maximum string length: 1000

Response

Business status updated. Full business record returned.

Full business detail. Extends BusinessListItem with metadata and updated_at.

didit_internal_id
string<uuid>

Didit's stable internal UUID for this business.

vendor_data
string | null

Your unique identifier for this business (passed when creating sessions). This can be null when no vendor identifier was supplied.

display_name
string | null

Custom display name set by you

Official legal name from registry or manual entry

registration_number
string | null

Company registration or incorporation number

country_code
string | null

Country of incorporation (ISO 3166-1 alpha-2, e.g. GB, US).

effective_name
string | null

Best available name: display_name if set, otherwise legal_name

status
enum<string>

Lifecycle status of the business record (NOT a session status). ACTIVE is the default, FLAGGED marks it for manual attention, BLOCKED prevents new sessions for this vendor_data.

Available options:
ACTIVE,
FLAGGED,
BLOCKED
session_count
integer

Total number of verification sessions for this business

approved_count
integer

Number of approved sessions

declined_count
integer

Number of declined sessions

in_review_count
integer

Number of sessions in review

features
object

Aggregated per-feature status across all of this business's KYB sessions. Currently the only key is KYB (the registry company check status). Possible values: Approved, Declined, In Review, Not Finished, Resub Requested.

features_list
object[]

Same data as features, as an ordered array of {feature, status} objects.

last_session_at
string<date-time> | null

Timestamp of the most recent session

first_session_at
string<date-time> | null

Timestamp of the first session

last_activity_at
string<date-time> | null

Timestamp of the most recent activity (status change, session update, etc.)

tags
object[]

Tags assigned to this business

created_at
string<date-time>
metadata
object

Custom metadata JSON you attached to this business. Defaults to {}.

updated_at
string<date-time>
Last modified on November 1, 2026