# Drawstep engine · Values · `costPaid` > Cost paid — CR 601.2h, 602.2b, 608.2h: the single object sacrificed, discarded, revealed or exiled (`cost`) to pay this spell or ability; its characteristics are fixed at payment, before it changes zones. `reveal` is the card a reveal cost showed; `exile` is the one card exiled by an exileOthers cost. Engine: Magic: The Gathering (`mtg`). This is one primitive of the Drawstep card vocabulary; field names and the discriminator are exact. Wiki page: https://drawstep.xyz/wiki/mtg/values#costPaid ## Where it goes A number: `{ "kind": "costPaid", … }` wherever a ValueDef is accepted (`amount`, `power`, `max`, `count` …); a plain integer is also a ValueDef. ## Fields | Field | Type | Required | Description | |---|---|---|---| | `cost` | `"sacrifice" \| "discard" \| "reveal" \| "exile"` | yes | Which cost paid is read: sacrifice, discard, reveal or exile | | `property` | `"power" \| "toughness" \| "manaValue"` | yes | Which characteristic of what was paid: power, toughness or mana value | | `noun` | `"creature" \| "artifact" \| "enchantment" \| "permanent" \| "card"` | no | Which kind of object the cost paid with is read | ## Minimal form ```json {"kind":"costPaid","cost":"sacrifice","property":"power"} ``` The engine reads that minimal form as: “the sacrificed creature's power”. ## Stock examples - **Volrath the Fallen** — “” ```json {"kind":"costPaid","cost":"discard","property":"manaValue","noun":"card"} ``` - **Mercurial Chemister** — “” ```json {"kind":"costPaid","cost":"discard","property":"manaValue","noun":"card"} ``` ## Related - [Values](https://drawstep.xyz/wiki/mtg/values.md) — the whole topic - [Start here](https://drawstep.xyz/wiki/mtg/start.md) — the rules, the output contract and the index of every primitive