Account access
A visitor registers as TENANT or LANDLORD, receives User plus Profile, and is immediately logged in with HttpOnly access and refresh cookies.
Property draft
A landlord selects a category, title, and description. A category-prefixed slug is generated and the property starts as DRAFT and unverified.
Unit inventory
The landlord adds at least one rentable unit and attaches unit-level pricing, amenities, and images. Images are stored as URLs, not uploaded binaries.
Request verification
The landlord requests verification. The property must have an address, an image, a unit, and an amenity before it enters PENDING_VERIFICATION and the admin queue.
Verification decision
An admin reads the verification queue and either verifies the property, which sets ACTIVE and isVerified true, or rejects it.
Listing rejected
The property becomes REJECTED. The landlord can edit the listing and submit it again.
Listing is live
The property is now ACTIVE and verified. Public search only returns ACTIVE, non-deleted properties, while detail lookup can still return other non-deleted statuses by id.
Discover units
A tenant filters ACTIVE properties by category, price, rent type, bedrooms, bathrooms, amenities, geography, and sort mode, then opens a unit.
Rental request
The tenant chooses a unit and pricing option, supplies move-in date and duration, and creates a PENDING request. No unit reservation is made yet.
Request decision
The landlord reads incoming requests for owned units and responds. Approval creates the lease and occupies the unit in one transaction.
Request rejected
The request becomes REJECTED with the landlord response. Because no reservation happened at request time, the unit remains AVAILABLE.
Lease created
The lease becomes the agreement of record with the approved unit, tenant, landlord, rent type, amount, currency, and tenancy dates.
Create checkout
The tenant asks to pay a PENDING_PAYMENT lease. RentNest creates a Stripe customer when needed, writes a PENDING payment, and returns a hosted Checkout URL.
Stripe Checkout
Stripe collects card details outside RentNest and emits a checkout event after payment or expiration.
Webhook decision
RentNest verifies the Stripe signature, reads the raw body, routes checkout.session.completed or expired, and updates payment and lease in a transaction.
Payment expired
The payment becomes EXPIRED with failureReason 'Session Timeout'. The lease remains PENDING_PAYMENT and can start a new checkout.
Lease active
Payment COMPLETED and Lease ACTIVE are written together. The unit was already OCCUPIED from approval, so activation does not change occupancy.
End tenancy
Lease status can be set to COMPLETED or TERMINATED. The unit returns to AVAILABLE and availableFrom is set to the lease end date or now.
Submit review
The tenant writes a 1-5 rating and optional comment. If a leaseId is supplied, the lease must belong to the tenant, match the property, and be COMPLETED or TERMINATED.
Review response
The landlord verifies that the review belongs to one of their properties, then writes a public response.
Listing ends
A landlord can inactivate an ACTIVE verified property, archive a property with soft delete, or delete a unit. Archived properties are hidden by deletedAt filters.
Account lifecycle
A user can delete their own account, which sets SUSPENDED and deletedAt and clears cookies. Only an admin can restore an account.
Admin moderation
Admins can read all records, change property status, verify or reject listings, manage users and reviews, and maintain categories, amenities, and geography.