PlaidEx.API.Enrich (plaid_ex v1.0.0)

Copy Markdown View Source

Plaid Enrich API — transaction enrichment for non-Plaid data sources.

Provides merchant name resolution, category classification, and logo URLs for arbitrary transaction data, regardless of source.

Summary

Functions

Enriches a list of transactions with merchant info and categorization.

Functions

enrich(config, transactions, opts \\ [])

@spec enrich(PlaidEx.Config.t(), [map()], keyword()) ::
  {:ok, %{enriched_transactions: [map()]}} | {:error, PlaidEx.Error.t()}

Enriches a list of transactions with merchant info and categorization.

Required transaction fields

  • id — your internal ID
  • description — raw transaction description
  • amount — the transaction amount
  • direction"OUTFLOW" or "INFLOW"