Change the charge day
Changes the subscription's fixed charge day. The change applies to all
future cycles and the next charge date (next_charge_at) is
recalculated.
Days 29, 30 and 31 are accepted: in months that do not have the chosen day, the charge falls on the last day of the month, and the day applies again in the next month that has it. A subscription on day 31 charges on Jan 31, Feb 28, Mar 31, Apr 30.
When the new day takes effect
The subscription frequency does not change — only the day. From there:
- the day is still to come this month → it applies from the next charge;
- the day has already passed this month → it applies the next time it occurs, even if that shifts the subscription's months (a bimonthly Sep/Nov subscription starts charging in Oct/Dec). One month of waiting instead of a whole cycle;
- the date would fall less than half a cycle after the last charge → the new day applies from the following cycle, so nobody is charged twice because of a calendar adjustment.
In the last two cases the response comes with adjusted: true and the reason in
adjusted_reason / adjusted_message, so you know why the date returned
is not the one the chosen day would produce.
Subscriptions with a frequency in days (interval: day) have no fixed charge
day: each charge happens N days after the previous one. For them, the change is
rejected with 422.
Cycles already paid in advance through charge anticipation and skipped cycles are preserved: the new day is applied to the cycle that was already scheduled. Anyone who charged two cycles early still has the next charge two cycles ahead, now on the chosen day.
Authorizations
Bearer token of the merchant obtained via POST /oauth2/token using the
merchant's credentials (not the app's). See
Authentication.
Parameters
Path Parameters
Subscription identifier.
10Request Body
Responses
Charge day updated.