1. Home
  2. Docs
  3. Data Partners API Documentation
  4. Merchant Discover

Merchant Discover

This endpoint allows the subscriber to look up a merchant’s detail with only the ID on a card statement.
/merchant/discover?merchid=
For example:

In cUrl:

curl \
URL/merchant/discover\?merchId\=DOLIUMPTYLTDWELSHPOOLWA \
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer eyJ0**********Cn246E'

And in Python:

endpoint = “/merchant/discover”
params = {“merchId”: “DOLIUMPTYLTDWELSHPOOLWA”}
headers = {} # set content-type and authorization like above
resp = requests.get(
url + endpoint,
headers=headers,
params=params
)

If a match is found for the merchant ID, the response should be as follows:
{
"result": {
"merchants": [
{
"ID": "DOLIUMPTYLTDWELSHPOOLWA",
"address": "UNIT 2 248 WELSHPOOL RD",
"category": "5533 - AUTOMOTIVE PARTS ACCESSORIES STORES",
"city": "WELSHPOOL",
"comment": 100,
"confScore": 100,
"countryCode": "AUS",
"countryName": "AUSTRALIA",
"dbaName": "DOLIUM PTY LTD",
"locationId": 344147943,
"phoneNumber": 893582575,
"zip": 6106
}
],
"message": "Atleast 1 merchant found."

How can we help?