billing

Update the monthly spend cap

Sets accounts.spend_cap_cents_month within the 0–10,000,000 cent ceiling. Lowering the cap below current month-to-date spend blocks further paid runs until the next period.

patch/v1/billing/spend-cap

Request

  • Base URL: https://api.hyperresearch.ai
  • URL: https://api.hyperresearch.ai/v1/billing/spend-cap
  • Auth: one of:
    • HTTP bearer
    • API key in cookie hr_session

Request body

spend_cap_cents_monthinteger required

Response

Updated billing status

account_idstring required
planstring required
spend_cap_cents_monthinteger required
month_to_date_centsinteger required
remaining_cents_monthinteger required
exhaustedboolean required
period_startstring required
card_on_fileboolean required
stripe_mode'test' | 'live' required

Changes

No recorded changes to this operation across all 1 revision of this API.