GET
/
api
/
end_users
/
{end_user_id_or_heron_id}
/
grouped_transactions_report
curl --request GET \
  --url https://app.herondata.io/api/end_users/{end_user_id_or_heron_id}/grouped_transactions_report \
  --header 'x-api-key: <api-key>'
[
  {
    "counterparty": "<string>",
    "merchant": {
      "categories": [
        {
          "code": "7311",
          "description": "Advertising services",
          "slug": "advertising_services"
        }
      ],
      "group_id": "Uber",
      "heron_id": "mrc_PwJ4WqW86qm99sA9W6XGhk",
      "icon_url": "<string>",
      "logo_url": "<string>",
      "name": "<string>"
    },
    "transaction_groups": [
      {
        "frequency": "not_enough_data",
        "transactions": [
          {
            "amount": {
              "amount": "1234.56",
              "currency": "USD"
            },
            "category": {
              "heron_id": "<string>",
              "label": "<string>"
            },
            "description": "<string>",
            "heron_id": "<string>",
            "timestamp": "2023-11-07T05:31:56Z"
          }
        ]
      }
    ]
  }
]

Authorizations

x-api-key
string
header
required

Path Parameters

end_user_id_or_heron_id
string
required

Response

200 - application/json
OK

The response is of type object[].