POST /v1/objects

Last updated Aug 12, 2026View as MarkdownAgent setup

Mutable state, upserted. v1 has one type, subscription, the source of MRR. Server keys (sk_live_) only.

{
  "type": "subscription",
  "id": "sub_9",
  "status": "active",
  "mrr": 4900,
  "currency": "usd",
  "at": "2026-07-18T09:14:02Z"
}
FieldRequiredNotes
type"subscription"
idThe subscription's stable id in your biller. Upsert key.
statusFree string, up to 128 characters. Only "active" counts toward MRR.
mrrInteger minor units, monthly-normalized by you (annual ÷ 12).
currencyISO-4217.
atVersion timestamp for last-write-wins. Defaults to arrival time.

Semantics: send the full current state every time; the latest at wins. Sending the same update twice is harmless: MRR reads the latest version of each subscription, so replays and races cannot double-count.

MRR = sum of mrr over the latest version of each subscription where status = "active", per currency.