post
https://api.fiscanner.net/Vouchers/RedeemBySaga
Saga-Based Redemption Benefits:
The saga-based redemption approach provides several advantages over synchronous processing:
- Integration with external validation services
- Complex business rule evaluation and enforcement
- Multi-step approval workflows for high-value vouchers
- Proper handling of partial failures and rollback scenarios
- Integration with loyalty programs and reward systems
Redemption Workflow Steps:
The saga orchestrator manages the following redemption process:
- Validate voucher eligibility and authenticity
- Apply business rules and redemption limits
- Coordinate with merchant and payment systems
- Process loyalty points and promotional benefits
- Update customer records and transaction history
- Generate receipts and confirmation messages
Error Handling and Recovery:
The saga pattern provides robust error handling capabilities:
- Automatic retry logic for transient failures
- Compensation transactions for partial failures
- Dead letter queues for unrecoverable errors
- Manual intervention workflows for complex issues
Progress Tracking:
Use the returned requestId to monitor redemption progress through:
- SignalR real-time notifications
- Dedicated status inquiry endpoints
- Application logs and monitoring dashboards
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
202Redemption saga initiated successfully. Use requestId for progress tracking.
401Authentication token is missing, invalid, or expired.