v1

latestOpenAPI 3.0.02026-07-26224386470.0 KB
EnrichedTransactions

Get enriched transaction

get/api/transactions/{reference_id_or_heron_id}

Path parameters

reference_id_or_heron_idstring required

Response

OK

Example response

{
  "transaction_enriched": {
    "account_id": "checking_account_202348",
    "account_number": "1234567890",
    "amount": -42.42,
    "annotation": {
      "category": {
        "heron_id": "ctg_5YuNdaG2cyxnq4mZnxq8n9",
        "label": "Rent"
      }
    },
    "balance": 423,
    "categories_default": "shopping",
    "counterparty": "GOOGLE",
    "currency": "USD",
    "data_source_account_heron_id": "dsa_7qXzcpwgh3LWqqcTXGDXsR",
    "data_source_heron_id": "dso_DP4WaqdeRYBPM9z6Rb8r5y",
    "date": "2020-04-27",
    "description": "GOOGLE *ADS12340929 cc@google.com US",
    "end_user_id": "my_best_customer_203948",
    "features": {
      "description_clean": "GOOGLE ADS",
      "duplicate_of_id": "txn_B2AhGvaqL2rWHrUWsArPMp"
    },
    "heron_id": "txn_Yqsbw75xpkSRPK4Ap5Mrvi",
    "last_updated": "2026-07-23T19:53:52.983551+00:00",
    "merchant": {
      "categories": [
        {
          "code": "7311",
          "description": "Advertising services",
          "slug": "advertising_services"
        }
      ],
      "heron_id": "mrc_gkcx4tKTGc2T5v2QiJVuMV"
    },
    "reference_id": "my_favourite_transaction_231098",
    "request_id": "req_drEXA6Vv9ueRURxJXrbVR8",
    "timestamp": "2021-11-12T10:38:05Z",
    "transaction_code": "card"
  }
}