Retailers
POST /get_retailer_locations
Changed onFind retailer locations using either an address or coordinates
Request
- Base URLhttps://api.paynearme-sandbox.com/json-api
- Auth
- OAuth 2Client credentialsToken URLhttps://login.paynearme.com/oauth/token
- or API key in query parameter signature
Request body
Example request
{
"street": "5201 Great America Pkwy",
"city": "Santa Clara",
"state": "CA",
"postal_code": "95054"
}Response
List of Retailers Created
Example response
{
"status": "ok",
"locations": [
{
"retailer": "7-Eleven",
"street": "486 Gov. Printz Blvd.",
"city": "DE",
"latitude": "39.75529",
"longitude": "-75.49923",
"distance": "1.17",
"phone": "302-764-5180",
"pnm_retailer_identifier": "7-Eleven"
}
]
}Changes
- breaking
removed the success response with the status
- info
api operation id
get_retailer_locationswas added - info
the request property
site_identifierwith a default value became required
4 more changes in this revision
- breaking