Is there any way to add custom filter criteria for the requests

52 views
Skip to first unread message

Ahmed Elkady

unread,
Apr 5, 2024, 7:45:29 PM4/5/24
to Kill Bill users mailing-list
Is there any way to add custom filter criteria for the requests

karan bansal

unread,
Apr 6, 2024, 1:12:11 PM4/6/24
to Kill Bill users mailing-list
Hi Ahmed,

Could you please provide more details about the request/endpoint that you are trying.

Regards
Karan

Ahmed Elkady

unread,
Apr 12, 2024, 8:06:53 AM4/12/24
to Kill Bill users mailing-list
Hi karan,
for example GET http://127.0.0.1:8080/1.0/kb/accounts/{accountId}/payments i am trying to get the account spending for each month i am getting all the payments and group them by date all on the client side is there any way to filter them based on date instead getting all the payments and process them on client side 

karan bansal

unread,
Apr 12, 2024, 3:14:24 PM4/12/24
to Kill Bill users mailing-list
Hi Ahmed,

Some of the endpoints do have date filters as parameters, for example, https://killbill.github.io/slate/account.html#retrieve-account-invoices, however, these are not available for each endpoint.

Regards
Karan

karan bansal

unread,
May 6, 2026, 1:26:22 AM (8 days ago) May 6
to Kill Bill users mailing-list
Hi Ahmed,

Following up on this. We have introduced advanced filters in recent releases. You can read more about advanced search here

Below example shows how I filtered the payment for the month of May from the entire list using advanced search. 

This is the full list : 

Image

This is the filtered view : 

Image
Please try this and let me know how it goes or in case of any questions.

Regards
Karan
Reply all
Reply to author
Forward
0 new messages