Skip to main content
Live
  • Identity
Available in
  • UK

Age Verify

1.1.1

Check whether a customer is eligible for age-restricted products and services. Vodafone only holds age details for certain customers, and there are some limitations: The MSISDN must be a postpaid Vodafone account. The MSISDN must not belong to a family account (i.e. accounts with two or more MSISDNs), or a business account.

This API follows the GSMA Mobile Connect specification.

Try it out 

Live
  • Identity
Available in
  • UK

Age Verify

1.1.1

Check whether a customer is eligible for age-restricted products and services. Vodafone only holds age details for certain customers, and there are some limitations: The MSISDN must be a postpaid Vodafone account. The MSISDN must not belong to a family account (i.e. accounts with two or more MSISDNs), or a business account.

This API follows the GSMA Mobile Connect specification.

Try it out 

Image
Lightbulb icon
It can be used for
  • A frictionless age verification experience
  • Fastest way to verify a user's age
  • Prevent access to age-restricted content or buying age-restricted products
  • Verifying someone's age with just their phone number

API Information

Version v1.1.1
Protocol HTTPS
Sandbox URL https://api-sandbox.vf-dmp.engineering.vodafone.com
Live URL https://eu3.api.vodafone.com
Version history 1.1.1
Release date September 2023
Status Live
Description Age Verification extends the ATP Specification for Mobile Connect. This API enables age verification check against data held by a mobile operator. 

How it works

  1. A customer is shopping online and puts an age-restricted item in their basket.

  2. The customer is notified on the website (or app) that they must verify their age and insert their mobile phone number (MSISDN).

  3. The website sends an SMS to the customer to confirm their age.

  4. The customer clicks the link contained in the SMS to prove possession of the phone number.

  5. The website sends an Age Verify request to Vodafone.

  6. Vodafone responds with True/False as to whether the MSISDN belongs to someone 18 or older.

Note

The device needs to be identifiable by the network. Our implementation requires the IP address to return a location. If an IP address is not provided by the user,  the system takes the sending IP address from the http request and then populates the IP header in the API call.

Run in Postman

To begin using the Vodafone workspace in Postman, please follow the steps below to create a set of credentials that can be used with our sandbox collections:

  • Register an account on https://developer.vodafone.com and create a sandbox app for the APIs that you are interested in.
  • Use the Client Key and Secret from your sandbox app to populate the relating variables in the "Sandbox Credentials" environment group in Postman.
  • Call the token endpoint to create a bearer token that is used in the API resource endpoint. Your client credentials will be taken from the environment variables and used in a basic OAuth flow.
  • You need to call the token end-point for each API as the API scope is held in the request body of the token call.
  • The last bearer token and trace ID will be stored in collection variables associated with the API solution that you have chosen.
  • You can use these collections as read-only or create a fork into your own personal workspace to edit the details.

You can access all of Vodafone's sandbox APIs in our Postman workspace by clicking the button below:

Run in Postman Button

What is Postman?

Postman is a popular development and testing tool that is widely used across the API developer community. It offers an easy to use interface for making HTTP requests, testing API responses and collaborating with team members. For more details, see postman.com

Vodafone Developer Portal

Discover, try, and purchase our APIs to start building your own apps