You can reactivate a subscription using the Reactivate Subscription API. A subscription can only be reactivated if it has been canceled but has not yet expired.

On successful reactivation a response 5956 is returned (Subscription successfully reactivated), otherwise the API returns one of the following errors:

Response codeDescription
5950An exception occurred in the API.
5951Mandatory parameters missing.
5952Merchant-ID is invalid
5953Subscription-ID is invalid.
5954Subscription already active.
5955AuthToken is incorrect.
5956Subscription successfully reactivated.
5957Subscription reactivation failed.
5958Site is suspended.
Language