# Hostingsurge Billing API

**Canonical:** https://apis.io/apis/hostingsurge-com/hostingsurge-com-billing-api/  
**Provider:** Hostingsurge — https://apis.io/providers/hostingsurge-com/  
**Base URL:** https://hostingsurge.com/api/v1  
**Documentation:** https://hostingsurge.com/developers

Hostingsurge Billing API is one of 37 APIs that [Hostingsurge](https://apis.io/providers/hostingsurge-com/) publishes on the [APIs.io](https://apis.io/) network, described by a machine-readable OpenAPI specification. This API exposes 6 JSON Schema definitions. Tagged areas include Billing. The published artifact set on APIs.io includes an OpenAPI specification and 6 JSON Schemas.

The Billing API from Hostingsurge — 23 operation(s) for billing.

## Operations (24)

| Method | Path | Summary |
|---|---|---|
| POST | `/billing/purchase-intent` | The dashboard reports a step towards buying: the upgrade dialog opened… |
| GET | `/billing/plans` | Plans, prices in every catalog currency, included usage and limits (the same… |
| GET | `/billing` | Current plan, subscription, dunning state, caps and usage vs limits of an… |
| GET | `/billing/usage` | Usage vs plan limits for the current billing period (billing:read or… |
| GET | `/billing/invoices` | Invoices, newest first, with hosted page and PDF links (billing:read) |
| POST | `/billing/checkout` | Stripe Checkout link to start a subscription in a catalog currency (default… |
| POST | `/billing/credits/checkout` | Stripe Checkout link to buy Build Credit packs ($25 = 100 credits, or the fixed… |
| POST | `/billing/portal` | Stripe Customer Portal link: payment methods, invoices, tax ids, cancellation… |
| POST | `/billing/subscription/preview` | Proration preview of a plan change: what is charged now and what changes… |
| POST | `/billing/subscription` | Change the plan (upgrades are invoiced right away, downgrades credit the next… |
| POST | `/billing/promotion-code` | Apply a promotion code to the subscription (dashboard session only) |
| PUT | `/billing/caps` | Hard caps on billed usage, e.g. |
| GET | `/billing/entitlements` | Paid features and add-ons: what the organization may use now, and the plan or… |
| GET | `/billing/sales` | What can be ordered without a card and how it is paid: mode (manual, stripe or… |
| POST | `/billing/orders/quote` | The price of an order of Build Credit packs or plan months: net, VAT, total… |
| POST | `/billing/orders` | Order Build Credits or plan months, paid in Bitcoin or by bank transfer with… |
| GET | `/billing/orders` | The team's orders, newest first, with the payment instructions of unpaid ones… |
| POST | `/billing/orders/{orderId}/cancel` | Cancel an order that awaits payment (dashboard session) |
| POST | `/billing/orders/{orderId}/crypto-checkout` | A Bitcoin order: the BTCPay checkout to pay at now (a fresh one when the last… |
| GET | `/billing/documents/{documentId}` | An invoice or credit note of the team as issued, as JSON (billing:read) |
| POST | `/billing/orders/{orderId}/address-checkout` | An order paid with crypto to the seller's own address (method crypto_address)… |
| GET | `/billing/address-checkouts/{checkoutId}` | A checkout as it stands: open, seen (on its way), paid or expired (billing:read) |
| GET | `/billing/charges/{chargeId}` | A one-off payment (a domain name) paid with crypto to the seller's own address… |
| POST | `/billing/charges/{chargeId}/address-checkout` | The checkout of a one-off payment in the chosen coin, valid until the payment's… |

## Machine-readable artifacts (7)

- **OpenAPI** — https://artifacts.apis.io/hostingsurge-com/openapi/hostingsurge-com-billing-api-openapi.yml
- **JSONSchema** — https://artifacts.apis.io/hostingsurge-com/json-schema/hostingsurge-com-builder-visual-op-schema.json
- **JSONSchema** — https://artifacts.apis.io/hostingsurge-com/json-schema/hostingsurge-com-policy-templates-input-body-schema.json
- **JSONSchema** — https://artifacts.apis.io/hostingsurge-com/json-schema/hostingsurge-com-pending-changes-input-body-schema.json
- **JSONSchema** — https://artifacts.apis.io/hostingsurge-com/json-schema/hostingsurge-com-confirm-prices-input-body-schema.json
- **JSONSchema** — https://artifacts.apis.io/hostingsurge-com/json-schema/hostingsurge-com-collection-input-body-schema.json
- **JSONSchema** — https://artifacts.apis.io/hostingsurge-com/json-schema/hostingsurge-com-create-shop-input-body-schema.json

## Other Hostingsurge APIs (12)

- [Hostingsurge Accelerator API](https://apis.io/apis/hostingsurge-com/hostingsurge-com-accelerator-api/)
- [Hostingsurge Agents API](https://apis.io/apis/hostingsurge-com/hostingsurge-com-agents-api/)
- [Hostingsurge Alerts API](https://apis.io/apis/hostingsurge-com/hostingsurge-com-alerts-api/)
- [Hostingsurge Analytics API](https://apis.io/apis/hostingsurge-com/hostingsurge-com-analytics-api/)
- [Hostingsurge Assistant API](https://apis.io/apis/hostingsurge-com/hostingsurge-com-assistant-api/)
- [Hostingsurge Automation API](https://apis.io/apis/hostingsurge-com/hostingsurge-com-automation-api/)
- [Hostingsurge Backups API](https://apis.io/apis/hostingsurge-com/hostingsurge-com-backups-api/)
- [Hostingsurge Builder API](https://apis.io/apis/hostingsurge-com/hostingsurge-com-builder-api/)
- [Hostingsurge Business API](https://apis.io/apis/hostingsurge-com/hostingsurge-com-business-api/)
- [Hostingsurge Certificates API](https://apis.io/apis/hostingsurge-com/hostingsurge-com-certificates-api/)
- [Hostingsurge Databases API](https://apis.io/apis/hostingsurge-com/hostingsurge-com-databases-api/)
- [Hostingsurge Deployments API](https://apis.io/apis/hostingsurge-com/hostingsurge-com-deployments-api/)

## Tags

Billing

---

Profiled by [API Evangelist](https://apievangelist.com) and published on [APIs.io](https://apis.io/apis/hostingsurge-com/hostingsurge-com-billing-api/). The API's provider profile, Kin Score and agent-readiness rating are at https://apis.io/providers/hostingsurge-com/.
