API: Add a new "future" or "pending" charge-detail to get subscriptions
In the REST API, add a new "future" or "pending" charge-detail to "get subscriptions by account" with ratePlanCharges that are all in the future.
Currently it's only possible to either get all, only the current or ratePlanCharges at a specific date.
However it would be nice to be able to pull only the ones in the future. We needed this in several projects already and currently the only way is to pull all of them and then filter down using the date field.
So instead of "charge-detail=current-segment" it would be nice to also be able to use "charge-detail=future-segment" or "pending-segment".
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.