Initiates asynchronous coupon voiding using saga pattern for reliable distributed transaction processing. Validates GUID format and publishes saga coordination events for complex voiding workflow orchestration. Provides enhanced error handling, compensation logic, and monitoring for multi-step voiding processes. Voiding permanently cancels coupons while maintaining comprehensive audit trails and compliance records.
This endpoint allows to request a coupon void operation through saga orchestration pattern. Saga pattern ensures transactional consistency and reliable processing across distributed services. The process is handled asynchronously with automatic compensation mechanisms in case of failures. Please check Genocs.Fiscanner.WebApi.Controllers.VoidCouponRequest to get more information about request structure.
This endpoint uses saga orchestration for managing complex voiding workflows across distributed services. Provides transactional consistency and automatic compensation in case of failures during processing. The coupon code parameter must be a valid GUID format for proper saga correlation and state management. Publishes CouponVoid event to initiate saga state machine with timestamped processing. Enables real-time monitoring of voiding progress through saga state visualization and event tracking. Supports complex business scenarios requiring coordination with external systems for compliance reporting. Provides better reliability and observability compared to direct synchronous voiding processing. Voided coupons are permanently cancelled and cannot be redeemed, with full audit trail preservation.