GET
/
api
/
end_users
/
{end_user_id_or_heron_id}
/
transactions
curl --request GET \
  --url https://app.herondata.io/api/end_users/{end_user_id_or_heron_id}/transactions \
  --header 'Authorization: Basic <encoded-value>'
{
  "_meta": {
    "next_url": "<string>",
    "num_results": 123,
    "page": 123,
    "per_page": 123,
    "prev_url": "<string>"
  },
  "transactions_enriched": [
    {
      "account_id": "checking_account_202348",
      "amount": -42.42,
      "annotation": {
        "annotator": {
          "context": "sync",
          "priority_type": "gold_standard"
        },
        "category": {
          "heron_id": "ctg_Rn5h5A7BGm2is4DRvGhGCE",
          "label": "Rent"
        },
        "confidence": 123,
        "model_version": "<string>"
      },
      "balance": 423,
      "currency": "USD",
      "description": "GOOGLE *ADS12340929 [email protected] US",
      "end_user_id": "my_best_customer_203948",
      "features": {
        "description_clean": "GOOGLE ADS",
        "duplicate_of_id": "<any>",
        "has_matching_transaction": true,
        "is_potential_duplicate": true,
        "is_recurring": true
      },
      "heron_id": "txn_KjPQKaF6BdpSpR6ewTPXNE",
      "last_updated": "2025-03-04T17:08:55.147655",
      "merchant": {
        "categories": [
          {
            "code": "7311",
            "description": "Advertising services",
            "slug": "advertising_services"
          }
        ],
        "group_id": "Uber",
        "heron_id": "mrc_H4woHtq2y7hw3GLRh4hv62",
        "icon_url": "<string>",
        "is_priority": true,
        "logo_url": "<string>",
        "name": "<string>",
        "url": "<string>"
      },
      "reference_id": "my_favourite_transaction_231098",
      "request_id": "req_gwxinWjDsZDbsLkoJFCQ7n",
      "timestamp": "2021-11-12T10:38:05Z",
      "transaction_code": "card"
    }
  ]
}

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Path Parameters

end_user_id_or_heron_id
string
required

Query Parameters

account_ids
string[] | null

Account ids to include. If not provided, all accounts are included

last_updated_min
string | null

Filter for transactions whose values were last updated in Heron systems after the specified input value, isoformat

Example:

"2025-03-04T17:08:55.783129"

per_page
integer
default:100

Desired results per page

Required range: 1 <= x <= 50000
page
integer
default:1

Results page

Required range: x >= 1
category_heron_id
string[] | null

Filter by the heron_id of the category that the transaction is annotated with

Example:

"ctg_AnU5W8jZSfxrP95s5ZZYRZ"

Response

200 - application/json
OK
_meta
object
transactions_enriched
object[]