Docs menu

API reference

billing.get

See what the Account bought

GET/api/v1/billing

Needs the billing:read permission. As an MCP tool it is named billing.get.

Details

Every Site is one purchase (ADR 0035). Whether the Account's free Blog Kit Site is used, its Site credits (Kits paid for or given by WoFlare, no Site built from them yet), and for each Site: what it has, until when its paid items' updates are included or renewed, what a year's renewal costs and the renewal's state. Also the room for people and Projects (one each per Site, built or paid for) and how much is used, every catalog item with its price per Site and renewal price, and whether this person may buy. Never a card, an invoice or a Stripe id.

Input

Nothing to send.

Output

FieldTypeNotes
freeSiteKitrequiredstring
freeSiteUsedrequiredboolean
boughtrequiredboolean
creditsrequiredlist of object
credits.kitrequiredstring
credits.namerequiredstring
credits.countrequiredintegerfrom 0 to 9007199254740991
credits.grantedrequiredintegerfrom 0 to 9007199254740991
sitesrequiredlist of object
sites.siteIdrequiredstring
sites.namerequiredstring
sites.itemsrequiredlist of string
sites.updatesUntilrequiredinteger or null
sites.updatesCurrentrequiredboolean
sites.renewalCentsrequiredintegerfrom 0 to 9007199254740991
sites.renewalrequiredobject or null
limitsrequiredobject
limits.membersrequiredintegerfrom 0 to 9007199254740991
limits.projectsrequiredintegerfrom 0 to 9007199254740991
usagerequiredobject
usage.sitesrequiredintegerfrom 0 to 9007199254740991
usage.membersrequiredintegerfrom 0 to 9007199254740991
usage.projectsrequiredintegerfrom 0 to 9007199254740991
itemsrequiredlist of object
items.idrequiredstring
items.kindrequired"kit" | "theme" | "addon" | "bundle"
items.namerequiredstring
items.summaryrequiredstring
items.priceUsdrequirednumberfrom 0 to any
items.renewalUsdrequirednumberfrom 0 to any
items.statusrequired"available" | "soon"
items.fitsrequiredlist of string
items.includesrequiredlist of string
canManagerequiredboolean
readyrequiredboolean

All Operations