Get a report of transactions grouped by merchant or counterparty for an end user
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_Eajrnqvo7XUoiWkUrfcPRe",
"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"
}
]
}
]
}
]
OK
The response is of type object[]
.
Was this page helpful?
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_Eajrnqvo7XUoiWkUrfcPRe",
"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"
}
]
}
]
}
]
Get a report of transactions grouped by merchant or counterparty for an end user
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_Eajrnqvo7XUoiWkUrfcPRe",
"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"
}
]
}
]
}
]
OK
The response is of type object[]
.
Was this page helpful?
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_Eajrnqvo7XUoiWkUrfcPRe",
"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"
}
]
}
]
}
]