booking:create
booking family
Hold a slot for a customer; when price > 0 the slot is held for a deposit and the answer carries the price to pay (ppid, bookingId) and payUrl, the card checkout that pays it into the business's own Stripe account
- Effect
- ask
- Awaits an outcome — the call returns the response below.
- Caller
- public
- The class of authority the caller must already hold, decided from the attested context with no round trip.
- Cost
- variable
- What one call costs, so you can budget before acting.
- Reversible
- no
- This cannot be undone. Dry-run it first where the contract allows.
- Settles
- offchain
- Moves real value off chain — a balance changes.
- Idempotent
- yes
- Safe to retry as-is.
- Simulatable
- yes
- Accepts { simulate: true } — projects an outcome and commits nothing.