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 'Authorization: Basic <encoded-value>'
[
  {
    "counterparty": "<string>",
    "merchant": {
      "categories": [
        {
          "code": "7311",
          "description": "Advertising services",
          "slug": "advertising_services"
        }
      ],
      "group_id": "Uber",
      "heron_id": "mrc_H4woHtq2y7hw3GLRh4hv62",
      "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

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

Response

200 - application/json
OK
counterparty
string
merchant
object
transaction_groups
object[]