Yes, cryptocurrencies are fully legal in most countries. There will be no problem using it to pay online.