API: get transactions in reverse date order

(callum) #1


I’m trying to list my three most recent transactions: https://getmondo.co.uk/docs/#list-transactions

It doesn’t seem to be possible to specify a sort order: the only way to do what I’m trying to do seems to be to specify a higher limit and guess the since property.

Am I missing something? Searching hasn’t found anything.


( surohpotsirhC) #2

It sort of looks like pagination might do what you want but not quite in the way you’d like. I can only guess that you’d move backwards from the most recent date until you have three unique transaction ids. That would be a lot of API hits and quite slow though.