# Merchant monitoring (/score-api/endpoints/merchant-monitoring)



{/* Written by scripts/build-use-cases.mjs from internal/usecases/catalog.json and use-cases/site.json. Change those, not this file. */}

**Know when a merchant stops being the business you approved.** Send a merchant's name and website. Finic reads the site for you, compares it with what the business told you, and scores it at onboarding and again whenever you ask.

| Endpoint                  | Price          | Group            |
| ------------------------- | -------------- | ---------------- |
| `POST /v1/score/merchant` | $0.10 per call | KYB & Compliance |

## Request [#request]

Send what you know in one `context` object. `name` and `website` are required; every other field is optional. A field can hold text, JSON or CSV.

<Tabs items="[&#x22;curl&#x22;, &#x22;Python&#x22;, &#x22;TypeScript&#x22;]">
  <Tab value="curl">
    ```bash
    curl https://api.finic.ai/v1/score/merchant \
      --header "Authorization: Bearer $FINIC_API_KEY" \
      --header "Content-Type: application/json" \
      --data '{
        "context": {
          "name": "Northwind Wellness LLC",
          "website": "https://northwindwellness.example",
          "declared_business": { "category": "vitamins and supplements", "mcc": "5499", "approved": "2026-03-14" },
          "sales": "month,volume_usd,average_ticket_usd\n2026-09,41000,38\n2026-10,96000,120\n2026-11,372000,410",
          "refunds_and_chargebacks": { "chargeback_rate": 0.019, "chargeback_rate_90_days_ago": 0.002 }
        }
      }'
    ```
  </Tab>

  <Tab value="Python">
    ```python
    import os
    import requests

    response = requests.post(
        "https://api.finic.ai/v1/score/merchant",
        headers={"Authorization": f"Bearer {os.environ['FINIC_API_KEY']}"},
        json={
            "context": {
                "name": "Northwind Wellness LLC",
                "website": "https://northwindwellness.example",
                "declared_business": { "category": "vitamins and supplements", "mcc": "5499", "approved": "2026-03-14" },
                "sales": "month,volume_usd,average_ticket_usd\n2026-09,41000,38\n2026-10,96000,120\n2026-11,372000,410",
                "refunds_and_chargebacks": { "chargeback_rate": 0.019, "chargeback_rate_90_days_ago": 0.002 }
            }
        },
        timeout=30,
    )
    response.raise_for_status()
    print(response.json()["score"])
    ```
  </Tab>

  <Tab value="TypeScript">
    ```ts
    const response = await fetch("https://api.finic.ai/v1/score/merchant", {
      method: "POST",
      headers: {
        Authorization: `Bearer ${process.env.FINIC_API_KEY}`,
        "Content-Type": "application/json",
      },
      body: JSON.stringify({
        context: {
          "name": "Northwind Wellness LLC",
          "website": "https://northwindwellness.example",
          "declared_business": { "category": "vitamins and supplements", "mcc": "5499", "approved": "2026-03-14" },
          "sales": "month,volume_usd,average_ticket_usd\n2026-09,41000,38\n2026-10,96000,120\n2026-11,372000,410",
          "refunds_and_chargebacks": { "chargeback_rate": 0.019, "chargeback_rate_90_days_ago": 0.002 }
        },
      }),
    });
    const { score, questions } = await response.json();
    ```
  </Tab>
</Tabs>

## Fields you send [#fields-you-send]

Send the details, not only an ID: an account ID tells the score nothing, but the account's age, profile and history do. Fields that are not in this list are also read.

| Field                     |          | Description                                                                               |
| ------------------------- | -------- | ----------------------------------------------------------------------------------------- |
| `name`                    | Required | The merchant's legal or trading name.                                                     |
| `website`                 | Required | The address of its website. Finic reads the site for you, so you don't send its contents. |
| `declared_business`       | Optional | What the merchant told you it sells, its category, and when you approved it.              |
| `sales`                   | Optional | Recent volume and ticket sizes, and how they have changed.                                |
| `refunds_and_chargebacks` | Optional | Recent refunds and chargebacks, as counts or as a share of sales.                         |
| `owners`                  | Optional | The owners, with their roles and what you know about their other businesses.              |
| `other_context`           | Optional | Any other information, structured or unstructured, that is useful for scoring.            |

## What Finic adds [#what-finic-adds]

Finic adds these fields to the context before it scores, so you do not send them:

| Field             | Description                                                                                                                                                                                                                                                                                                           |
| ----------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `website_content` | What Finic read on the merchant's website: the home page's address after redirects, its title, its description and its visible text, with up to three pages it links to on the same site (what the site sells, who runs it, and its terms), or why the site couldn't be read (for example, the domain doesn't exist). |

## Response [#response]

`score` runs from 0, the lowest risk, to 1000, the highest. `questions` are the yes/no questions behind it, each with the probability that the answer is yes.

```json title="200 OK"
{
  "score": 838,
  "questions": [
    {
      "text": "Does what the merchant sells now differ from what it described at onboarding?",
      "probability": 0.95
    },
    {
      "text": "Did sales grow far faster than the merchant's history?",
      "probability": 0.93
    },
    {
      "text": "Are chargebacks rising as a share of sales?",
      "probability": 0.9
    },
    {
      "text": "Does the site sell products that card networks restrict?",
      "probability": 0.89
    }
  ],
  "request_id": "req_01M4YF1068X8B4C458ENPD4JHT"
}
```

## The questions behind the score [#the-questions-behind-the-score]

1. Does what the merchant sells now differ from what it described at onboarding?
2. Did sales grow far faster than the merchant's history?
3. Are chargebacks rising as a share of sales?
4. Does the site sell products that card networks restrict?

Every organization gets the same questions for this score. To use your own questions, or to calibrate a score to your own outcomes, copy it to a [custom scoring model](/score-model) in the Finic app (Starter plan and above).

## Turn the score into an action [#turn-the-score-into-an-action]

These thresholds are examples. Choose your own, and change them as you learn.

| Score       | Action  | Example              |
| ----------- | ------- | -------------------- |
| Under 300   | Approve | Keep processing.     |
| 300 to 599  | Step up | Ask for documents.   |
| 600 to 849  | Review  | Hold for an analyst. |
| 850 or more | Block   | Pause payouts.       |

## Errors [#errors]

| Status | `type`                 | When                                                                                                                   |
| ------ | ---------------------- | ---------------------------------------------------------------------------------------------------------------------- |
| 400    | `invalid_request`      | `context` is missing, is not a JSON object, or a required field (`name`, `website`) is empty. `param` names the field. |
| 401    | `authentication_error` | The API key is missing or not valid.                                                                                   |
| 402    | `insufficient_credit`  | The organization has no credit. Add credit in the Finic app.                                                           |
| 429    | `rate_limited`         | Too many requests. Retry with exponential backoff.                                                                     |

See the [API reference](/reference) for every error and limit, and [Pricing](/pricing) for what a call costs.
