Business

Create something to sell: a Stripe product, price and payment link on your own account (amount in cents/öre)

post/projects/{projectId}/business/payments/items

Request

  • Base URL: https://hostingsurge.com/api/v1
  • URL: https://hostingsurge.com/api/v1/projects/{projectId}/business/payments/items
  • Auth: one of:
    • HTTP bearer
    • API key in cookie __Host-hs_session

Path parameters

projectIdstring uuid required

Request body

namestring required
descriptionstring
amountinteger required
currency'usd' | 'eur' | 'sek' | 'gbp' | 'nok' | 'dkk' | 'chf' | 'pln' | 'cad' | 'aud' required

Response

Created

idstring uuid required
projectIdstring uuid required
namestring required
descriptionstring nullable required
amountinteger required
currencystring required
paymentLinkUrlstring nullable required
activeboolean required
createdAtstring required

ISO-8601 timestamp

Changes

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