How do you pay overstay fine?

Good  Morning,

Does anyone have any pointers on how to pay your overstay fine? I understand you must go the bank... Can I bring dollars and get them exchanged at the bank? Or should I bring reais?

Should I bring all the money in full, or do they have an option to withdraw from a machine with a credit card for example...?

Thank you, I only have a few hours at the airport so want to be prepared.

Thanks

New topic
expected searchd protocol version 1+, got version '0'