Skip to content

Subscription.keep

POST /{namespace}/subscriptions/{subscription}/keep

Keep takes back a cancel before the period closes, so the Subscription renews on its date at the same terms.

Mode
do
Event
Subscription.kept

Inputs

InputTypeRequiredDescription
subscriptionSubscriptionrequiredThe ending Subscription.
offerOfferThe Offer to renew on, when the Customer took the save offer.

Outputs

OutputTypeRequiredDescription
subscriptionSubscriptionrequiredThe Subscription, active again.

Effects

  • Emits Subscription.kept.
  • Performed by the Billing Specialist.
  • Two-way: it runs at once, in the try, send and do modes.
  • Restores renewal on the original date.
  • Moves to the named Offer at the next period, when one is given.
  • Refuses once the period has closed; a canceled Subscription starts again as a new one.

Refuses when

CheckErrorFixThen call
The key is valid, but its scopes do not allow this operation.forbiddenUse a key whose scopes cover the operation, or ask an owner of the namespace to grant them.Subscription.keep
Once the period has closed; a canceled Subscription starts again as a new onerefusedClear what the check names, then call it again.Subscription.keep

When it waits

GateDefault
Decision classLow: two-way, nothing at stake
Delay windowNone: it runs once review passes.
LimitThe call Limit of the Permission it runs under.
Over the LimitIt waits pending for an Approval from the Founder. Approved, it runs; refused, it ends refused with limit-exceeded; unanswered by its deadline, it ends canceled.