Billing
1 endpoints in this family.
See what this month will cost
GET/api/v1/billing/summary
Returns this month's bill so far for your account: your plan, the WhatsApp numbers connected against those included, the messages included and used, the media storage used, and the estimated total.
A connected number is an active, non-test WhatsApp number of any of your clients. Messages are counted across the account: every message received or sent, templates included, test channels excluded. Beyond the allowance, a plan either bills each started block of eventsPerOverageUnit messages, up to the overage cap you set (capCents), or blocks sends until the month ends (blocking, error quota_exceeded).
The total is an estimate before tax; the invoice is the reference. Meta's messaging fees are never included: your clients pay them to Meta directly.
Response
This month's plan, numbers, messages, media and estimated total.
data.planobjectYour plan:
key,name,nameEn.nullwhen no plan applies.data.numbersobjectConnected numbers:
connected,included(null= no limit),extra(billed),priceCents(per extra number per month).data.messagesobjectMessages:
allowance(null= no quota),used,overageUnits(billed blocks),overagePriceCents,eventsPerOverageUnit,blocking,capCents(your overage cap),ceiling(where sends stop).data.mediaobjectMedia storage:
usedMb,includedMb(null= no quota),extraGb(billed),priceCents(per extra GB per month).data.basePriceCentsintegerThe fixed monthly price, in cents.
nullfor a custom plan.data.estimatedTotalCentsintegerThe estimated total so far, in cents, before tax.
data.currencystringISO 4217 currency code.
data.periodEndstringWhen the month ends (UTC, ISO 8601): the allowance resets and the invoice is issued.
curl https://nodium.io/api/v1/billing/summary \ -H "Authorization: Bearer $NODIUM_KEY"{ "data": { "plan": {}, "numbers": {}, "messages": {}, "media": {}, "basePriceCents": 0, "estimatedTotalCents": 0, "currency": "EUR", "periodEnd": "…" }}