Budgets
Cap a customer's spend, hard or soft
A budget caps a customer’s spend over a reset period. HARD blocks requests once the limit is exhausted (returning 402); SOFT alerts but keeps serving. A customer has one budget at a time; a second create returns 409.
Path: /v1/customers/{customer_id}/budgets.
Fields
Set a budget
cURL
When a HARD budget is exhausted, that customer’s requests return 402 budget_exceeded until the next reset period. Raise the limit or switch to SOFT to resume serving.