Initiates asynchronous coupon redemption using saga pattern for reliable distributed transaction processing. Validates GUID format and publishes saga coordination events for complex redemption workflow orchestration. Provides enhanced error handling, compensation logic, and monitoring for multi-step redemption processes.
This endpoint allows to request a coupon redemption. The process is handled by a saga. Please check Genocs.Fiscanner.WebApi.Controllers.RedeemCouponRequest to get more info.
This endpoint uses saga orchestration for managing complex redemption workflows across distributed services. Provides transactional consistency and automatic compensation in case of failures during processing. The couponId parameter must be a valid GUID format for proper saga correlation and state management. Publishes CouponRedemptionRequest event to initiate saga state machine with timestamped processing. Enables real-time monitoring of redemption progress through saga state visualization and event tracking. Supports complex business scenarios requiring coordination with external payment systems or loyalty platforms. Provides better reliability and observability compared to direct synchronous redemption processing.