Accounts and Verification
EstateHub separates customer KYC from seller KYB. Each role submits its own data and document URLs; administrator-role accounts inspect submissions and approve or reject them.
Implemented Transitions
The model defines not_submitted, pending, approved, rejected, and expired. Users may edit only not_submitted, rejected, or expired records. A POST submission validates completeness and changes the record to pending; an update alone does not resubmit it.
Administrator approval and rejection record the reviewer and time. Rejection also stores a required reason. The current source has no route or scheduled service that changes an approved record to expired, even though the state is defined and editable.
Route Ownership
| Actor | Verified routes and actions |
|---|---|
| Customer | GET/POST/PATCH `/api/v1/accounts/customers/kyc/` plus GET `/kyc/requirements/`. |
| Seller | POST `/api/v1/accounts/sellers/kyb/`, GET/PATCH `/kyb/me/`, and GET `/kyb/requirements/`. |
| Administrator | List/detail and approve/reject routes under `/api/v1/accounts/admins/kyc/` and `/kyb/`. |
Required Data
Customer KYC requires identity information plus identity-front, identity-back, and selfie documents. Seller KYB requires business and representative information plus registration, trade-license, tax, representative identity-front/identity-back, and representative-selfie documents. Submit managed uploads with their upload_id values; the requirements endpoints remain the runtime authority for accepted fields and labels.