Startup .sell
POST /{namespace}/startups/{startup}/sell
Sell transfers a Startup, with its Customers, Domains and records, to a buyer under a signed Agreement.
- Noun
- Startup
- Mode
do- Event
Startup.sold
Inputs
| Input | Type | Required | Description |
|---|---|---|---|
startup | Startup | required | The Startup to sell. |
agreement | Agreement | required | The signed sale Agreement. |
Outputs
| Output | Type | Required | Description |
|---|---|---|---|
startup | Startup | required | The Startup, held by the buyer. |
Effects
- Emits
Startup.sold. - Performed by the Founder.
- One-way (money, customer): it waits out its delay window, and runs in the
sendanddomodes. - Transfers every Domain and payment account to the buyer.
- Requires a human signature, because it moves equity.
Refuses when
| Check | Error | Fix | Then call |
|---|---|---|---|
Own Domain (sell-domain) | refused | Move each Domain into the Startup’s own registrar account and wait out any transfer lock; the account then moves whole at closing. | Domain.transfer |
Own payments account (sell-payments) | refused | Move payments to a Stripe account the Startup holds alone. | Startup.claim |
Agreements transfer (sell-agreements) | refused | Sign assignable terms for each Agreement that names the Startup. | Agreement.sign |
Data exports (sell-export) | refused | Import the latest export into an empty namespace and compare the replayed state. | Startup.import |
No shared credentials (sell-credentials) | refused | Replace every shared key or login with one the Startup holds alone. | None. |
Sale agreed (sell-agreed) | refused | A signed sale agreement names the buyer and schedules the transfer of Brand, domain, Customers, and records. | None. |
| The input does not match the schema of the operation. | invalid-input | Read the schema of the operation, then send every required field with the right type. | Startup.sell |
| The key is valid, but its scopes do not allow this operation. | forbidden | Use a key whose scopes cover the operation, or ask an owner of the namespace to grant them. | Startup.sell |
When it waits
| Gate | Default |
|---|---|
| Decision class | High: one-way, broad (money, customer) |
| Delay window | 1 business day, in which a watcher can pause, redirect or cancel it; then it runs. |
| Limit | The spend Limit of the Permission or Mandate it runs under. |
| Over the Limit | It waits pending for an Approval from the Founder. Approved, it runs; refused, it ends refused with limit-exceeded; unanswered by its deadline, it ends canceled. |