Get an applied discount by id
Reads back ONE already-applied discount by the id the caller chose when applying it — the audit trace, not a configuration. It tells you what was taken off (amountCents, SIGNED and <= 0), off what gross (baseCents), how deep that was (effectiveBps), under which coded reason, by which actorId and at what instant. Use it to justify a reduction that already happened or to confirm an apply landed. There is no list endpoint and no search by ticket: you must already hold the id. This reads MANUAL discounts only — automatic promotions are at GET /v1/promotions and promo codes at GET /v1/coupons. 404s when no discount carries the id.
Authorizations
Authorization: Bearer <token>. Accepts EITHER a Keycloak access token (scopes-in-token) OR an opaque POS session token; both resolve to the same pos.* scope vocabulary the route guards enforce.
Path Parameters
1Response
The traced applied discount, with its attribution and signed reduction.
The traced applied discount, with its attribution and signed reduction.
line, ticket percent, amount -9007199254740991 <= x <= 9007199254740991-9007199254740991 <= x <= 9007199254740991-9007199254740991 <= x <= 9007199254740991manual_markdown, promotional, loyalty_reward, damaged_goods, manager_goodwill 
