From the Super Mario Wiki
The Nintendo Coin is a large coin with the Nintendo 64 logo on it. The Nintendo Coin is found in Donkey Kong 64. After the player beats the old Donkey Kong arcade machine in Frantic Factory, Squawks the Parrot appears and tells Donkey Kong to play the game again to win a special prize. After paying two coins, the player can use the arcade machine again. This time though, instead of rescuing Pauline, the player has to rescue the Nintendo Coin in a more difficult setting.