Hostingsurge Billing API

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

GitHub OpenAPI

Operations 24

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… #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/hostingsurge-com:hostingsurge-com-billing-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

hostingsurge-com-billing-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Hostingsurge Platform Billing API
  version: 1.0.0
  description: 'Deploy and operate projects on Hostingsurge: Git/upload/Docker/WordPress projects, deployments, logs, environment variables, domains and databases. Errors are {"error":{"code","message","details?"}}.'
servers:
- url: /api/v1
  description: Same origin as the dashboard, e.g. https://hostingsurge.com/api/v1
security:
- bearerAuth: []
- sessionCookie: []
tags:


# --- truncated at 32 KB (417 KB total) ---
# Full source: https://artifacts.apis.io/hostingsurge-com/openapi/hostingsurge-com-billing-api-openapi.yml