State
Read on retrieving enabled states
The state API provides a list of all states in the origination country which is enabled for you.
Field
Type
Description
id
Integer
ID of the state
name
String
Full name of the state
code
String
2-character ISO code of the state
country_id
String
ID of the country
Get a list of all available states
GET /v2/states
Get state by code
GET /v2/states?countryCode={{countryCode}}
Field
Type
Description
countryCode
String
ISO Code of a Country
Get state by ID
GET /v2/states/{{stateId}}
Field
Type
Description
stateId
Integer
ID of the state
Last updated