It is advisable to carry some cash with you when you walk the Camino de Santiago. The main reasons you will need some cash are to pay for accommodation and to pay your bill in some cafes. On the Camino de Santiago, some albergues will accept card, but this tends to be the private ones that are bookable via Booking.com.