It is now possible to search for subscriptions with certain discounts in the Administration and with the API.
Subscriptions can be searched by providing subscription discount handle or discount handle. When providing subscription discount handle all subscriptions with an attached subscription discount with that handle will be returned. When providing discount handle all subscriptions with subscription discounts created from the referenced discount will be returned.
Both in the Administration and through the API it can be defined whether to only return subscriptions for which the subscription discount is still active.
In the Administration a custom filter can be made to search with discount. The API documentation can be found here: https://reference.reepay.com/api/#get-list-of-subscriptions