post https://api.reepay.com/v1/subscription//change_next_period_start
The start of the next billing period can be adjusted. The new date is required to be in the future. Notice that the effect of using this functionality is different if a fixed day schedule type is used. If such is used the actual next billing period start will be the first fixed day after the given date.
Returns the Subscription object, which just had its renewal date changed.
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 |
13 | 400 | Subscription expired, must be active |
95 | 400 | Subscription on-hold, must be active |
22 | 400 | Subscription cancelled with a specific expire date. In this case the next renewal date cannot be changed |
14 | 400 | The provided date is not in the future |