List countries
Use this BillingServ API endpoint to list countries. Cache the returned canonical names and IDs for country selection, or use search for autocomplete. Pass the selected country ID to the customer endpoint and county lookup. Review the response for the operation result or validation errors.
Query parameters
Page number for pagination.
Number of countries to return per page. Defaults to 15 and supports up to 100.
Optional search by country name, ISO-2 code, or ISO-3 code.
Response
OK
Changes
Changed in 2 of the 6 revisions of this API.9
- ○
added the new optional
queryrequest parameterpagenew-optional-request-parameter
- ○
added the new optional
queryrequest parameterper_pagenew-optional-request-parameter
- ○
added the new optional
queryrequest parametersearchnew-optional-request-parameter
- ○
- ○
added the optional property
codeto the response with the401statusresponse-optional-property-added
- ○
added the optional property
codeto the response with the403statusresponse-optional-property-added
- ○
added the optional property
codeto the response with the422statusresponse-optional-property-added
- ○
added the optional property
request_idto the response with the401statusresponse-optional-property-added
- ○
added the optional property
request_idto the response with the403statusresponse-optional-property-added
- ○
added the optional property
request_idto the response with the422statusresponse-optional-property-added
- ○