API Documentation

POST /merchants/sight

This endpoint implements the MerchantSight product: using AI and statistical approaches, it identifies a merchant name and location.

Headers

NAME VALUE
Content-Type application/json
Authorization Bearer {JWT}

Request

KEY REQUIRED COMMENT
textstring Yes string. The text string found on the card statement.
city No string. City name, if available.
postal_code No string. Merchant postal code, if available.

Response

The response contains a list of results, from the most likely to the least likely, according to our AI.

NAME VALUE
sight JSON array.
sight[].name The identified merchant name.
sight[].address The merchant address.
sight[].google_id The Google ID for this merchant.