Discussions
Get payments list API - starting_after and starting_after_timestamp input
Hello.
I'm trying to use the GET PAYMENT LIST API (https://authservices.satispay.com/g_business/v1/payments) to retrieve the list of payments made in a certain day. It seems that when I use the starting_after_timestamps input param I actually get all the payments made BEFORE that timestamp and not AFTER. For example with starting_after_timestamp = 1582675200000 i get the list of all the payments made before 26 / 02 / 2020, starting with the most recent one (and with has_more = true if limit is high enough). The same is true with the starting_after param, I get all the payments made before the payment with that ID.
Note that I'm already using the old https://authservices.satispay.com/online/v1/charges API, which is working as expected (starting_after and starting_after_timestamp retrieve payments made after the parameter passed as input), but I'd like to move to the new API (and besides that the old charges api doesn't retrieve pre authorized payments).