RentNest

Rental Platform
AI DocsERD
CodeLive
FLOW:
Landlord account ready
Tenant account ready
Account can later be suspended, deleted, or restored
Draft created
Listing completed
Queued for admin
Verified
Rejected
Corrected and resubmitted
Public inventory
Admin oversight
Unit selected
Pending landlord response
Approved
Rejected
Search again
Pay lease
Redirect to Stripe
Signed event
Payment paid
Session expired
Retry payment
Tenancy in progress
Review eligible
Unit released
Landlord reply
Lifecycle complete
Archive moderated listing
01
User ACTIVE

Account access

A visitor registers as TENANT or LANDLORD, receives User plus Profile, and is immediately logged in with HttpOnly access and refresh cookies.

PUBLIC
02
Property DRAFT

Property draft

A landlord selects a category, title, and description. A category-prefixed slug is generated and the property starts as DRAFT and unverified.

LANDLORD
03
PropertyUnit AVAILABLE

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.

LANDLORD
04
PENDING_VERIFICATION

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.

LANDLORD
05
ACTIVE on verify

Verification decision

An admin reads the verification queue and either verifies the property, which sets ACTIVE and isVerified true, or rejects it.

ADMIN
06
REJECTED

Listing rejected

The property becomes REJECTED. The landlord can edit the listing and submit it again.

ADMIN
07
ACTIVE

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.

SYSTEM
08
no state change

Discover units

A tenant filters ACTIVE properties by category, price, rent type, bedrooms, bathrooms, amenities, geography, and sort mode, then opens a unit.

TENANT
09
RentalRequest PENDING

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.

TENANT
10
RentalRequest APPROVED or REJECTED

Request decision

The landlord reads incoming requests for owned units and responds. Approval creates the lease and occupies the unit in one transaction.

LANDLORD
11
RentalRequest REJECTED

Request rejected

The request becomes REJECTED with the landlord response. Because no reservation happened at request time, the unit remains AVAILABLE.

LANDLORD
12
Lease PENDING_PAYMENT

Lease created

The lease becomes the agreement of record with the approved unit, tenant, landlord, rent type, amount, currency, and tenancy dates.

SYSTEM
13
Payment PENDING

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.

TENANT
14
checkout.session.completed

Stripe Checkout

Stripe collects card details outside RentNest and emits a checkout event after payment or expiration.

STRIPE
15
Payment COMPLETED + Lease ACTIVE on paid

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.

SYSTEM
16
Payment EXPIRED

Payment expired

The payment becomes EXPIRED with failureReason 'Session Timeout'. The lease remains PENDING_PAYMENT and can start a new checkout.

STRIPE
17
Lease ACTIVE

Lease active

Payment COMPLETED and Lease ACTIVE are written together. The unit was already OCCUPIED from approval, so activation does not change occupancy.

SYSTEM
18
Lease COMPLETED or TERMINATED

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.

LANDLORD
19
Review created

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.

TENANT
20
Review with landlord response

Review response

The landlord verifies that the review belongs to one of their properties, then writes a public response.

LANDLORD
21
Property INACTIVE or ARCHIVED

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.

SYSTEM
22
User SUSPENDED or BANNED

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
23
admin-selected status

Admin moderation

Admins can read all records, change property status, verify or reject listings, manage users and reviews, and maintain categories, amenities, and geography.

ADMIN
85%