In Spain you can pay in cash in almost all cases, and usually only Euros are accepted. In some cases, if the payment is made through a machine, it may be necessary to pay by card. The option to pay with credit and debit cards, mainly Visa and Mastercard, is very widespread.