Skip to main content
Lists the user’s promo (coupon) codes: every code they have redeemed or attempted, with its amount and state: used (credit already sent), processing (mid-transfer), available (a failed attempt they can retry with redeem_code), or expired. Codes the user has never presented cannot be listed; they only enter the history via redeem_code.
Advanced tool. Not advertised in the default tools/list (it is the read companion of redeem_code); it remains callable by name. See tool gating.

Parameters

This tool takes no parameters.

Returns

The user’s promo-code history newest first, each entry with the code (canonical uppercase form), its amount_cents of balance credit, and its state, plus a count. With no history, you get a “no codes” note.

Example