Reactivate Subscription

This API endpoint allows reactivating a subscription by its unique ID. You must provide the subscription ID in the path parameter.

Authorization: Bearer YOUR_TOKEN


Expected Behavior:


  • On success, the system will reactivate the subscription and return a success message.
  • If the request is invalid or the subscription cannot be reactivated, the system will return an error message detailing the issue.
Path Parameters
  • id string
    The unique ID of the subscription to reactivate.
curl -X PUT "https://api.pinghome.io/payment-cmd/v1/subscription/{id}" \
-H 'Authorization: Bearer YOUR_TOKEN' \
-H 'Content-Type: application/json'
ResponseThis section is used to view the possible HTTP response codes returned by the API. These codes indicate the status of a request, such as 201 (Created), 401 (Unauthorized), 409 (Conflict), or 422 (Unprocessable Entity).