What is the meaning of ピン?

an ace in cards or a "one" in dice

the first or top item

: the cut or percentage taken from something, the rake-off

a pin, such as a hairpin, tie pin, bowling pin, or golf pin

Source: wiktionary.org