Transfer Discount
Move N redemptions of a discount from one patient onto another.
Locks the source discount, decrements quantity_remaining by the transfer
quantity, creates a brand-new Discount row on the recipient with the same
target/value/expiry, and writes a DiscountTransfer audit row.
Unlimited-use (quantity IS NULL) source discounts cannot be transferred.
Headers
The tenant you are making this request on behalf of
Your api key
Path Parameters
Body
Input schema for POST /billing/discount/{source_discount_id}/transfer.
Patient who should receive the transferred uses
How many redemptions to move (must be > 0)
Why the transfer is being made
GIFT, FAMILY_SHARE, ACCOUNT_MERGE, CORRECTION, OTHER Optional internal note explaining the transfer
1000Response
Successful Response
Serialized discount-transfer audit row.
Unique identifier for the transfer
Discount the redemptions were taken from
Newly-created discount the redemptions landed on
Patient the source discount belonged to
Patient who received the new discount
How many redemptions were moved
Why the transfer was made
GIFT, FAMILY_SHARE, ACCOUNT_MERGE, CORRECTION, OTHER User who recorded the transfer
When the transfer was recorded
Display label for the transferred discount (item, category, or item-type bucket)
Formatted value of the transferred discount (e.g. '10%' or '$50')
Display name of the sending patient
Display name of the receiving patient
Optional internal note from the staff member
Display name of the user who recorded the transfer
