GFX:

offcourse you first need a trade agreement. I am usaully able to get a little cash on top of that.

Sometime later, you send a diplomat and simply choose the cancel trade rights option, and at the same time say they have to pay a sum of money.

Doesn't work all the time, but I managed to do it several times.