I had to cough up fifty dollars for the ticket.
cough up
idiomTo reluctantly or unwillingly give.
Origin
disputed originFrom Middle English coughen up, equivalent to cough + up. Sense 2.1 was perhaps influenced by coffers of money. (to lose by one's own mistakes): Compare typologically Russian проду́ть (prodútʹ), профу́кать (profúkatʹ).
The company finally coughed up the money they owed after the lawyer sent them a formal letter.
Despite his deep resentment toward the new tax laws, he eventually coughed up the required payment to avoid further legal complications.