Hi all!

I am writing a application to keep track of my expenses using several dashboards and a full overview of my transactions/balance/saving/goals etc. I am running into the following problem, I can't seem to find the category of a payment unfortunately. I looked into the events and payments endpoints, but I can't seem to find it.

Does anyone have an example of this? Or is it just not possible to get the category of a payment using the API?

Also, is there any way to get the JSON from the request of an api call using the Python SDK?

Hope anyone can help me out!

Regards,

Haije

    @Haije-Blue-Owl#196511 Hello!

    You can get the transaction category via the "event" (/v1/user/{user_id}/event) endpoint.
    It's inside Event.additional_transaction_information.category

    Unfortunately, this object is not (yet) added to the documentation or SDK's.

      Hi Bastiaan,

      Thanks! Do you know if it it possible to get the raw JSON response from a api call using the Python SDK?

      Otherwise I think I need to create the API call myself.

      Edit: nevermind... I called the to_json not as a function but as a parameter :)

        3 months later

        Not sure if this is the correct place to mention this... but it would also be nice if the category could also be pulled from a transaction via the zapier link. But for the insight categories to really become useful it would be nice if users have more control over the names of the categories and also the ability to add new categories...

          5 months later
          Write a Reply...