Usage

Account billing snapshot (plan, cycle, balance, caps, status)

Changed on

The billing "wallet/statement" view: current plan, billing cycle, accrued balance + remaining credits this period, spend caps, and payment / access status. This is the billing half of the legacy /v1/usage-stats snapshot. The per-product consumption half is metering and lives on GET /v1/usage.

Accounts on usage-based billing get a populated balance; legacy Stripe accounts get balance: null plus a deprecated legacy.limits block and, when payment-blocked, status.openInvoiceUrl / status.declineReason.

get/v1/billing

Request

  • Base URL: https://zernio.com/api
  • URL: https://zernio.com/api/v1/billing
  • Auth: HTTP bearer

Response

Billing snapshot

billingSystem'metronome' | 'stripe' | 'shopify'
shopifyShopDomainstring nullable

myshopify.com domain owning the subscription; present only when billingSystem is shopify.

Changes

    • warning

      added the new account enum value to the / response property for the response status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status