You don't need a digital wallet app to do this, either. Plenty of credit card companies let you generate burner numbers to avoid giving out your real number.
EDIT: Would someone like to explain why this is downvoted? This statement is objectively true; for example, Capital One calls these "virtual card numbers".