Update approval thresholds

PATCH/api/v1/ap-approval/thresholds

Update amount thresholds and/or escalation timeout without re-provisioning. Only provided fields are changed; the rest retain their current values.

Operation ID: update_thresholds_api_v1_ap_approval_thresholds_patch·View as markdown·OpenAPI slice

Authentication

Bearer token authentication. Pass your DayZero API token in the Authorization header and the target business UUID in x-business-id.

Request body

auto_approve_max_centsinteger

Max bill amount (cents) for auto-approval. Must be less than ops threshold.

ops_approve_max_centsinteger

Max bill amount (cents) for ops-tier approval. Must be greater than auto threshold.

escalation_hoursinteger

Hours before a pending approval automatically escalates to the next tier. Applies to ops and advisor gates. Set to null to use per-gate defaults.

Responses

200Successful Response

successboolean
messagestring
codestring
dataUpdateThresholdsResponse

401Unauthorized - Authentication required

403Forbidden - Insufficient permissions

404Not Found - Resource does not exist

422Validation Error

detailarray · ValidationErrorValidationError
5 fields
locarray · string | integerrequired
msgstringrequired
typestringrequired
inputobject
ctxobject