Terraria item ID 1844. Terraria 1.4.5.7.
The Pumpkin Moon Medallion is a Hardmode, post-Plantera event-summoning item used to summon the Pumpkin Moon event. It can only be used at night. Attempting to use it during the day will not begin the event, and the item will not be consumed from the player's inventory.
Crafted at Mythril Anvil / Orichalcum Anvil. Ingredients:
Description from the Terraria Wiki.