Skip to main content
Retrieve all supported regions from the eSIM provider. Regions can be countries or broader areas (e.g. “Europe”, “Asia”) and may contain nested sub-locations.

Usage

curl https://api.payvessel.com/api/v1/esim/regions \
  -H "api-key: YOUR_API_KEY" \
  -H "api-secret: YOUR_SECRET_KEY"

Response fields

Each region includes:
FieldTypeDescription
codestringRegion/country code (e.g. US, EU)
namestringDisplay name (e.g. “United States”, “Europe”)
region_typeinteger or nullType identifier for the region
sub_locationsarrayNested sub-regions (same structure, recursive)
Use the code value as the location_code filter when listing packages.

API Reference

Full request/response details and Try it