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
- kindstringrequiredIn the path
- namestringrequiredIn the path
Responses
- 200application/jsonSuccess
- licenceobjectrequired
- idstringrequired
- entryIdstringrequired
- versionstringrequired
- priceobjectrequired
- amountnumberrequired
- currencystringrequired
- statestringrequiredOne of: pending, held.
- refstring
- createdAtstringrequired
- updatedAtstringrequired
- urlstringrequired
- licenceobjectrequired
- 400application/jsonThe request was malformed
- errorstringrequired
- messagestring
- 401application/jsonNo valid credential
- errorstringrequired
- messagestring
- 403application/jsonThe credential lacks the scope, origin or address
- errorstringrequired
- messagestring
- 429application/jsonOver the key's rate limit; see Retry-After
- errorstringrequired
- messagestring