Paths
/v1/consumer-services/facilities/searchByAddress
Retrieve near by facilities using address
This API is used to retrieve near by ATMs and Branches using address; The scope is public, post-login and entry-point
Client ID generated during application registration
The most recent Authorization token
Content-Types that are acceptable for the response
List of acceptable human languages for response
Random 128 bit UUID generated uniquely for every request from the Customer, which will represent transaction unique identifier
SessionId sent by Consumer
Request object for searching faciliies by address
Success Response
Type | Code | Details |
error | invalidRequest | Missing or invalid Parameters |
error | UserNotFound | CustomerId is Invalid |
Type | Code | Details |
error | unAuthorized | Authorization credentials are missing or invalid |
Type | Code | Details | More Info |
error | accessNotConfigured | The request operation is not configured to access this resource | Channel/Country/Business provided in the request is not supported currently |
Type | Code | Details |
fatal | serverUnavailable | The request failed due to an internal error/server unavailability |
/v1/consumer-services/facilities/searchByGeoLocation
Retrieve near by facilities using geolocation
This API is used to retrieve near by ATMs and Branches using geographic coordinates; The scope is public, post-login and entry-point
Client ID generated during application registration
The most recent Authorization token
Content-Types that are acceptable for the response
List of acceptable human languages for response
Random 128 bit UUID generated uniquely for every request from the Customer, which will represent transaction unique identifier
SessionId sent by Consumer
Request object for searching faciliies by geoLocation
Success Response
Type | Code | Details |
error | invalidRequest | Missing or invalid Parameters |
error | UserNotFound | CustomerId is Invalid |
Type | Code | Details |
error | unAuthorized | Authorization credentials are missing or invalid |
Type | Code | Details | More Info |
error | accessNotConfigured | The request operation is not configured to access this resource | Channel/Country/Business provided in the request is not supported currently |
Type | Code | Details |
fatal | serverUnavailable | The request failed due to an internal error/server unavailability |
Definitions
Request object for searching facilities using address
{
"type": "object",
"required": [
"searchAddressText",
"searchRadius",
"facility"
],
"properties": {
"searchAddressText": {
"type": "string",
"description": "Any combination of address' attributes, e.g. street name, city, postal code, etc.",
"example": "Santa Fe"
},
"searchRadius": {
"type": "integer",
"description": "Search radius in meters",
"example": 1000
},
"searchDay": {
"type": "string",
"description": "Day of the week the facility has to be available",
"example": "MONDAY",
"enum": [
"MONDAY",
"TUESDAY",
"WEDNESDAY",
"THURSDAY",
"FRIDAY",
"SATURDAY",
"SUNDAY"
]
},
"searchTime": {
"type": "string",
"description": "Time the facility has to be available",
"example": "09:00"
},
"topFiveLocationSearchFlag": {
"type": "boolean",
"description": "Flag to retrieve the top five locations",
"example": false
},
"nextStartIndex": {
"type": "string",
"description": "Next start index value",
"example": ""
},
"facility": {
"$ref": "#/definitions/Facility"
}
}
}
Request object for searching facilities using geoLocation
{
"type": "object",
"required": [
"searchRadius",
"facility"
],
"properties": {
"searchRadius": {
"type": "integer",
"description": "Search radius in meters",
"example": 1000
},
"searchDay": {
"type": "string",
"description": "Day of the week the facility has to be available",
"example": "MONDAY",
"enum": [
"MONDAY",
"TUESDAY",
"WEDNESDAY",
"THURSDAY",
"FRIDAY",
"SATURDAY",
"SUNDAY"
]
},
"searchTime": {
"type": "string",
"description": "Time the facility has to be available",
"example": "09:00"
},
"topFiveLocationSearchFlag": {
"type": "boolean",
"description": "Flag to retrieve the top five locations",
"example": false
},
"nextStartIndex": {
"type": "string",
"description": "Next start index value",
"example": ""
},
"facility": {
"$ref": "#/definitions/FacilityInformation"
}
}
}
Response object for searching facilities using address
{
"type": "object",
"required": [
"facilities"
],
"properties": {
"facilities": {
"type": "array",
"description": "Facilities Information",
"items": {
"$ref": "#/definitions/FacilityDetails"
}
},
"nextStartIndex": {
"type": "string",
"description": "Next start index value",
"example": "CqQCEQEAADmTwFWl"
}
}
}
Response object for searching facilities using geoLocation
{
"type": "object",
"required": [
"facilities"
],
"properties": {
"facilities": {
"type": "array",
"description": "Facilities Information",
"items": {
"$ref": "#/definitions/FacilityDetails"
}
},
"nextStartIndex": {
"type": "string",
"description": "Next start index value",
"example": "CqQCEQEAADmTwFWl"
}
}
}
Facility object used in the searchByAddress request
{
"type": "object",
"required": [
"facilityType"
],
"properties": {
"facilityType": {
"type": "string",
"description": "Type of facility to search for",
"example": "ATM",
"enum": [
"ATM",
"BRANCH",
"BOTH"
]
}
}
}
Facility object used in the searchByGeoLocation request
{
"type": "object",
"required": [
"facilityType"
],
"properties": {
"facilityType": {
"type": "string",
"description": "Type of facility to search for",
"example": "ATM",
"enum": [
"ATM",
"BRANCH",
"BOTH"
]
},
"geographicalLocation": {
"$ref": "#/definitions/GeographicalLocation"
}
}
}
Facility object used in the response
{
"type": "object",
"required": [
"facilityName",
"facilityType",
"fullAddress",
"availableTimes",
"geographicalLocation"
],
"properties": {
"facilityName": {
"type": "string",
"description": "Name of the facility",
"example": "citiBanamex Plaza El Punto"
},
"facilityType": {
"type": "string",
"description": "Type of facility to search for",
"example": "BRANCH",
"enum": [
"ATM",
"BRANCH",
"BOTH"
]
},
"fullAddress": {
"type": "string",
"description": "The full address of the Facility as it appears on Google Maps",
"example": "Plaza El Punto, Blvd. Alfredo Del Mazo 727, Torres CientÃficos, Las Torres, 50120 Toluca De Lerdo, Mex"
},
"availableTimes": {
"type": "string",
"description": "List of available times",
"example": "Lunes 9:00-16:00, Martes 9:00-16:00"
},
"currentlyOpenFlag": {
"type": "boolean",
"description": " Indicates if the facility is currently open",
"example": true
},
"fullPhoneNumber": {
"type": "string",
"description": "Phone Number of the facility as it appears on Google Maps",
"example": "+52 55 1234 5678"
},
"geographicalLocation": {
"$ref": "#/definitions/GeographicalDetails"
}
}
}
Geographical Location object in the request
{
"type": "object",
"required": [
"latitude",
"longitude"
],
"properties": {
"latitude": {
"type": "string",
"description": "Latitude value for the geographical location where facility is located.",
"example": "19.44841569999999"
},
"longitude": {
"type": "string",
"description": "Longitude value for the geographical location where facility is located.",
"example": "-99.182073"
}
}
}
Geographical Detail object in the response
{
"type": "object",
"required": [
"latitude",
"longitude",
"photoUrl",
"placeId"
],
"properties": {
"latitude": {
"type": "string",
"description": "Latitude value for the geographical location where facility is located.",
"example": "19.44841569999999"
},
"longitude": {
"type": "string",
"description": "Longitude value for the geographical location where facility is located.",
"example": "-99.182073"
},
"photoUrl": {
"type": "string",
"description": "URL of the map",
"example": "https://maps.googleapis.com/maps/api/place/photo?maxwidth=100&photoreference"
},
"placeId": {
"type": "string",
"description": "Id of the facility according to Google Maps",
"example": "ChIJvzI2eKT40YER81I9Z4ReZe4"
}
}
}
{
"properties": {
"type": {
"type": "string",
"description": "Invalid - Request did not confirm to the specification and was unprocessed and rejected. Please fix the value and try again",
"enum": [
"error",
"warn",
"invalid",
"fatal"
]
},
"code": {
"description": "Error code which qualifies the error",
"type": "string"
},
"details": {
"description": "Human readable explanation specific to the occurrence of the problem",
"type": "string"
},
"location": {
"description": "The name of the field that resulted in the error",
"type": "string"
},
"moreInfo": {
"description": "URI to human readable documentation of the error",
"type": "string"
}
},
"required": [
"type",
"code"
]
}