Do virtual and digital cards have an expiry date?

Yes, both virtual and digital cards have expiration dates, same as physical cards. However, some virtual cards are designed for single use only and automatically expire after one transaction.