get https://api.reepay.com/v1/subscription//period_balance
Calculate the balance of the subscription for the period containing the given date (defaults to now). The period balance describes how much have been paid (and the invoice paid with), how much of the paid amount that has been consumed and how much is remaining. Consumed and remaining amount is calculated from the fraction of the period that has already elapsed.
Errors
The operation can generate the following errors beside the generic HTTP error codes described here.
Error code | HTTP code | Description |
---|---|---|
12 | 404 | Subscription not found |