set_cancel_at_period_end_scheduled_charge
Set cancellation at period end for a recurring scheduled charge. Stops new cycles after the next paid cycle; reverse by setting enabled false.
Instructions
Toggle Stripe-style soft cancel on a recurring series. With enabled=true, the cycle generator stops emitting new cycles after the next paid cycle (the in-flight cycle still bills + can be paid). Reversible by passing enabled=false. Mutually exclusive with recurrence.endsAfter and recurrence.endsOn.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Scheduled charge ID | |
| enabled | Yes | true enables soft-cancel (series ends after the next paid cycle); false clears the flag. |