Analyse approfondie du traitement des Webhooks de paiement et des callbacks â Verrouillage optimiste, Idempotence, OpĂ©rations atomiques sur le portefeuille
Analyse approfondie de PaymentWebhookController (routage Ă point d'entrĂ©e unique + authentification callback-token) â handleUniversalWebhook (rĂ©partition dĂ©pĂŽt/retrait) â handleInvoiceWebhook (verrouillage optimiste updateMany + creditCash) â handlePayoutWebhook (dĂ©blocage atomique + dĂ©gradation CRITIQUE) â WalletService (ensureWallet / creditCash / freezeCash / unfreezeCash + audit beforeBalance/afterBalance)
Tableau de bord d'administration