latestOpenAPI 3.1.02026-08-2211754502.4 KB
76cfbed5eb40
County
List counties by country
Use this BillingServ API endpoint to list counties for a selected country. Cache the returned canonical county names and IDs for selection, or use search for autocomplete. Pass the selected county ID to the customer endpoint. Review the response for the operation result or validation errors.
get/county/lists-by-country
Query parameters
country_idinteger required
ID of the selected country.
pageinteger
Page number for pagination.
per_pageinteger
Number of counties to return per page. Defaults to 15 and supports up to 100.
searchstring
Optional search by county name or county code.
Response
OK