# Drawstep engine · Costs · `payCounters` > Pay counters — Pay player counters: "Pay {E}{E}" → counter "energy", amount 2. 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/costs#payCounters ## Where it goes One part of a `cost` object (an activated ability's cost, `mayPay`, `unlessPays`, an `additionalCost`): `{ "payCounters": … }`; parts combine freely. ## Fields | Field | Type | Required | Description | |---|---|---|---| | `payCounters` | `{ counter: string; amount: ValueDef }` | no | Pay player counters: "Pay {E}{E}" → counter "energy", amount 2 | ## Stock examples - **Energy Payment Witness** — “” ```json {"payCounters":{"counter":"energy","amount":{"kind":"var","name":"X"}}} ``` - **Energy Foundry** — “” ```json {"payCounters":{"counter":"energy","amount":{"kind":"var","name":"X"}}} ``` - **Nissa, Worldsoul Speaker** — “You may pay eight {E} rather than pay the mana cost for permanent spells you cast.” ```json {"payCounters":{"counter":"energy","amount":8}} ``` ## Related - [Costs](https://drawstep.xyz/wiki/mtg/costs.md) — the whole topic - [Values](https://drawstep.xyz/wiki/mtg/values.md) — every number kind an `amount` accepts - [Start here](https://drawstep.xyz/wiki/mtg/start.md) — the rules, the output contract and the index of every primitive