Skip to content

Billing

On this page
  1. Endpoints

Your prepaid wallet, saved cards, current usage and invoices.

Billing belongs to your account, not to a workspace, so these endpoints take no X-Workspace-Slug header. Resources are billed to the owner of the workspace they run in, so your usage and invoices cover the workspaces you own.

Amounts are kept in US dollars. Fields ending in _cents are US cents and fields ending in _micros are millionths of a dollar (10,000 micros = 1 cent). Customers billed in Nigeria see and pay amounts in naira: display_currency and exchange_rate tell you how to convert, and fields ending in _minor are in the minor unit of that currency (kobo for NGN).

Every billing endpoint, including the wallet and saved card endpoints, needs a verified email address and returns 403 with action: verify_email otherwise.

If usage goes unpaid, your account becomes past_due and then suspended (see billing_status in Get your profile). Suspension powers off your VMs, databases, Kubernetes clusters and deployments. Paying what you owe makes the account active again, and everything suspension powered off is started again automatically within about a minute.

Endpoints

EndpointDescription
GET /v1/walletGet your wallet balance
GET /v1/wallet/entriesList wallet entries
GET /v1/wallet/transactionsList payment transactions
GET /v1/wallet/cardsList saved cards
DELETE /v1/wallet/cards/{uid}Remove a saved card
GET /v1/billing/summaryGet billing summary
GET /v1/invoicesList invoices
GET /v1/invoices/{uid}Get an invoice
GET /v1/invoices/{uid}/pdfDownload an invoice PDF