v1

latestOpenAPI 3.0.02026-07-26224386470.0 KB
EndUserCalculations

Get EndUser transactions grouped by counterparty or merchant

Get a report of transactions grouped by merchant or counterparty for an end user

get/api/end_users/{end_user_id_or_heron_id}/grouped_transactions_report

Path parameters

end_user_id_or_heron_idstring required

Response

OK

counterpartystring

Example response

[
  {
    "merchant": {
      "categories": [
        {
          "code": "7311",
          "description": "Advertising services",
          "slug": "advertising_services"
        }
      ],
      "heron_id": "mrc_gkcx4tKTGc2T5v2QiJVuMV"
    },
    "transaction_groups": [
      {
        "transactions": [
          {
            "amount": {
              "currency": "USD"
            }
          }
        ]
      }
    ]
  }
]