Run your homes

Direct bookings

Publish each home's booking page, set stay rules and taxes, collect Stripe test payments, and retain signed agreements, ID checks and damage holds.

Open Direct bookings in the installed Cabin workspace. Each home has its own booking page address, nightly rate, cleaning and extra guest fees, guest limit, stay length and spacing between stays. Enter money in US dollars and taxes as percentages. Save and publish the home to make /book/<address> available; /book lists published homes. Availability includes channel stays, blocks and unpaid checkout holds. Public availability never lists guest names.

Connect and check Stripe from the page

On self-hosted Cabin, the Connect Stripe card has all the steps and links:

  1. Create or sign in to your own Stripe account. Stripe charges its own payment and Identity fees.
  2. Open test API keys, select your sandbox/test mode, and reveal its secret key beginning sk_test_. The publishable pk_ key cannot make payments.
  3. Paste it into Stripe test secret key, then Save and check test key. Cabin checks Stripe's balance API, then seals the secret using the installation's SESSION_SECRET. The page never echoes the key; database exports contain ciphertext. Preserve the installation secret when restoring an export, or enter the Stripe keys again.
  4. Press Open $1 Stripe test checkout. Complete the real Stripe-hosted checkout using card 4242 4242 4242 4242, a future expiry and any three-digit security code. No real money moves. Returning to Cabin reads Stripe's actual Checkout Session and successful $1 USD PaymentIntent. The card shows Passed only when Stripe confirms both. An unfinished checkout can be reopened from this card; Check Stripe connection and test result reads it again.
  5. For real bookings, activate your account, reveal the secret beginning sk_live_ from live API keys, and save it in the live key form. Confirm that new bookings charge real money. Each existing stay retains its original payment mode, so keep both keys available while test and live stays remain open. Use the saved-key buttons to switch the mode for new bookings.
  6. Enable Stripe Identity for your account before requiring identity checks. A test payment does not establish live Identity eligibility or verify a real guest.

Cabin sends every Stripe request with the Stripe API version it is tested against (2026-09-30.endive), so a Stripe account with an older or newer default version behaves the same. Guests pay by card: a card can be saved for the damage hold, held for later capture, and tells Cabin when that hold expires. Other methods turned on in your Stripe Dashboard are not offered on Cabin's checkouts.

A privately configured STRIPE_TEST_SECRET_KEY or STRIPE_SECRET_KEY also works. Keys entered on the page take precedence. Self-hosted Cabin talks directly to Stripe; there is no relay account to configure. On RER Managed, payments, deposits and Identity are unavailable because there is no outbound Stripe connection or provider relay. Cabin refuses provider requests there, even if a key exists.

Guest booking and confirmation

Guests review the itemized price, separate damage authorization and rental agreement before signing. They consent to payment, saved-card use for damage holds, and Stripe Identity if required. Cabin keeps the exact agreement, signature, time, version, consent and SHA-256. Guests and authorized staff can download that record. Later changes to home settings do not change a saved agreement or quote.

Checkout reserves nights atomically, then opens Stripe's hosted card form. Card numbers never pass through Cabin. Success requires reading Stripe's paid Checkout Session and matching successful USD PaymentIntent; a return parameter alone proves nothing. Returning from payment or Identity automatically reconciles the stay before showing its status. The guest's private booking page links back to payment, ID verification, damage authorization and their signed agreement. If Stripe cannot create checkout after nights are reserved, Cabin takes the guest to that saved page. The guest is told that nothing was charged and how long their dates stay held, and gets Try payment again; Stripe's own reason stays on the host's Direct bookings page, never on the guest's.

A received payment queues a real receipt email containing dates, amount, next steps and the private booking link. When the required checks complete, Cabin queues a separate confirmation. Both use the installed guest email provider and appear in the Inbox, where hosts can see delivery failures and retry them. Direct bookings also shows their delivery status. Local development and demo suppress external mail; a configured hosted mail provider actually sends it. Cabin does not claim that a queued or failed email was delivered.

Unpaid expired sessions reopen nights. A five-minute job reconciles payments and required checks. Cabin's calendar exports immediately include held nights; external channels read those exports on their own schedule.

Damage holds near arrival and renewal

Cabin saves the guest's card mandate at rent payment but defers the initial damage hold until 48 hours before the home's local check-in time. The five-minute job requests it when due; opening the booking page also checks it. An advance reservation can be confirmed after rent and required ID checks while the damage hold is scheduled. The page explicitly says no funds are held yet. For imminent arrivals, a required hold must succeed before initial confirmation.

Stripe supplies the authorization's actual expiry. Cabin shows it in the home's time zone. A hold expiring before arrival or checkout is flagged; an expired authorization is displayed as expired and secures no funds. Card holds are short lived, so long stays can need renewal. See Stripe's authorization windows.

When a saved card needs authentication or a hold expires, the guest can open their private booking page and choose Authorize damage deposit or Renew damage authorization. This opens a separate real Stripe-hosted manual-capture checkout, where the guest supplies or authenticates their card. Renewal is available once the 48-hour window opens and an existing hold does not cover checkout. A replacement can temporarily appear alongside the old authorization. Cabin releases the old hold after Stripe confirms the replacement. A lost or failed response remains visible for host review. Holds are not silently renewed, and a confirmed reservation does not imply that an expired damage authorization still protects it.

Staff record actual departure with Mark guest checked out after arrival. Otherwise Cabin uses the home's local checkout time. The scheduled job releases unclaimed holds after the configured release hours (plus up to five minutes). Hosts can release after checkout or capture a documented damage amount, in dollars, with a reason and evidence. Stripe releases the uncaptured remainder. Refresh reconciles uncertain capture/release responses before another financial action.

Lodging taxes and remaining scope

The configured state and county percentages apply to rent and fees, appear as separate checkout lines, and are collected with the payment. Check the correct applicability and rate for the home. After filing and remitting through the relevant authority, record its confirmation reference on the stay. Cabin records evidence; it does not file or remit taxes. Monthly source reviews, exemptions and source-linked refund adjustments are in Taxes. Direct settlement keeps the frozen state/county levy amounts; importing the paid receipt into Taxes before or after refund preserves each original levy without duplicating its liability. Statutory filing and remittance remain external.

Other remaining payment work includes ACH and installment schedules. Processor test acceptance does not establish live bank settlement.

Reviewed refunds and saved cancellation settlement

In Direct bookings → Refunds and settlement, choose a partial rent refund, full remaining booking payment, saved cancellation/price change, or refund of already captured damage money. Set the home’s ledger legal entity first. Enter the reason and retained evidence reference; Calculate refund for review saves an exact plan without contacting Stripe to move funds. A partial rent amount is before tax: Cabin returns the proportionate original state/county tax, retaining cumulative cents so a later full refund returns the exact remainder. An uncharged authorization is released rather than refunded; captured damage payments stay separate from rent and lodging tax.

For cancellation, save Reservations → Cancel first. The reservation keeps the signed cancellation policy, exact charge and reason; changing the home’s current policy cannot reprice it. Choose Saved cancellation or price change to calculate the difference between the original net payment and the saved retained charge. Cancellation refunds return the refundable tax first and then the refundable rent/fees. For a price reduction, save the amended rent, fees and tax in Reservations, then review the computed overpayment. An additional amount due is shown as a balance; this refund flow does not charge it.

A human owner or manager must approve the exact plan, amount, source payment, taxes and receipt. A changed reservation invalidates an unsubmitted plan. An approved pending or uncertain refund blocks another refund and a reservation amendment. Cabin saves intent before the Stripe request, uses one stable idempotency key, and reconciles the returned refund’s ID, payment, metadata, currency and amount. Repeated approvals only read the outcome. If a response is lost, Reconcile refund with Stripe searches all refunds on that payment by the saved operation ID, including after restart. It never blindly resubmits an absent or uncertain result. Check the Stripe Dashboard if no outcome can be found; the operation stays under review.

Only Stripe success posts a refund and queues the itemized guest receipt. Pending and failed results are shown explicitly. The guest’s private booking page also shows the provider-confirmed refund, while Direct bookings shows receipt delivery status and links to the Inbox. Mail provider acceptance is separate from actual recipient receipt; development suppression and errors remain visible. Transaction receipts use the host-message transport and are not suppressed by a lifecycle-message opt-out.

The ledger recognizes paid rent/fees as owner funds, the exact collected tax as tax payable, and a distinct asset for funds held by Stripe. Provider payouts transfer that asset into cash instead of recognizing revenue twice. Non-cash damage authorization/open and close journals remain separate; approved captured damage adds processor funds and owner liability. A confirmed refund reduces the same owner and tax liabilities once and reduces processor funds. Importing monthly tax evidence converts the existing tax source into jurisdiction-linked lines with offsetting entries, preserving its total. Later refunds produce linked negative tax lines, including when the receipt was imported after refund. Every operation is retained by stable source key; original quotes and approved plans remain unchanged.

The five-minute job releases a canceled stay’s unclaimed active authorization, even before arrival, and continues to reconcile refunds on canceled or old stays. A claim records the approving human, evidence and exact captured amount. Stripe’s final partial capture releases the rest, and both capture and unclaimed release queue a separate damage-settlement receipt. A long hold is flagged on Direct bookings as soon as Stripe reports an expiry before the saved checkout and configured release window; the guest can authorize a replacement. A pending or interrupted capture/release is reconciled before another operation, never automatically submitted as a new claim.

Provider-door route evidence is the PAY-003 flow in tests/direct.test.mjs: partial claim and remainder release, loss of a refund response and restart recovery, repeated approval, partial/full rent and captured-damage refunds, saved cancellation and date/price amendment, pre-expiry alert, automatic no-claim release, guest mail transport acceptance, and unchanged total tax/owner liabilities when monthly tax evidence arrives after refund. Stripe and mail are isolated only at their network boundaries in this test; hosted Stripe test-card and actual mailbox acceptance are separate release evidence.

If Stripe rejects a damage action while retaining its request key, Record provider-confirmed non-application requires a human log reference plus a fresh Stripe read showing the complete original authorization still capturable and zero received. The prior approval and provider read remain in history. A person must then reapprove the same action, amount, reason and evidence. This separate reviewed attempt has its own stable key; repeated clicks and Cron cannot resend an unresolved attempt.

Hosted acceptance exercises Stripe test-card partial capture with remainder release, partial/full booking and captured-damage refunds, a second stay canceled under saved terms, automatic unclaimed authorization releases and the long-stay expiry warning. Duplicate public-route operations leave provider totals and owner/tax/hold journals unchanged. Operator and guest screens were exercised at 1440 and 390, and actual settlement messages reached the QA mailbox with SPF, DKIM and DMARC passing. Completed settlements leave the scheduled provider queue; due unclaimed holds take priority.

Dated rates and preparation time

Under a home’s Seasonal and weekday rates, add a start date, an excluded end date, a weekday (or every day), and a nightly amount. Each occupied night is priced separately; the checkout date is never charged. Dates outside a matching rule use the normal nightly rate. Overlapping rules for the same weekday are refused, so there is no hidden priority. Remove a saved rule before replacing it. Saving or removing a rule invalidates older unsigned quotes; signed stays keep their original price and cancellation policy.

Edit booking settings also saves advance notice, the booking window and preparation nights. Notice and the booking window count calendar days from today in the home’s time zone and include their boundary dates. Preparation nights are required on both sides of an existing stay or block, including inventory shared with a linked room. A stay that ends exactly when a preparation interval starts, or starts exactly when it ends, is allowed if the other stay rules pass. These checks run again at checkout and when a staff quote is accepted, before payment begins.

The guest review lists each dated nightly amount, cleaning and extra-guest fees, taxes, total and the separate damage authorization. Taxes are added to rent and fees. Native rates and preparation rules are not published to OTA listings; channel exports remain calendar availability only. Arrival and departure restrictions, pet fees, effective-dated cancellation policy selection and inclusive fee or tax options remain outside this native slice. Actual OTA publication needs authorized host accounts and accepted channel readback.