Offers-Near-Me API response

Offers-Near-Me

The Offers-Near-Me API is available in multiple variants (as detailed below). Choose the one that works best for your current environment.

Offers-near-me + LatLon

Offers-near-me + CityName

Offers-near-me + Category + LatLong

Offers-near-me + Category + Cityname

Also read how this API can be used for Offers-near-ATM use-case

Offers-Near-me with Latlon

API url : <baseURL>action=offers_near_me&clientkey=< clientkey >&clientpass=< clientpass >&apikey=< apikey >&user_id=< userid >&user_latitude=< user latitude >&user_longitude=< user longitude >&card_codes = < specific card codes>

Parameters:

  • action = offers_near_me
  • clientkey = < client key >
  • clientpass= < client password >
  • apikey = < api key >
  • user_id = < user’s email id/user’s device Id >
  • user_latitude = < user’s latitude >
  • user_longitude = < user’s longitude >
  • card_codes = < specific card codes>
  • maxdist = show offers from outlet that are less than x kms away

Response:

This API will return offers near to user’s current location.

Offers-Near-Me API response
Offers-Near-Me API response

Offers -Near-me with cityname

API url :  <baseURL> action=offers_near_me&clientkey=< clientkey >&clientpass=< clientpass >&apikey=< apikey >&user_id=< userid >&cityname=< cityname >& card_codes = < specific card codes>

Parameters:

  • action = offers_near_me
  • clientkey = < client key >
  • clientpass= < client password >
  • apikey = < api key >
  • user_id = < user’s email id/user’s device Id >
  • cityname = < cityname >     Get City List
  • card_codes = < specific card codes>

Response:

This API will return offers of single bank near to user’s current city. We have assumed a center point for each city we have offers from and the offers list will be sorted by proximity to this center point of the city.


Category specific Offers -Near-me with latlon

API url :  <baseURL> action=category_offers&clientkey=< clientkey >&clientpass=< clientpass >&apikey=< apikey >&user_id=< userid >&user_latitude=< user latitude >&user_longitude=< user longitude >&card_codes = < specific card codes> &category=< category >

Parameters:

  • action = category_offers
  • clientkey = < client key >
  • clientpass= < client password >
  • apikey = < api key >
  • user_id = < user’s email id/user’s device Id >
  • user_latitude = < user’s latitude >
  • user_longitude = < user’s longitude >
  • card_codes = < specific card codes>
  • category = < category eg. dining,entertainment,fuel,lifestyle,online,shopping,telecom,travel,wellness >Get Categories API

Response:

This API will return offers of bank near to user’s current location under defined category. Suppose, if we pass category=dining in url, it will return offers of dining category only of bank near to user’s current location.


Category specific Offers -Near-me with cityname

API url :  <baseURL> action=category_offers&clientkey=< clientkey >&clientpass=< clientpass >&apikey=< apikey >&user_id=< userid >&cityname=< cityname >& card_codes = < specific card codes> &category=< category >

Parameters:

  • action = category_offers
  • clientkey = < client key >
  • clientpass= < client password >
  • apikey = < api key >
  • user_id = < user’s email id/user’s device Id >
  • cityname = < cityname >     Get City List
  • card_codes = < specific card codes>
  • category = < category eg. dining,entertainment,fuel,lifestyle,online,shopping,telecom,travel,wellness > Get Category List

Response:

This API will return offers of bank in user’s current cityname under defined category. Suppose, if we pass category=dining in url, it will return offers of dining category only of bank near to user’s current location. Check out the response JSON using our demo account



Comments

5 responses to “Offers-Near-Me”

  1. […] ATM is a good proxy for location. We use this ATMs location and mesh it with the Offers-Near-Me APIs from mTuzo to deliver this […]

  2. […] Offers-near-me (4 variants) […]

  3. […] Offers-near-me API (Single card code or multiple card codes) […]

  4. […] APIs power Offers-near-me experience for consumers on the WishFin app. They can see the unique offers for their cards, near their […]

  5. […] Offers-near-me (4 variants) […]