A government API. It gives claims. Such as user x is an adult.
User logs in first, authorises an app to get a specific claim a specific period or amount of times, User logs in to the app, app calls the API.
There is no need for IDs or credit cards or any of the sort.
The EU has already solved this years ago?