question

Guille Bauza avatar image
Guille Bauza asked Guille Bauza edited

Same filter param for payment list doesnt'work

I want to get All Payments voided or not at once using for example:

https://sandbox.dev.clover.com/v3/merchants/{mId}/payments?filter=voided=true&filter=voided=false 

I get as a response:

{
                      
"elements": [],
"href""http://sandbox.dev.clover.com/v3/merchants/{mId}/payments?filter=voided%3Dtrue&filter=voided%3Dfalse&limit=100"
}

I know I have voided payments, When I use only 1 filter it gives me the correct response.


Thanks in advance.

REST API
9 comments
10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Jeffrey Blattman avatar image Jeffrey Blattman ♦♦ commented ·
Did you try just not specifying any filter?
0 Likes 0 ·
Guille Bauza avatar image Guille Bauza Jeffrey Blattman ♦♦ commented ·
yes, it returns all non-voided by default.
0 Likes 0 ·
Jeffrey Blattman avatar image Jeffrey Blattman ♦♦ Guille Bauza commented ·
I guess I don't understand what you're looking for. Wouldn't all payments that are not voided and all payments that voided just be all the payments?
0 Likes 0 ·
Show more comments

0 Answers

·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Welcome to the
Clover Developer Community