v1
latestOpenAPI 3.1.02026-08-042453938.9 KBCustomers
Set customer spending cap
Set or update a per-customer spending cap. Supports DAILY_CHARGE_LIMIT, MONTHLY_CHARGE_LIMIT, and SINGLE_CHARGE_LIMIT. When autoBlock=true (default), charges are rejected at 100% of the cap. Requires a secret key (sk_*).
put/v1/customers/{id}/spending-cap
Path parameters
idstring required
Request body
Response
Spending cap set