# Age verification

Set a minimum age in Kustom Checkout and verify it through BankID in Norway and Sweden. Requires age verification enabled on your account.

Available in Norway and Sweden. **Enable it on your account first** by contacting
[merchant@kustom.co](mailto:merchant@kustom.co).

## Declare a minimum age

```json
{
  "options": {
    "verify_age": {
      "minimum_age": 18
    }
  }
}
```

The checkout shows the age requirement. For every payment method, Kustom verifies the
customer's age through BankID using their national identification number and checks that
the verified name matches the customer. Customers below the minimum age can't complete
the purchase.

## The two older options

These options remain supported but don't enforce a minimum age:

- `options.national_identification_number_mandatory` requires the customer to enter their national identification number. Reading it back from the Order Management API needs a specific agreement with Kustom, and requiring it measurably costs conversion.
- `options.verify_national_identification_number` additionally validates that number through a third party such as BankID.

Use `verify_age` for age checks in new integrations.

## Related

- [Checkout options](/checkout/checkout-options/) — the `options` block this field sits in
- [Create an order](/checkout/integrate/create-order/) — the call it belongs to
