With the API payments you can retrieve transactions for an individual account. I know you can also pass a count in the URL that limits the number of payments to return. I can't find this parameter in the documentation.

I'm looking for a way to retrieve all transactions from a specific date. What other parameters are there for a GET call to payments?

    @wesselt#190708 Hello Wessel,

    You can use "count", "newer_id" and "older_id" as query parameters for the payment endpoint

      @Bastiaan#190724 Thanks for your reply! I assume you can pass "newer_id" with a payment id and then retrieve up to 200 payments after the one with "newer_id". Is that right? Can you use both at the same time?

        @Bastiaan#190762 Ah, it's on the pagination doc page. Thanks!

          7 months later

          @Shopforce#216442 The API endpoint to simply accomplish this is not publicly available, unfortunately.

          You can only use the endpoint /v1/user/{user_id}/insights-search to search for a specific date, but a category is required.
          Example: /v1/user/{user_id}/insights-search?time_start=2021-01-01&time_end=2021-01-31&category=GENERAL

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

            2 months later
            Write a Reply...