Skip to main content
Triqai enriches transactions with an entities array containing real-world entities relevant to understanding the transaction. Each entity has a type, role, confidence (with reason tags), and type-specific data. Only identified entities are included in the array if no location was found, there is simply no location entity present.

Entity Types

Merchants

The business or company behind the transaction

Locations

The physical place where the transaction occurred

Intermediaries

Payment processors, delivery platforms, wallets, and P2P services

Persons

Recipients in peer-to-peer transfers

Entity Structure

Every entity in the entities array follows the same shape:
reasoning is returned when a stored explanation exists, for example on List Transactions and Get Transaction responses and on enrichment results reused from an earlier request. Otherwise the field is omitted; it’s never null. Use it for display or debugging only. Its wording varies, so don’t parse it.

Entity Roles

Each entity type has specific roles that describe its function in the transaction context:

Merchants

Merchants are the primary entities in most transactions. When identified, you get:

Merchant Fields

Merchant Coverage

Triqai maintains a database of over 150 million companies worldwide, with:
  • 143,000+ logos for visual branding
  • Normalized names for consistent identification
  • Multiple aliases to match various transaction formats

Locations

Location enrichment provides geographic context for transactions:

Location Fields

Location Coverage

  • 10M+ places globally
  • 150+ countries supported
  • Store-level precision when available

Intermediaries

Intermediaries are a unified entity type that replaces the previous separate “payment processor” and “P2P platform” concepts. They represent any service that sits between the customer and the final recipient of funds.

Intermediary Roles

Intermediary Fields

Intermediary category is returned for recognized platforms on List Transactions and Get Transaction responses. Enrichment responses may omit it, and other intermediaries never have it.

Why It Matters

Intermediary detection is valuable for:
  • Identifying the actual merchant behind processor-branded transactions
  • Understanding payment methods used by customers
  • Fraud detection by recognizing unusual processor patterns
  • Analytics on payment method preferences
  • Delivery platform tracking for food delivery and marketplace transactions

Persons

Person entities appear in P2P transfer transactions to identify the private person on the other side of the payment:

Person Fields

Privacy: Person display names are stored per-organization and never shared globally. This ensures personal information remains private and GDPR-compliant.

Person-to-person hint

A title alone often can’t tell a private person from a business. If you already know whether a payment went to a person, send options.p2p with the request: Intermediaries are still detected with either value. p2p: true can’t be combined with pre-filled merchant data. See Person-to-person hint for examples.

P2P Transfer Example

A P2P transfer typically produces both an intermediary entity (the platform) and a person entity (the recipient), with the Peer to Peer category on the transaction:

Fetching Entity Details

You can fetch full entity details by ID:

Entity Sharing

Entities are shared resources:
  • Merchants, locations, and intermediaries are shared across all organizations
  • This ensures consistent identification and reduces duplication
  • Entity IDs are stable and can be used for deduplication
Exception: Person display names are scoped to your organization for privacy.

Next Steps

Confidence Scores

Learn how to interpret confidence values and reason tags

Entity APIs

Explore the entity lookup endpoints