docs: sync from backend 19f7eb9, frontend 60ee6fb — Task #10 AML screening
This commit is contained in:
@@ -34,7 +34,7 @@ stateDiagram-v2
|
||||
pending --> received_offers: first SellerOffer saved\nSellerOfferService.createOffer
|
||||
received_offers --> in_negotiation: buyer/seller chat\n(counter-offer, see [[Negotiation Flow]])
|
||||
in_negotiation --> received_offers: counter rejected
|
||||
received_offers --> payment: SHKeeper webhook PAID\n(selected offer)
|
||||
received_offers --> payment: Request Network payment confirmed\n(selected offer)
|
||||
in_negotiation --> payment: same
|
||||
payment --> processing: seller acknowledges
|
||||
processing --> delivery: seller marks shipped
|
||||
@@ -151,7 +151,7 @@ sequenceDiagram
|
||||
|
||||
## Database writes
|
||||
|
||||
- **`purchaserequests` collection**: full insert. Subsequent status transitions and `selectedOfferId` updates happen in [[Seller Offer Flow]], [[Payment Flow - SHKeeper]], and [[Delivery Confirmation Flow]].
|
||||
- **`purchaserequests` collection**: full insert. Subsequent status transitions and `selectedOfferId` updates happen in [[Seller Offer Flow]], [[PRD - Request Network In-House Checkout]], and [[Delivery Confirmation Flow]].
|
||||
- **`notifications` collection**: one per notified seller plus one for the buyer.
|
||||
- **`users.referralStats`** is not touched at request creation.
|
||||
|
||||
@@ -186,7 +186,7 @@ sequenceDiagram
|
||||
|
||||
- [[Seller Offer Flow]] — sellers respond to the published request.
|
||||
- [[Negotiation Flow]] — counter-offer mechanics in `in_negotiation`.
|
||||
- [[Payment Flow - SHKeeper]] — buyer pays for the accepted offer.
|
||||
- [[PRD - Request Network In-House Checkout]] — buyer pays for the accepted offer.
|
||||
- [[Delivery Confirmation Flow]] — seller ships, buyer confirms.
|
||||
- [[Dispute Flow]] — escape hatch for failed deliveries.
|
||||
- [[Notification Flow]] — backbone of the seller fan-out.
|
||||
|
||||
Reference in New Issue
Block a user