💸 PayOut Flow (Step by Step)#
1.
Merchant Platform (via cashier) initiates a payout request via the Mozarto Cashier API, including user ID, amount, currency, and type.
2.
Mozarto calls the Merchant Platform (MP) to verify the user's identity and account status.
3.
MP responds with the verification result (e.g., user exists, payout allowed).
4.
If verified, Mozarto selects the appropriate Payment Provider for the payout using its routing logic.
5.
Mozarto sends the payout request to the selected Payment Provider.
6.
Payment Provider processes the payout and returns a success or failure response to Mozarto.
7.
Mozarto notifies the MP of the payout result (success or failure, along with provider reference).
8.
MP adjusts the user’s balance accordingly.
💸 Detailed Transaction Flow: PayOut#
1️⃣ Transaction Initialisation & User Verification#
Step 1
The Cashier calls the Mozarto Cashier API to initiate a payout, including user ID, amount, currency, and transaction type.Step 2
Mozarto sends a direct API request to the MP to verify the user (e.g., account status, payout eligibility).Step 3
The MP responds with the user verification result. If successful, Mozarto proceeds to the next step.
2️⃣ Payment Routing & Payout Processing#
Step 4
If verified, Mozarto routes the payout to the appropriate Payment Provider using internal routing logic.Step 5
The PSP processes the payout and returns a success/failure response to Mozarto.
3️⃣ Finalisation & Balance Update#
Step 6
Mozarto sends the payout result to the MP, including the transaction status and PSP reference.Modified at 2025-08-01 10:29:04