Subscription
Subscription: Cancel
- Callback
- Promise
gateway.subscription.cancel("theSubscriptionId", (err, result) => {
});
notFoundError
.
Note
If you cancel a subscription, you won't be able to edit or reactivate it. You will need to
create a new subscription instead.
Arguments
subscriptionId
required, StringThe value used to identify a specific subscription. If you do not specify an ID when creating a subscription, the gateway will generate a 6- or 7-character alphanumeric ID. Once canceled, a subscription can't be edited or reactivated. You must create a new subscription.