Triple.Types.Enrich.V2.Response (triple v1.0.0)

Copy Markdown View Source

Response payload for POST /v2/enrich-unstructured-transaction/.

Unlike the v1 (structured) response, every nested object here is a flat, simply-nullable struct rather than the enabled?-flagged shape used by Triple.Types.Enrich.V1.Response — if a feature has no data, the field itself is just nil.

Summary

Types

t()

@type t() :: %Triple.Types.Enrich.V2.Response{
  brand: Triple.Types.Enrich.V2.Response.Brand.t() | nil,
  categories: [Triple.Types.Enrich.V2.Response.Category.t()],
  co2: Triple.Types.Enrich.V2.Response.CO2.t() | nil,
  fraud: Triple.Types.Enrich.V2.Response.Fraud.t() | nil,
  location: Triple.Types.Enrich.V2.Response.Location.t() | nil,
  payment_processor: Triple.Types.Enrich.V2.Response.PaymentProcessor.t() | nil,
  subscription: Triple.Types.Enrich.V2.Response.Subscription.t() | nil,
  transaction_id: String.t() | nil
}