BillingPaymentsCrypto
BillingPaymentsCrypto
  • Getting Started
    • ๐Ÿ‘‹ Welcome
    • ๐Ÿ”‘ Sandbox credentials
    • ๐Ÿ Getting Started
    • ๐Ÿ“จ Webhooks
  • Payments API Reference
LogoLogo
Payments API ReferenceCountries

GET
/api/v1/countries/:countrySymbol/states/:stateId/counties/:countyId
GET
/api/v1/countries/:countrySymbol/states/:stateId/counties/:countyId
1curl https://api.koywe.com/api/v1/countries/MX/states/1/counties/cnt_456
Try it
200Retrieved
1{
2 "id": "cnty_b99a52f0-dd5e-4659-953f-15a1db623afd",
3 "name": "string",
4 "stateId": "string",
5 "code": "string",
6 "billingId": 1.1,
7 "State": {
8 "id": "st_8289dc19-e775-4c0c-a42a-e0da129e3b64",
9 "name": "Aguascalientes",
10 "countryId": "ctry_234d985a-a899-473c-915b-04cbb67207cc",
11 "Country": {
12 "id": "ctry_8efa0d0c-f834-42eb-af78-ff4149c2e6ef",
13 "name": "string",
14 "fullName": "string",
15 "Currency": {
16 "currency": "ARS",
17 "currencyId": "cur_8289dc19-e775-4c0c-a42a-e0da129e3b64"
18 },
19 "twoLetterIso": "string"
20 },
21 "code": "AGU",
22 "billingId": 18
23 }
24}
Was this page helpful?
Previous

Get available banks

Next
Built with
Retrieve detailed information for a specific county/municipality within a state and country
Get county by ID

Path parameters

countrySymbolstringRequired

Country symbol (ISO 3166-1 alpha-2 code, e.g., โ€˜MXโ€™, โ€˜USโ€™, โ€˜CAโ€™)

stateIdstringRequired

State identifier (e.g., โ€˜1โ€™, โ€˜25โ€™)

countyIdstringRequired
County identifier (e.g., 'cnt_456', 'cnt_789')

Response

Get county by ID
idstring
namestring
stateIdstring
codestring
billingIddouble
Stateobject

Errors

County identifier (e.g., โ€˜cnt_456โ€™, โ€˜cnt_789โ€™)

Retrieve detailed information for a specific county/municipality within a state and country