• Developers
  • API - List of transaction categories

I'm looking for a list of the availaible categories, mainly the identifiers, like "FOOD_AND_DRINK" or "PERSONAL_CARE"
Does someone have this? Is it available somewhere?

    @Sander#147516
    that was a different question. I can see my own labeled transaction data fine now.
    I'm looking for the masterdata (ie the Category List) itself.

      @Martijn-Golden-Lion-4218584023#147517 Ah I see! I checked in the API documentation, and the SDKs but it doesn't seem to contain a list of possible categories. There is also no code the validate categories that are returned by the API, so no luck there. bunq will need to provide this one way or the other then. A time-intensive workaround is to get one payment and change its category one by one to get all the exact category names. But when bunq modifies the categories then you can basically redo that.. šŸ™ˆ I've made your topic public again so that others can see it too and vote for it! šŸ™‚

        @Sander#147524 thanks, I checked all those and other projects too on github

          @Martijn-Golden-Lion-4218584023#147501 Hello Martijn,

          This are the available Insight categories:

          GENERAL,
          SUBSCRIPTIONS,
          CASH,
          SAVINGS,
          FINANCE,
          TRANSPORT,
          FAMILY,
          SHOPPING,
          ENTERTAINMENT,
          FOOD_AND_DRINK,
          GROCERIES,
          PERSONAL_CARE,
          HOUSEHOLD_EXPENSES,
          TRAVEL,
          BUSINESS_EXPENSES,
          CAR_EXPENSES,
          UNCATEGORIZED

          You can get, for example, all payments with the category "SUBSCRIPTIONS" in a certain period:
          /v1/user/{user_id}/insights-search?time_start=01-01-2020&time_end=22-02-2020&category=SUBSCRIPTIONS

          Or, also very nice, the total amounts per category:
          /v1/user/{user_id}/insights?time_start=01-02-2020&time_end=22-02-2020

            @Bastiaan#147696 Awesome, thanks!!

              Write a Reply...