GET
/organization/spend_limitGet the organization spend limit
Retrieves the hard spend limit configured for the organization. Use this operation to check the limit amount, currency, evaluation interval, and enforcement state.
200Returns the organization's hard spend limit, including its amount in cents, currency, evaluation interval, and enforcement state.
objectstringrequired
The object type, which is always `organization.spend_limit`.
threshold_amountintegerrequired
The hard spend limit amount, in cents.
currencystringrequired
The currency for the threshold amount. Currently, only `USD` is supported.
intervalstringrequired
The time interval for evaluating spend against the threshold. Currently, only `month` is supported.
enforcementobjectrequired
The current enforcement state of the hard spend limit.
403Returned when the caller does not have permission to perform this operation.
errorobjectrequired
Details about the permission error.
404Returned when the organization does not have a hard spend limit.
errorobjectrequired
Error handling
A 403 is returned when the authenticated user does not have permission to manage the organization's hard spend limit. A 404 is returned when the organization has no configured hard spend limit; check the organization.spend_limit resource.