> ## Documentation Index
> Fetch the complete documentation index at: https://docs.herondata.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Get Transaction Methods

There are three methods of getting transaction data from Heron:

* Get transactions relate to a given end\_user - [https://app.herondata.io/api/end\_users/\{end\_user\_id\_or\_heron\_id}/transactions](https://app.herondata.io/api/end_users/\{end_user_id_or_heron_id}/transactions)
* Get an individual transaction - [https://app.herondata.io/api/transactions/\{reference\_id\_or\_heron\_id}](https://app.herondata.io/api/transactions/\{reference_id_or_heron_id})
* Get all transactions - [https://app.herondata.io/api/transactions/](https://app.herondata.io/api/transactions/)

### Q: What are the differences between each of the methods and what are the benefits for each one?

All three methods return the **exact same data**, there is no difference to the results. However, the first two methods are optimised for performance, therefore they return results quicker.

**Note:** the structure of the results are slightly different, so you will not be able to simply switch between the endpoints without updating how your integration consumes the results.

### Q: I only want to get the latest transactions that have been enriched and not the full set - how can I do that?

In order to do this, in any of the above three methods, you are able to include a `last_updated_min` parameter. You should set this equal to the last time you sent transactions for enrichment. Sometimes old transactions sent in prior batches may be re-categorised in the context of new batches/transactions, and the timestamps of these transactions will also be updated to reflect the most recent change and will therefore be returned in your latest `GET` request.

### Q: I sometimes see unenriched transactions in the get enriched transactions endpoint - is something wrong?

In order for transactions to be enriched, an `end_user` must be set to `ready` **each time** new transactions are added to an `end_user`. Therefore, if you see unenriched transactions, our first suggestion is to re-set the `end_user` to `ready`.

If you continue to have problems with unenriched transactions, please reach out via slack or email us at [support@herondata.io](mailto:support@herondata.io).
