post
https://api.fiscanner.net/Vouchers/IssuingBySaga
Saga Pattern Implementation: This endpoint utilizes the Saga pattern to manage complex, long-running transactions that may involve multiple services and external systems. The saga orchestrator ensures:
- Data consistency across distributed services
- Proper compensation logic in case of failures
- State management throughout the workflow
- Retry policies for transient failures
- Improved response times for API clients
- Better resource utilization and scalability
- Enhanced fault tolerance and recovery capabilities
- Integration with external payment and validation services
- Validate request and create initial voucher record
- Initiate payment processing (if required)
- Perform external validations
- Finalize voucher activation
- Send notifications and update audit logs