Use this endpoint to create a spending limit with scopes array. Limits are created in DRAFT status. Use the activate endpoint to start enforcement. After creation, limitType and currency cannot be changed.
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.
Input for creating a new spending limit.
Human-readable limit name.
1 - 255Type of limit (cannot be changed after creation).
DAILY, MONTHLY, PER_TRANSACTION Maximum amount in cents.
x >= 1ISO 4217 currency code (cannot be changed after creation).
3At least one scope is required.
1 - 100 elements1000Indicates that the limit was successfully created in DRAFT status.
Spending limit.
Unique identifier for the limit.
Human-readable limit name.
255Limit purpose and usage explanation.
1000Type of limit (immutable after creation).
DAILY, MONTHLY, PER_TRANSACTION Maximum amount in cents.
x >= 1ISO 4217 currency code (immutable after creation).
3Scopes that determine which transactions this limit applies to.
Limit lifecycle status.
DRAFT, ACTIVE, INACTIVE, DELETED When the limit counter resets (DAILY/MONTHLY only). 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).