Activate a Limit
Use this endpoint to activate a spending limit. Activates the limit for enforcement in validations.
Documentation Index
Fetch the complete documentation index at: https://docs.lerian.studio/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
API Key authentication. Used by single-tenant deployments (MULTI_TENANT_ENABLED=false). Sent on every /v1/* request.
Headers
The type of media of the resource. Must be application/json.
The API Key for authentication. This header is required for all endpoints except health checks.
A unique identifier used to trace and track each request.
Path Parameters
The unique identifier of the limit that you want to retrieve, update or delete.
Response
Indicates that the limit was successfully activated.
Spending limit.
Unique identifier for the limit.
Human-readable limit name.
255Limit purpose and usage explanation.
1000Type of limit (immutable after creation).
DAILY, WEEKLY, MONTHLY, CUSTOM, PER_TRANSACTION Maximum decimal amount.
^(?:[1-9]\d*(?:\.\d{1,2})?|0\.(?:0[1-9]|[1-9]\d))$"1000.00"
ISO 4217 currency code (immutable after creation).
3Scopes that determine which transactions this limit applies to.
Limit lifecycle status.
DRAFT, ACTIVE, INACTIVE, DELETED Start of the daily active time window in HH:mm format. Omitted when the limit is active all day.
^([01]\d|2[0-3]):[0-5]\d$"09:00"
End of the daily active time window in HH:mm format. Omitted when the limit is active all day.
^([01]\d|2[0-3]):[0-5]\d$"17:00"
Start date for CUSTOM limits.
End date for CUSTOM limits.
When the limit counter resets. Null for PER_TRANSACTION limits.
When the limit was created.
When the limit was last modified.
When the limit was deleted (null if not deleted).

