DescriptorAPI · Schema

EnrichRequest

CompanyMerchant EnrichmentPaymentsData EnrichmentFinancial Services

Properties

Name Type Description
descriptor string The raw statement line, exactly as your bank or processor provides it.
country string Optional ISO 3166-1 alpha-2 code of the card or account country. Improves accuracy. A country named in the descriptor comes first, and a currency used by one country comes before this, because a card
mcc string Optional merchant category code from the card network.
amount number Optional. Accepted and validated; not used for matching yet.
currency string Optional ISO 4217 code of the currency the transaction was paid in. It tells us where the card was used when the descriptor does not say: a currency used by one country (AED, EGP, GBP) points to that
View JSON Schema on GitHub

JSON Schema

descriptorapi-com-enrich-request-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/descriptorapi-com/json-schema/descriptorapi-com-enrich-request-schema.json",
  "title": "EnrichRequest",
  "x-generated": "2026-11-24",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/descriptorapi-com-openapi.yml#/components/schemas/EnrichRequest",
  "type": "object",
  "required": [
    "descriptor"
  ],
  "properties": {
    "descriptor": {
      "type": "string",
      "minLength": 1,
      "maxLength": 256,
      "description": "The raw statement line, exactly as your bank or processor provides it."
    },
    "country": {
      "type": "string",
      "pattern": "^[A-Za-z]{2}$",
      "description": "Optional ISO 3166-1 alpha-2 code of the card or account country. Improves accuracy. A country named in the descriptor comes first, and a currency used by one country comes before this, because a card can be used abroad."
    },
    "mcc": {
      "type": "string",
      "pattern": "^[0-9]{4}$",
      "description": "Optional merchant category code from the card network."
    },
    "amount": {
      "type": "number",
      "minimum": 0,
      "description": "Optional. Accepted and validated; not used for matching yet."
    },
    "currency": {
      "type": "string",
      "pattern": "^[A-Za-z]{3}$",
      "description": "Optional ISO 4217 code of the currency the transaction was paid in. It tells us where the card was used when the descriptor does not say: a currency used by one country (AED, EGP, GBP) points to that country, EUR and other shared currencies to their region (or to your country, when it uses that currency), and USD is ignored because it is spent everywhere. Improves accuracy."
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/descriptorapi-com-enrich-request"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.