Query the reference catalogs available in Mexico. Use these endpoints to populate dropdowns and validate data when registering users or configuring accounts.Service available in Mexico only.
Requirements#
An API key (sent in BP-Api-Key header)
Environments#
| Environment | Base URL |
|---|
| Dev | https://v2.legacy.billpocket.com |
| Live | https://test.v2.legacy.billpocket.com |
States#
Returns the list of Mexican states with their IDs.[
{ "id": 1, "desc": "AGUASCALIENTES" },
{ "id": 2, "desc": "BAJA CALIFORNIA" }
]
Municipalities#
GET /v2/estados/{ID_ESTADO}Returns the municipalities for a given state. Pass the state id from the States endpoint as ID_ESTADO.[
{ "id": 1, "desc": "AGUASCALIENTES" },
{ "id": 2, "desc": "ASIENTOS" }
]
Tax companies#
Returns the list of legal entity types (tipos de sociedad) with abbreviations.[
{ "id": 1, "desc": "Sociedad Civil", "abrv": "S.C." },
{ "id": 2, "desc": "Asociación Civil", "abrv": "A.C." }
]
Commercial activities#
Returns the list of commercial activity types (giros comerciales).[
{ "id": 1, "desc": "Agencia de Viajes" },
{ "id": 2, "desc": "Agente de Seguros o Aseguradora" }
]
Next steps#
Got a suggestion on this documentation? Contact us.