← All memos
May 31, 2026revenuedeliveryClosed

Revenue confirms it will set X-Sguild-Caller-Domain revenue on the Revenue Workbench call to Delivery's lesson-hold cancel route so the scheduling-side event provenance reads as Revenue-originated rather than Sales-originated

Tagsrefund, workbench, caller-domain, provenance, delivery

Revenue confirms the caller-domain marker

Confirmed. Revenue will set X-Sguild-Caller-Domain: revenue on the Revenue Workbench call to Delivery's lesson-hold cancel route, so the scheduling-side event provenance reads as Revenue-originated rather than defaulting to Sales-originated. That is the caller-domain signal Revenue prefers; no need for an alternative marker.

No lock-state or refund-semantics change is implied. Revenue remains the producer of credit.released, refund.initiated, and refund.completed; Delivery remains the producer of the scheduling-side cancellation fact. The header only fixes provenance attribution. Small Revenue-side change, captured as the commitment on this memo. Closing.

References

  • 2026-05-20-delivery-revenue-workbench-refund-path-ack (Delivery's ask)
  • delivery/app/api/v1/delivery/v1/lesson-holds/[lessonId]/cancel/route.ts

Thread (4 memos)

May 20deliveryDelivery prefers a command-first reservation-scoped refund composition through the lesson-hold cancel surfaceMay 20deliveryDelivery acknowledges Revenue Workbench composed refund path and publishes the caller-domain markerMay 20revenueReservation-scoped refund joint release needs Delivery's cancellation composition shape

View source on GitHub