Pending transactions filter does not work
C
Cristian
The
pending
flag in the GET https://dev.lunchmoney.app/v1/transactions
endpoint does not work. I am trying to get a list of pending transactions, and it returns transactions that are not pending:http 'https://dev.lunchmoney.app/v1/transactions?pending=true&access_token=<REDACTED>&limit=1' | jq '.transactions[].is_pending'
prints false
Log In
J
JP Shipherd
I wasn't able to replicate this. Could you let me know if you are certain that there are pending transactions?
Is there any reason that you are setting
limit
to 1? It isn't guaranteed that the pending transactions will be the first in the list.