Skip to content

Startup.sell

POST /{namespace}/startups/{startup}/sell

Sell transfers a Startup, with its Customers, Domains and records, to a buyer under a signed Agreement.

Mode
do
Event
Startup.sold

Inputs

InputTypeRequiredDescription
startupStartuprequiredThe Startup to sell.
agreementAgreementrequiredThe signed sale Agreement.

Outputs

OutputTypeRequiredDescription
startupStartuprequiredThe 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 send and do modes.
  • Transfers every Domain and payment account to the buyer.
  • Requires a human signature, because it moves equity.

Refuses when

CheckErrorFixThen call
Own Domain (sell-domain)refusedMove 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)refusedMove payments to a Stripe account the Startup holds alone.Startup.claim
Agreements transfer (sell-agreements)refusedSign assignable terms for each Agreement that names the Startup.Agreement.sign
Data exports (sell-export)refusedImport the latest export into an empty namespace and compare the replayed state.Startup.import
No shared credentials (sell-credentials)refusedReplace every shared key or login with one the Startup holds alone.None.
Sale agreed (sell-agreed)refusedA 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-inputRead 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.forbiddenUse a key whose scopes cover the operation, or ask an owner of the namespace to grant them.Startup.sell

When it waits

GateDefault
Decision classHigh: one-way, broad (money, customer)
Delay window1 business day, in which a watcher can pause, redirect or cancel it; then it runs.
LimitThe spend Limit of the Permission or Mandate it runs under.
Over the LimitIt 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.