# US 2019/0228411 A1 · Methods and systems for improving merchant data

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2019/0228411 A1
- Document ID: US20190228411A1
- Status: Published application
- Kind: A1
- Application number: 16/250,434
- Filed: 2019-01-17
- Published: 2019-07-25
- Earliest claimed: 2018-01-23
- Assignees: First Performance Corporation
- Applicants: First Performance LLC
- Inventors: William M. Hernandez-Ellsworth; Sosh A. Howell; Walter G. Ley
- Web page: https://patentgrep.com/patent/US20190228411A1

## CPC

- G06Q 20/40: Authorisation, e.g. identification of payer or payee, verification of customer or shop credentials; Review and approval of payers, e.g. check credit lines or negative lists
- G06F 16/22: Indexing; Data structures therefor; Storage structures
- G06F 16/25: Integrating or interfacing systems involving database management systems
- G06Q 20/085: {involving remote charge determination or related payment systems}
- G06Q: INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A method including receiving a merchant authorization message; extracting from the merchant authorization message, the merchant name and the merchant category code; retrieving location data from a first database; identifying and removing, from the merchant authorization message, a system identification and a payment terminal type; retrieve a plurality of entries; determine, for each of the plurality of entries, a relevance score; sort, based on the determined relevance scores, each of the plurality of retrieved entries; associate, with the updated merchant name, a particular entry of the plurality of entries having the highest relevance score; generate a dataset; comparing the merchant category data to a pre-defined list of merchant categories; updating the merchant category data; determining a merchant category similarity score; responsive to the merchant category data having a merchant category similarity score above a predetermined threshold, updating the merchant category field; and outputting, for transmission, the dataset to the device.

## Claims

### Claim 1

A method for improved merchant data, the method comprising:
receiving, by a processor and from a device, a merchant authorization message, the merchant authorization message comprising (i) a merchant name and (ii) a merchant category code;
extracting, by the processor and from the merchant authorization message, the merchant name and the merchant category code;
responsive to identifying, by the processor, location data belonging to an entry within a first database, wherein at least a portion of the entry matches at least a portion of the merchant name, retrieving the identified location data;
responsive to identifying, by the processor and from the merchant name, (i) a first portion of the merchant name consistent with a system identification and (ii) a second portion of the merchant name consistent with a type of payment terminal, removing, from the merchant name, (i) the first portion of the merchant name consistent with the system identification and (ii) the second portion of the merchant name consistent with the type of payment terminal to provide an updated merchant name;
retrieving, from a second database, a plurality of entries, each of the plurality of retrieved entries comprising (i) a name field containing name data matching at least a portion of the updated merchant name, (ii) a geography field containing geographic data representative of a geographic location within a predetermined distance of a physical location represented by the location data and (iii) a merchant category field containing merchant category data;
determining, for each of the plurality of retrieved entries, a relevance score based at least upon a combination of (i) a distance between the geographic location for a particular retrieved entry and the physical location and (ii) how closely the name data for the particular retrieved entry matches the updated merchant name;
sorting, based on the determined relevance scores, each of the plurality of retrieved entries;
associating, with the updated merchant name, a particular entry of the plurality of entries having the highest relevance score;
generating a dataset comprising (i) the updated merchant name and, from the particular entry of the plurality of entries having the highest relevance score, (ii) the geography field containing geographic data representative of the geographic location and (iii) the merchant category field containing the merchant category data;
comparing the merchant category data to a pre-defined list of merchant categories;
responsive to finding an inexact match, updating the merchant category data to be representative of one of the pre-defined list of merchant categories, wherein the one of the pre-defined list of merchant categories has the most similarity to the merchant category data;
comparing the merchant category data to the merchant category code to determine a merchant category similarity score;
responsive to the merchant category data having a merchant category similarity score above a predetermined threshold, updating the merchant category field to include data representative of the respective merchant category; and
outputting, for transmission, the dataset to the device.

### Claim 2 (depends on 1)

The method of claim 1, wherein the merchant authorization message further comprises (iii) at least one of a merchant identifier, a merchant location comprising at least one of a country code and a state code, and a merchant address.

### Claim 3 (depends on 1)

The method of claim 1, wherein the identified location data comprises geographic coordinates.

### Claim 4 (depends on 1)

The method of claim 1, wherein each of the plurality of retrieved entries further comprises (iv) a website field containing a merchant website address.

### Claim 5 (depends on 1)

The method of claim 1, wherein the dataset further comprises (iv) the website field containing the merchant website address.

### Claim 6 (depends on 1)

The method of claim 1 further comprising updating the merchant category field to include a merchant category similarity score associated with each respective merchant category.

### Claim 7 (depends on 1)

The method of claim 1 further comprising outputting, for transmission, the dataset to the second database.

### Claim 8 (depends on 1)

The method of claim 1 further comprising storing the generated dataset in a third database associated with the processor.

### Claim 9 (depends on 1)

The method of claim 1, wherein the merchant category similarity score is within a range of 0.0 and 1.0, and wherein the merchant category similarity score of 1.0 represents an exact match and wherein the merchant category similarity score of 0.0 represents no match.

### Claim 10 (depends on 3)

The method of claim 3 further comprising:
generating, based on the geographic coordinates, a merchant address; and
associating the merchant address with the physical location.

### Claim 11

A system for improving merchant data comprising:
one or more processor; and
at least one memory in communication with the one or more processors and storing computer program code that, when executed by the one or more processors, is configured to cause the system to:
receive, from a device, a merchant authorization message, the merchant authorization message comprising (i) a merchant name and (ii) a merchant category code;
extract, from the merchant authorization message, the first merchant name and the merchant category code;
in response to identifying location data belonging to an entry within a first database, wherein at least a portion of the entry matches at least a portion of the first merchant name, retrieve the identified location data;
in response to identifying from the first merchant name, (i) a first portion of the first merchant name consistent with a system identification and (ii) a second portion of the first merchant name consistent with a type of payment terminal, remove, from the first merchant name, (i) the first portion of the first merchant name consistent with the system identification and (ii) the second portion of the first merchant name consistent with the type of payment terminal to provide an updated merchant name;
retrieve, from a second database, a plurality of entries, each of the plurality of retrieved entries comprising (i) a name field containing name data matching at least a portion of the updated merchant name, (ii) a geography field containing geographic data representative of a geographic location within a predetermined distance of a physical location represented by the location data and (iii) a merchant category field containing merchant category data;
determine, for each of the plurality of retrieved entries, a relevance score based at least upon a combination of (i) a distance between the geographic location for a particular retrieved entry and the physical location and (ii) how closely the name data for the particular retrieved entry matches the updated merchant name;
sort, based on the determined relevance scores, each of the plurality of retrieved entries;
associate, with the updated merchant name, a particular entry of the plurality of entries having the highest relevance score;
generate a dataset comprising (i) the updated merchant name and, from the particular entry of the plurality of entries having the highest relevance score, (ii) the geography field containing geographic data representative of the geographic location and (iii) the merchant category field containing the merchant category data;
compare the merchant category data to a pre-defined list of merchant categories;
in response to finding an inexact match, update the merchant category data to be representative of one of the pre-defined list of merchant categories, wherein the one of the pre-defined list of merchant categories has the most similarity to the merchant category data;
comparing the merchant category data to the merchant category code to determine a merchant category similarity score;
in response to the merchant category data having a merchant category similarity score above a predetermined threshold, update the merchant category field to include data representative of the respective merchant category code; and
output, for transmission, the dataset to the device.

### Claim 12 (depends on 11)

The system of claim 11, wherein the merchant authorization message further comprises (iii) at least one of a merchant identifier, a merchant location comprising at least one of a country code and a state code, and a merchant address.

### Claim 13 (depends on 11)

The system of claim 11, wherein the identified location data comprises geographic coordinates.

### Claim 14 (depends on 11)

The system of claim 11, wherein each of the plurality of retrieved entries further comprises (iv) a website field containing a merchant website address.

### Claim 15 (depends on 11)

The system of claim 11, wherein the dataset further comprises (iv) the website field containing the merchant website address.

### Claim 16 (depends on 11)

The system of claim 11 further comprising updating the merchant category field to include a merchant category similarity score associated with each respective merchant category.

### Claim 17 (depends on 11)

The system of claim 11, wherein the merchant category similarity score is within a range of 0.0 and 1.0, and wherein the merchant category similarity score of 1.0 represents an exact match and wherein the merchant category similarity score of 0.0 represents no match.

### Claim 18 (depends on 13)

The system of claim 13 further comprising:
generating, based on the geographic coordinates, a merchant address; and
associated the merchant address with the physical location.

### Claim 19

A method for improving merchant data, the method comprising:
receiving, by a processor, a plurality of merchant authorization messages, each of the plurality of merchant authorization messages comprising (i) a merchant name and (ii) a merchant category code;
extracting, by the processor and from each of the plurality of merchant authorization messages, the respective merchant name and the respective merchant category code;
responsive to identifying, by the processor and from each respective merchant name, (i) a first portion of the merchant name consistent with a system identification and (ii) a second portion of the merchant name consistent with a type of payment terminal, removing, from the merchant name, (i) the first portion of the merchant name consistent with the system identification and (ii) the second portion of the merchant name consistent with the type of payment terminal to provide an respective updated merchant name;
for each updated respective merchant name, retrieving, from a database, a plurality of entries, each of the plurality of retrieved entries comprising (i) a name field containing name data matching at least a portion of the respective updated merchant name, (ii) a website address field containing website address data, and (iii) a merchant category field containing merchant category data;
responsive to identifying, by the processor and from each respective website address data, a first portion of the website address data consistent with a protocol, removing, from the website address data, the first portion of the website address data consistent with the protocol to provide a respective updated web site address data;
responsive to identifying, by the processor and from each respective website address data, a second portion of the website address data consistent with a subdomain, removing, from the website address data, the second portion of the website address data consistent with the subdomain to provide a respective updated website address data;
responsive to identifying, by the processor and from each respective website address data, a third portion of the website address data consistent with a path, removing, from the website address data, the third portion of the website address data consistent with the path to provide a respective updated website address data;
grouping, each of the retrieved plurality of entries based on at least one of (i) the respective updated merchant name matching at least a portion of the name data and (ii) the respective updated merchant name matching at least a portion of the updated website address data;
for each grouped plurality of entries, generating an umbrella merchant name based on each of the respective updated merchant names of the grouped plurality of entries;
associating the respective umbrella merchant name with each of the grouped plurality of entries; and
generating a dataset comprising the umbrella merchant name and each of the grouped plurality of entries.

### Claim 20 (depends on 19)

The method of claim 19, wherein the dataset is transmitted to a first device.
