Rivier/ Reference/ hosting

Buy a priced entry for this project

post/hosting/market/entries/{kind}/{name}/buy

Buy a priced entry for this project: answers the card processor's page to pay on, and the purchase waiting for payment. Refused for a free entry, one already held, and while buying is not open.

Before you call

Credential
Authorization: Bearer $KEY
Scope
hosting:write
Sdk
hosting.marketLicence.buy
Cli
hosting market licence buy

Parameters

  • kindstringrequired
    In the path
  • namestringrequired
    In the path

Responses

  • 200application/json
    Success
    • licenceobjectrequired
      • idstringrequired
      • entryIdstringrequired
      • versionstringrequired
      • priceobjectrequired
        • amountnumberrequired
        • currencystringrequired
      • statestringrequired
        One of: pending, held.
      • refstring
      • createdAtstringrequired
      • updatedAtstringrequired
    • urlstringrequired
  • 400application/json
    The request was malformed
    • errorstringrequired
    • messagestring
  • 401application/json
    No valid credential
    • errorstringrequired
    • messagestring
  • 403application/json
    The credential lacks the scope, origin or address
    • errorstringrequired
    • messagestring
  • 429application/json
    Over the key's rate limit; see Retry-After
    • errorstringrequired
    • messagestring

This page as Markdown