# billing-api ## Pages - [Billing API](https://docs.ezghcloud.com/billing-api/index.md) — An organization's billing details, payment methods, balance, invoices, and cost, usage and price data. Amounts are decimal strings: cents on invoices, micros for balances and costs. Every path under /v1/organizations/{orgId} is authorized through IAM with the action in x-ezgh-action. - [Start saving a card](https://docs.ezghcloud.com/billing-api/Billing/CreateCheckoutSession/index.md) - [Remove a saved card](https://docs.ezghcloud.com/billing-api/Billing/DeletePaymentMethod/index.md) - [An organization's billing details](https://docs.ezghcloud.com/billing-api/Billing/GetBillingPreferences/index.md) - [Amount due, cost so far and the estimated bill](https://docs.ezghcloud.com/billing-api/Billing/GetBillingSummary/index.md) - [Where a card-saving session stands](https://docs.ezghcloud.com/billing-api/Billing/GetCheckoutSession/index.md) - [Charges over time, by up to two keys](https://docs.ezghcloud.com/billing-api/Billing/GetCostAndUsage/index.md) - [The prices in force, per SKU](https://docs.ezghcloud.com/billing-api/Billing/GetEffectivePrices/index.md) - [An invoice with its lines](https://docs.ezghcloud.com/billing-api/Billing/GetInvoice/index.md) - [An invoice's PDF](https://docs.ezghcloud.com/billing-api/Billing/GetInvoicePdf/index.md) - [The open period's invoice as it stands](https://docs.ezghcloud.com/billing-api/Billing/GetUpcomingInvoice/index.md) - [Measured quantities over time, per meter](https://docs.ezghcloud.com/billing-api/Billing/GetUsage/index.md) - [The billing methods an organization can choose](https://docs.ezghcloud.com/billing-api/Billing/ListBillingMethods/index.md) - [Issued invoices, newest period first](https://docs.ezghcloud.com/billing-api/Billing/ListInvoices/index.md) - [Saved cards](https://docs.ezghcloud.com/billing-api/Billing/ListPaymentMethods/index.md) - [Make a saved card the one invoices charge](https://docs.ezghcloud.com/billing-api/Billing/SetDefaultPaymentMethod/index.md) - [Replace an organization's billing details](https://docs.ezghcloud.com/billing-api/Billing/UpdateBillingPreferences/index.md) - [BillingAddress](https://docs.ezghcloud.com/billing-api/schemas/BillingAddress/index.md) - [BillingContact](https://docs.ezghcloud.com/billing-api/schemas/BillingContact/index.md) - [BillingMethodList](https://docs.ezghcloud.com/billing-api/schemas/BillingMethodList/index.md) - [BillingPreferences](https://docs.ezghcloud.com/billing-api/schemas/BillingPreferences/index.md) — An organization's billing details. contact and address are null until they're first saved. - [BillingPreferencesInput](https://docs.ezghcloud.com/billing-api/schemas/BillingPreferencesInput/index.md) — The whole document: a PUT replaces it. - [BillingSummary](https://docs.ezghcloud.com/billing-api/schemas/BillingSummary/index.md) - [CheckoutSession](https://docs.ezghcloud.com/billing-api/schemas/CheckoutSession/index.md) — A Stripe Checkout Session in setup mode: it saves a card without charging it. - [CheckoutSessionStatus](https://docs.ezghcloud.com/billing-api/schemas/CheckoutSessionStatus/index.md) - [CostAndUsage](https://docs.ezghcloud.com/billing-api/schemas/CostAndUsage/index.md) - [CostGroup](https://docs.ezghcloud.com/billing-api/schemas/CostGroup/index.md) - [CostPeriod](https://docs.ezghcloud.com/billing-api/schemas/CostPeriod/index.md) - [Error](https://docs.ezghcloud.com/billing-api/schemas/Error/index.md) — Every non-2xx answer. - [InvoiceDetail](https://docs.ezghcloud.com/billing-api/schemas/InvoiceDetail/index.md) - [InvoiceLine](https://docs.ezghcloud.com/billing-api/schemas/InvoiceLine/index.md) - [InvoicePage](https://docs.ezghcloud.com/billing-api/schemas/InvoicePage/index.md) - [InvoiceSummary](https://docs.ezghcloud.com/billing-api/schemas/InvoiceSummary/index.md) - [Keys](https://docs.ezghcloud.com/billing-api/schemas/Keys/index.md) — The group's values of the groupBy keys. project "" is organization-level usage. - [Labels](https://docs.ezghcloud.com/billing-api/schemas/Labels/index.md) — Display names for the IDs in the answer. IDs without one are left out. - [PaymentMethod](https://docs.ezghcloud.com/billing-api/schemas/PaymentMethod/index.md) - [PaymentMethodList](https://docs.ezghcloud.com/billing-api/schemas/PaymentMethodList/index.md) - [Price](https://docs.ezghcloud.com/billing-api/schemas/Price/index.md) - [Pricing](https://docs.ezghcloud.com/billing-api/schemas/Pricing/index.md) — The prices in force at at. - [UpcomingInvoice](https://docs.ezghcloud.com/billing-api/schemas/UpcomingInvoice/index.md) — The open period's invoice as it stands: an estimate until the period closes. - [Usage](https://docs.ezghcloud.com/billing-api/schemas/Usage/index.md) - [UsageGroup](https://docs.ezghcloud.com/billing-api/schemas/UsageGroup/index.md) - [UsagePeriod](https://docs.ezghcloud.com/billing-api/schemas/UsagePeriod/index.md) - [Values](https://docs.ezghcloud.com/billing-api/schemas/Values/index.md) — Every value of each key in the window, whatever the filter. - [Billing](https://docs.ezghcloud.com/billing-api/tags/Billing/index.md)