Skip to main content

📄 Guide

Whether for routine operational checks, risk handling or treasury management, the three endpoints on this page maintain a company that has already been onboarded: query its details (query), freeze and unfreeze it (update-state), and configure low-balance alerts (balance-alert-set). All three locate the company by the organizationId returned on successful onboarding; for the onboarding and review flow, see Company onboarding and review.

Query company details

GET /open-api-corp/organization/v1/query Query an onboarded company’s basic details, funding-pool currencies and current status.

Request parameters

Response fields (data)

The company status is presented as one merged field: the life cycle overlaid with behavioral states. Whether the company can issue cards or spend comes down to whether it is ACTIVE. For the state machine semantics, see State machines and freezing.

Response example

Error codes

Freeze and unfreeze

POST /open-api-corp/organization/v1/update-restrictions Freeze or unfreeze a company by capability domain, with idempotent set semantics: the company’s behavioral state is a set — addRestrictions puts a capability-domain code into the set (freezing it) and removeRestrictions takes it out (unfreezing it), and repeating the same operation yields the same result.

The five capability-domain codes

Freezing applies per capability domain, and one call may carry several:
addRestrictions / removeRestrictions accept only the 5 open L1 capability-domain codes above; anything else (including KYC_FROZEN / TRANSFER_FROZEN, L2 fine-grained codes, and SUSPENDED / RESTRICTED) returns DAPI_PARAM_INVALID. Restricted states written by risk, regulatory or judicial processes cannot be lifted through this endpoint.

Request parameters

Request example: freeze (add behavioral states)

Request example: unfreeze (remove behavioral states)

Response example

An action endpoint: data is empty on success.
After a state change, DCS pushes the company status-change notification (for the event name, see the webhook event table in the API reference); its payload carries the addRestrictions / removeRestrictions of this operation.

Error codes

Low-balance alerts

POST /open-api-corp/fund/v1/balance-alert-set Set per-currency low-balance alerts on the company’s funding pools.
Full-replacement semantics: every call resets the entire alert configuration, so always send the complete list rather than an increment.

Request parameters

Request example

Response example

An action endpoint: data is empty on success.

Trigger behavior (LOW_BALANCE)

  • When a funding pool’s available balance falls below the threshold for its currency, DCS pushes the LOW_BALANCE webhook (the funding-pool low-balance alert).
  • Only the webhook fires by default; email is sent additionally only when emailSettings is configured.
  • The same alert fires once a day until the balance is topped back up.

Error codes

Next steps