EnrichedTransactions

GET /api/transactions/{reference_id_or_heron_id}

Changed on

Get enriched transaction

Request

  • Base URL
    https://app.herondata.io
  • URL
    https://app.herondata.io/api/transactions/{reference_id_or_heron_id}
  • Auth
    API key in header x-api-key

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_LkoktBMGYhGcbwJgabvGTu",
        "label": "Rent"
      }
    },
    "balance": 423,
    "categories_default": "shopping",
    "counterparty": "GOOGLE",
    "currency": "USD",
    "data_source_account_heron_id": "dsa_CVjEjyftVeM8k8izY898jD",
    "data_source_heron_id": "dso_QS43iLovb5bknEVtaWCbeJ",
    "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_UEiKiWdQudNzoNHua4BMe6"
    },
    "file_class": "bank_statement",
    "heron_id": "txn_NWLAbDdXF4FexnGMQaawuh",
    "last_updated": "2026-11-02T23:44:33.004838+00:00",
    "merchant": {
      "categories": [
        {
          "code": "7311",
          "description": "Advertising services",
          "slug": "advertising_services"
        }
      ],
      "heron_id": "mrc_Qc7dvS9RnASVzUMxxfVgsZ"
    },
    "reference_id": "my_favourite_transaction_231098",
    "request_id": "req_LAKvKTxujM3NUGAVkPGJJ6",
    "timestamp": "2021-11-12T10:38:05Z",
    "transaction_code": "card"
  }
}

Changes

    • warning

      added the new debt.collections.mca enum value to the ////// response property for the response status

    • info

      added the optional property ////// to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status