Cancel membership
cancel_membershipCancel a membership. mode='end_of_cycle' (default) lets the client keep using it until the current paid period ends and stops future billing; mode='immediate' terminates it right now. Confirm with the user first. [requires scope: money]
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | end_of_cycle | |
| note | No | ||
| reason | Yes | ||
| membership_id | Yes |