Coupler seperation

How do you get that pin out of the coupler? Do you just take a screwdriver and a hammer to it or is there a better way?](*,)

I have used a punch and hammer.