Synchronous Processing: This endpoint provides immediate voucher creation and returns the voucher object upon successful creation. Unlike the saga-based endpoints, this provides immediate feedback and faster response times for simple issuance scenarios.
File Upload Support: The endpoint supports multipart/form-data requests with file attachments. Uploaded files are: Stored in the configured blob storage (typically Azure Blob Storage)Associated with the voucher as metadata tagsAccessible via the returned URL for future reference Duplicate Prevention: The system prevents duplicate voucher creation by checking the RequestId. If a RequestId is provided and already exists, the request is rejected. If no RequestId is provided, a new one is generated.
Event Publishing: Upon successful creation, the system: Sends real-time notifications via SignalRPublishes domain events for downstream processingUpdates audit trails and activity logs Default Values:Currency: EUR (configurable)Expiration: 15 days from creationVoucherId: 6-character unique identifier