When my dad and I were going through customs when we flew to Cameroon, one of the customs windows had technical issues. The officer’s computer turned off right as she was checking my dad’s passport and visa. She told us to wait a little at the window as she called for a staff member to fix the computer problem. While we were waiting, the customs officer asked us where we came from. My dad told her that we came from the U.S. The officer then pointed to my carry-on and asked whether or not I had brought her anything from the U.S. I thought we were joking at the time, so I just smiled at her and did not answer the question. After we left the airport, my dad explained to me that he had seen many officers asking travelers for things they brought in their suitcases and sometimes opening and checking their suitcases for things they wanted.
It is important to note that these events happen all the time, so you can be mentally prepared for such incidents. In the best-case scenario, a customs officer has already checked and returned your documents and does not directly ask you for money or your items. In this case, a situation similar to my experience described above, the best approach would be to either politely refuse their indirect request, divert their attention by changing the subject of the conversation, or pretend as if you did not understand what they are saying due to language barriers.
However, in most common cases, the officers will find all kinds of ways to ask you for money when they are still holding and in the process of checking your documents, so you are forced to pay them if you want to go through customs. At that point, it would be impossible to avoid giving money to the officers. Of course, if you do actually have the “missing documents” by chance, it would be brilliant. But ultimately, it is wiser to give the officers the money instead of being stuck at customs and complicating it further. There are seldom any people around to help you in situations like this, and customs officers do not request too much money. A few dollars would be a lifesaver, and any currency would work in situations like this.
See a video with more details regarding my experience here.

