@startuml
title Request a service — interaction
actor "Consumer" as User
participant "Two-Sided Marketplace Platform" as Platform
participant "Driver / Courier / Service Provider" as Partner
participant "Stripe Connect / Braintree" as Gateway
User -> Platform : Request a service
Platform -> Partner : Accept service request
Partner --> Platform : validation / acceptance result
alt accepted
Platform -> Gateway : Authorize consumer payment
Gateway --> Platform : Authorization result
Platform -> Platform : Record accepted booking
Platform --> User : confirmation / current status
else declined or unavailable
Platform --> User : explain failure; allow safe retry
end
note over Platform
Provider payout follows service completion and settlement policy; authorization is not payout.
end note
@enduml
