Re-activating a Suspended Subscription
You can reactivate a suspended subscription for the next billing cycle. The payment processing time starts at 2:00a.m. in your time zone.
You cannot reactivate a cancelled or completed subscription.
Follow these steps to re-activate a subscription:
- In the endpoint path, include the subscription ID that you received when you retrieved a list of subscriptions.
- Send the request to the recurring billing endpoint:
ADDITIONAL INFORMATION
POST https://<url_prefix>/rbs/v1/subscriptions{id}/activateADDITIONAL INFORMATION
Use one of these URL prefixes:- Test:apitest.cybersource.com
- Production:api.cybersource.com
- Production in India:api.in.cybersource.com
- Check the response message to make sure that the request was successful. A 200-level HTTP response code indicates success.For information about response codes, see Transaction Response Codes.
REST Examples: Reactivating a Suspended Subscription
Response to a Successful Request
{ "_links": { "self": { "href": "/rbs/v1/subscriptions/6149715492756032001956", "method": "GET" }, "update": { "href": "/rbs/v1/subscriptions/6149715492756032001956", "method": "PATCH" }, "cancel": { "href": "/rbs/v1/subscriptions/6149715492756032001956/cancel", "method": "POST" }, "suspend": { "href": "/rbs/v1/subscriptions/6149715492756032001956/suspend", "method": "POST" } }, "id": "6149715492756032001956", "status": "COMPLETED", "subscriptionInformation": { "code": "AWC-35", "status": "ACTIVE" } }
Error Response
{ "status": "INVALID_REQUEST", "reason": "INVALID_DATA", "message": "The subscription cannot be reactivated at this time.", "details": [ { "field": "subscriptionInformation.status", "reason": "INVALID_FOR_ACTIVATION" } ] }