Billing

Apply a promotion code to the subscription (dashboard session only)

post/billing/promotion-code

Request

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

Query parameters

orgIdstring

Organization id (required when you belong to several)

lang'en' | 'sv'

Language of labels and Stripe pages (default en)

Request body

codestring required

Response

Applied

appliedtrue required
codestring required
descriptionstring required

Changes

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