Challenges keep the player's subdivision

The jurisdiction on a challenge now always includes the player's subdivision, for example US-NY. Before, some challenges returned only the country code (US) when your product had no settings of its own for that subdivision.

What's changed

  • Age assurance at entry. The CHALLENGE_AGE_GATE_AGE_ASSURANCE challenge from /age-gate/check has the jurisdiction from your request.
  • Session upgrades. The challenges from /session/upgrade have the jurisdiction of the session.
  • Get challenge. /challenge/get returns the same value for these challenges.

Sessions and parental consent challenges already returned the subdivision. Now these challenges match them.

Compatibility

There are no new fields. The value is an ISO 3166-1 alpha-2 country code or an ISO 3166-2 subdivision code, as the API reference already describes.

The value changes only for a subdivision that has no settings of its own in your product. For these players, challenges used to return the country code. If you send a country code, the value does not change.

If your code compares a challenge's jurisdiction with a country code, make sure that it also accepts a subdivision code.

Webhooks do not change. The Challenge.StateChange event does not include a jurisdiction.

Documentation

On this page