Billing

Plans, prices in every catalog currency, included usage and limits (the same data as the pricing page)

get/billing/plans

Request

  • Base URL: https://hostingsurge.com/api/v1
  • URL: https://hostingsurge.com/api/v1/billing/plans
  • Auth: one of:
    • HTTP bearer
    • API key in cookie __Host-hs_session

Query parameters

lang'en' | 'sv'
currency'usd' | 'eur' | 'sek' | 'gbp' | 'nok' | 'dkk' | 'chf' | 'pln' | 'USD' | 'EUR' | 'SEK' | 'GBP' | 'NOK' | 'DKK' | 'CHF' | 'PLN'

currency of amount, rates and limit lines (default usd); amounts always lists every currency

Response

Plans

currencystring required

the currency of amount, rates and limit lines in this response (the ?currency query, default usd)

defaultCurrencystring required

what Checkout charges when no currency is chosen; every existing subscription before local prices

currenciesstring[] required

every currency plans can be bought in (lowercase ISO codes, the default first)

Changes

No recorded changes to this operation across all 1 revision of this API.