I just got back from Niamey. There are very few places that take credit cards. The only place we used the credit card was the hotel where we stayed. Most restaurants only take cash. Of course, there are ATM machines throughout the city. The grocery store only took cash. Your credit card will be of little value there. YMMV.