Radicas Docs
API referenceGenerated

Set Overage

PUT
/billing/overage

The spend-cap switch: opt in to metered overage billing (keep ingesting past the cap, billed via the graduated price) or back out to the default hard cap. Opting in clears a quota block immediately.

Authorization

HTTPBearer
AuthorizationBearer <token>

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

curl -X PUT "https://example.com/billing/overage" \  -H "Content-Type: application/json" \  -d '{    "enabled": true  }'
{  "status": "string",  "plan_id": "string",  "current_period_end": "2019-08-24T14:15:22Z",  "trial": true,  "active": true,  "access_override": "string",  "credit_events": 0,  "features": [    "string"  ],  "overage_opt_in": true,  "addon_quantity": 0}
{  "detail": [    {      "loc": [        "string"      ],      "msg": "string",      "type": "string",      "input": null,      "ctx": {}    }  ]}