List the velocity controls of a business
/v1/businesses/{id}/velocity-controlsRequires an API client bearer token.
Lists the velocity controls (windowed count and amount limits) of one scope: pass scope and scope_id together, or neither for the business itself. scope and scope_id name the business itself, one of its memberships or one of its card groups; any other scope_id is 400 scope_not_of_business. Every row carries its scope and scope_id; the list is not paginated. 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 call, allowed or refused, writes one audit intent with the API client, the asserted person, the business and the decision. While the `business-cards` release flag is off for the mode of the caller this route answers 404, as if absent.
Parameters
Path parameters
| Name | Required | Description |
|---|---|---|
| id | required |
Query parameters
| Name | Required | Description |
|---|---|---|
| scope | optional | |
| scope_id | optional |
Header parameters
| Name | Required | Description |
|---|---|---|
| X-Rigid-Acting-Person | optional |
Example
curl https://api.rigid.fi/v1/businesses/{id}/velocity-controls \
-H "Authorization: Bearer $RIGID_API_TOKEN"Responses
200List the velocity controls of a business — the page.
+ show properties− hide properties
400scope_query_incomplete; scope_not_of_business; acting_person_required
401Authentication required
403Forbidden
404Business not found, or the business routes are not released
500Internal server error