Age verification with BankID and MitID – now in Dintero Checkout
Do you sell age-restricted products online? You can now require customers to verify their age with BankID or MitID before they pay. It happens right in Dintero Checkout, with no separate integration with an identity provider.
Why age verification in the checkout?
Many online stores sell products that may only be sold to customers above a certain age, and checking that age is the seller's responsibility. A checkbox saying "I am over 18" is not a real check. A separate age verification solution, on the other hand, means one more integration and an extra step for the customer outside the checkout.
With age verification in Dintero Checkout, the check is part of the purchase. Customers sign in with the e-ID they already use for everything else, and the purchase continues as usual.
How it works for the customer
- The customer goes to the checkout.
- Before they can choose a payment method, they are asked to verify their age with BankID (Norway and Sweden) or MitID (Denmark).
- If the customer is old enough, the purchase continues as usual. If they are too young, the purchase stops before payment.
Age verification applies to the whole purchase, not to a single payment method. It makes no difference whether the customer pays by card, Vipps or invoice.
Privacy: You get the answer, not the ID number
Dintero never passes the customer's national identity number on to you. The exact age isn't stored either. You only learn that the customer is above a given age limit (15, 16, 18 or 21), and which e-ID was used.
If the payment method also requires the customer to identify themselves, that happens in the same step. The customer doesn't have to sign in twice.
For developers: one setting on the session
You turn on age verification with age_verification when you create the session, or in a session profile. You set the age limit yourself with minimum_age_required:
- Hosted checkout: There's nothing more to build. The checkout sends the customer to BankID or MitID and back again.
- Your own checkout via the API: As long as the age hasn't been verified, the payment only returns the
complete-age-verificationoperation. Send the customer there, and retry the payment when they come back. - Event and transaction: When the check is passed, the session gets the
AGE_VERIFICATION_COMPLETEDevent withverified_identity.age_over. The same result is copied to the transaction.
Which e-ID the customer gets is decided by the country in the billing address, the shipping address or the preferred country on the session. If the country is missing, the customer chooses. The customer has to be present and verify their age themselves, so the feature doesn't suit payments made without the customer, such as charges to stored cards.
In short
How to get started
Age verification is available in Dintero Checkout now. If you use hosted checkout, you turn it on with one setting on the session or session profile. If you've built your own checkout, you'll find the full flow in the documentation.
Questions?
Contact us at support@dintero.com or reach out to your contact person at Dintero.





