Skip to content

Jurisdiction filtering

You can restrict which jurisdictions are accepted for a verification session by passing options to fetchSessionData():

const sessionData = await fetchSessionData(apiKey, undefined, {
jurisdictions: ['us-ca', 'us-ny'],
});

When jurisdictions is set, only credentials from those jurisdictions will pass verification. Values are lowercase ISO 3166 codes — either a country alone (e.g., "us") or a country with subdivision (e.g., "us-ca" for California, "us-ny" for New York).