# Buy a priced entry for this project

`POST /hosting/market/entries/{kind}/{name}/buy` · Rivier · hosting

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.

- Scope: hosting:write
- Sdk: hosting.marketLicence.buy
- Cli: hosting market licence buy

## Parameters

- `kind` (path, required), string
- `name` (path, required), string

## Responses

- `200`: Success
- `400`: The request was malformed
- `401`: No valid credential
- `403`: The credential lacks the scope, origin or address
- `429`: Over the key's rate limit; see Retry-After

## Example

```sh
curl -X POST 'https://api.rivier.ai/hosting/market/entries/{kind}/{name}/buy' \
  -H 'Authorization: Bearer $KEY'
```
