---
title: "Switch overage on or off"
method: POST
path: "/v1/billing/overage"
tags: ["Account"]
---

# Switch overage on or off

`POST /v1/billing/overage`

## Request

- Base URL: `https://api.puntersedge.online`
- URL: `https://api.puntersedge.online/v1/billing/overage`
- Auth: API key in header `X-API-Key`

Cost: 0 credits. Primary key only, commercial tiers only.

Switching it ON lets calls continue past your allowance, up to `ceiling`, and the excess
is invoiced at `rate_per_1000_cents` per 1,000 credits on your next invoice. Switching it
OFF restores the hard 402 at the allowance immediately — including mid-period, in which
case the overage already used is still invoiced, because it was already served.

## Headers

- `X-API-Key` string
- `X-RapidAPI-Proxy-Secret` string

## Request body

- OverageIn
  - `enabled` boolean, required: true lets this account run past its monthly allowance, up to the ceiling, and be invoiced for the excess. false restores the hard 402 at the allowance.

## Response `200`

Successful Response

- OverageOut
  - `enabled` boolean, required
  - `eligible` boolean, required
  - `rate_per_1000_cents` integer, required
  - `max_credits` integer, required
  - `ceiling` integer, required
  - `credits_over_this_period` integer, required
  - `estimated_cents_this_period` integer, required
  - `plan` string, required
  - `credits_limit` integer, required
  - `credits_used` integer, required

## Other responses

- `401`: Missing or invalid API key. Send `X-API-Key`. See https://puntersedge.online/developers/errors
- `402`: Monthly credit allowance exhausted for this plan. Upgrade at https://puntersedge.online/api/pricing
- `403`: Team keys cannot change it, and it is available on the commercial tiers only.
- `422`: Validation Error
- `429`: Rate limit exceeded for this plan. Honour the `Retry-After` header (seconds) before retrying. See https://puntersedge.online/developers/rate-limits
- `500`: Unexpected server error. Safe to retry with backoff.

---

[API](https://skmtc.dev/puntersedge/apis/puntersedge-odds-api.md) · [All operations](https://skmtc.dev/puntersedge/apis/puntersedge-odds-api/llms.txt) · [OpenAPI document](https://skmtc.dev/puntersedge/apis/puntersedge-odds-api/revisions/f35b6aab1946?raw)
