Get states by country Id
Gets all States under a country whose Id is provided.
View Loan reason appropriate for loan applications
GET
https://<your_business_alias>.lendastack.io/ias/country/states?countryId=130
This endpoint fetches loan reason on the system.
Query Parameters
Name
Type
Description
countryId*
int
Id of the country to fetch the states from
Headers
Name
Type
Description
Authentication*
String
The encoded combination of your public key and secret key (see the Test and go live section of the docs)
{
"data": [
{
"id": 1,
"name": "Abia",
"countryId": 130
},
{
"id": 2,
"name": "Adamawa",
"countryId": 130
},
{
"id": 3,
"name": "Akwa Ibom",
"countryId": 130
},
{
"id": 4,
"name": "Anambra",
"countryId": 130
},
{
"id": 5,
"name": "Bauchi",
"countryId": 130
},
{
"id": 6,
"name": "Bayelsa",
"countryId": 130
},
{
"id": 7,
"name": "Benue",
"countryId": 130
},
{
"id": 8,
"name": "Borno",
"countryId": 130
},
{
"id": 9,
"name": "Cross River",
"countryId": 130
},
{
"id": 10,
"name": "Delta",
"countryId": 130
},
{
"id": 11,
"name": "Ebonyi",
"countryId": 130
},
{
"id": 12,
"name": "Enugu",
"countryId": 130
},
{
"id": 13,
"name": "Edo",
"countryId": 130
},
{
"id": 14,
"name": "Ekiti",
"countryId": 130
},
{
"id": 15,
"name": "mbe",
"countryId": 130
},
{
"id": 16,
"name": "Imo",
"countryId": 130
}
],
"status": true,
"message": "Success"
}
Last updated
Was this helpful?