Saga-Based Redemption Benefits: The saga-based redemption approach provides several advantages over synchronous processing: Integration with external validation servicesComplex business rule evaluation and enforcementMulti-step approval workflows for high-value vouchersProper handling of partial failures and rollback scenariosIntegration with loyalty programs and reward systems Redemption Workflow Steps: The saga orchestrator manages the following redemption process: Validate voucher eligibility and authenticityApply business rules and redemption limitsCoordinate with merchant and payment systemsProcess loyalty points and promotional benefitsUpdate customer records and transaction historyGenerate receipts and confirmation messages Error Handling and Recovery: The saga pattern provides robust error handling capabilities: Automatic retry logic for transient failuresCompensation transactions for partial failuresDead letter queues for unrecoverable errorsManual intervention workflows for complex issues Progress Tracking: Use the returned requestId to monitor redemption progress through: SignalR real-time notificationsDedicated status inquiry endpointsApplication logs and monitoring dashboards
post https://api.fiscanner.net/Vouchers/RedeemBySaga