Retrieve a business
GET
/v1/businesses/{id}Requires an API client bearer token.
Fetches one business. Another programme's business reads as absent (404). An API client names its acting person in X-Rigid-Acting-Person (400 acting_person_required without it); the person needs an active membership of the business, else 403 acting_person_not_permitted. Every read writes one business.read audit intent with the decision. While the `business-cards` release flag is off for the caller's mode this route answers 404 to every authenticated, well-formed request, as if absent.
Parameters
Path parameters
| Name | Required | Description |
|---|---|---|
| id | required |
Header parameters
| Name | Required | Description |
|---|---|---|
| X-Rigid-Acting-Person | optional |
Example
curl https://api.rigid.fi/v1/businesses/{id} \
-H "Authorization: Bearer $RIGID_API_TOKEN"Responses
200Retrieve a business — the result.
idstring (uuid)required
programme_idstring (uuid)required
mode"test" | "live"required
legal_namestringrequired
trading_namestring | nullrequired
legal_form"company" | "partnership" | "sole_trader" | "trust" | "foundation" | "other"required
registration_countrystringrequired
registration_numberstring | nullrequired
status"active" | "disabled" | "closed"required
spend_enabledbooleanrequired
spend_enabled_basisone ofrequired
+ show properties− hide properties
One of
Option 1
{
"type": "string",
"enum": [
"test_mode",
"customer_attested"
]
}Option 2
{
"type": "null"
}Option 3
{
"type": "null"
}spend_enabled_atstring (date-time) | nullrequired
funding_account_idstring | nullrequired
funding_currencystring | nullrequired
created_atstring (date-time)required
disabled_atstring (date-time) | nullrequired
closed_atstring (date-time) | nullrequired
400Validation error
typestringrequired
titlestringrequired
statusintegerrequired
detailstring
instancestring
401Authentication required
typestringrequired
titlestringrequired
statusintegerrequired
detailstring
instancestring
403Forbidden
typestringrequired
titlestringrequired
statusintegerrequired
detailstring
instancestring
404Business not found, or the business routes are not released
typestringrequired
titlestringrequired
statusintegerrequired
detailstring
instancestring
500Internal server error
typestringrequired
titlestringrequired
statusintegerrequired
detailstring
instancestring