Hostingsurge Billing API
The Billing API from Hostingsurge — 23 operation(s) for billing.
Operations 24
POST
/billing/purchase-intent
The dashboard reports a step towards buying: the upgrade dialog opened…
#
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…
#
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}/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…
#
Specifications
Schemas & Data
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