The newest pack overage bought, or null
const url = 'https://beta-api.plune.ai/v1/settings/ai/credits/overage/notice';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://beta-api.plune.ai/v1/settings/ai/credits/overage/notice \ --header 'Authorization: Bearer <token>'#1427 (D12, frame 10): what Settings → AI shows after an automatic purchase — pending (being charged, or a Monopay invoice to pay at payUrl), paid, or failed (nothing charged). An owner or a member reads it; a reader gets 403.
Authorizations
Section titled “Authorizations ”Responses
Section titled “ Responses ”The notice
object
object
pending: asked of the provider, not paid yet; paid: its credits granted; failed: nothing was charged.
Bought by overage (D12), not by a click.
What Monopay or LiqPay charges, in kopiyky: $80 × monobank’s selling rate of that day (D9). null for Paddle, or before the amount is fixed.
The page to pay it on while it is pending and its link lives (24 hours) — a checkout, or a Monopay overage invoice; else null.
12 months from paidAt; null until paid.
Example
{ "notice": { "id": "pack-1", "provider": "monopay", "status": "paid", "auto": true, "credits": 1000, "usdCents": 8000, "uahKopiyky": 331000, "payUrl": null, "createdAt": "2026-09-16T09:12:04.151Z", "paidAt": "2026-09-16T09:12:04.151Z", "validUntil": "2027-09-16T09:12:04.151Z" }}No / invalid token or session
A reader asked
object
Example
{ "error": "AI settings are not visible to a reader"}Rate-limited: the per-route throttle, or the per-minute request limit of the plan an API token counts by (#1442; the body names the plan, #2092). Retry-After carries the seconds until the window rolls over.
object
Example generated
{ "error": "example"}Headers
Section titled “Headers ”Seconds until the window rolls over
This server keeps no credits ledger
object
Example
{ "error": "AI platform not configured — contact your operator"}