{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/laso-finance/json-schema/laso-finance-merchant-result-schema.json",
  "title": "MerchantResult",
  "description": "A merchant from the spend data database with its acceptance status for the Non-Reloadable U.S. card.",
  "x-generated": "2026-11-15",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/laso-finance-openapi.json#/components/schemas/MerchantResult",
  "type": "object",
  "properties": {
    "name": {
      "type": "string",
      "description": "Merchant name"
    },
    "url": {
      "type": "string",
      "description": "Merchant website URL"
    },
    "status": {
      "type": "string",
      "enum": [
        "accepted",
        "not_accepted",
        "unknown"
      ],
      "description": "Whether the Non-Reloadable U.S. card is accepted at this merchant. `accepted` = confirmed working, `not_accepted` = confirmed failing or restricted, `unknown` = card type not yet tried at this merchant."
    },
    "restriction_note": {
      "type": [
        "string",
        "null"
      ],
      "description": "Present when the merchant is restricted rather than merely untested. Banking and money-transfer merchants are always reported as `not_accepted`, because spending there counts as a transfer of value. Approvals do occur at these merchants, so acceptance cannot be read off the transaction history. `null` for every other merchant."
    },
    "description": {
      "type": [
        "string",
        "null"
      ],
      "description": "Brief description of the merchant"
    },
    "notes": {
      "type": [
        "string",
        "null"
      ],
      "description": "Additional notes about using the card at this merchant"
    }
  }
}