Skip to main content
Reactivate a subscription that is currently in canceling state. The pending end-of-period cancellation is removed and the subscription continues to renew as scheduled.
POST /v1/actions/subscription-order/reactivate-order
Authentication: Session Token — see Customer Endpoints (customer or buyer role)

Reactivation Behavior

Current StatusActionResult Status
cancelingRemove pending end-of-period cancellation (via PSP)active
canceledNot allowed — already fully canceled
pending / active / past_due / expiredNot allowed — only canceling is reactivatable
  • Only subscriptions in canceling (cancellation scheduled at period end) can be reactivated.
  • Fully canceled (canceled) subscriptions cannot be reactivated — start a new subscription instead.
  • No additional charge — the current billing period continues, and renewal resumes at its original schedule.

Request Body

FieldTypeRequiredDescription
orderIdstringYesSubscription order ID (Short ID format ORD_xxx)

Example Request

import { WaffoPancake } from "@waffo/pancake-ts";

const client = new WaffoPancake({
  sessionToken: window.WAFFO_SESSION_TOKEN, // injected by the merchant's portal
  environment: "prod",
});

const result = await client.orders.reactivateSubscription({
  orderId: "ORD_2aUyqjCzEIiEcYMKj7TZtw",
});

console.log(result.orderId); // "ORD_2aUyqjCzEIiEcYMKj7TZtw"
console.log(result.status);  // "active"

Success Response (200)

{
  "data": {
    "orderId": "ORD_2aUyqjCzEIiEcYMKj7TZtw",
    "status": "active"
  }
}

Response Fields

FieldTypeDescription
orderIdstringOrder ID (Short ID)
statusstringNew order status (active)

Errors

Retry policy: Never retry 4xx — fix the request and resubmit. Retry 5xx with exponential backoff (start 5s, max 3 attempts).
Statuserrors[0].messageWhat it meansRecommended handling
400Missing required field: orderIdorderId was not provided in the bodyFix the request body, then resubmit
400Expected format: ORD_xxx, got "..."orderId Short ID could not be decodedFix the orderId format, then resubmit
400Only canceling subscriptions can be reactivatedOrder status is not canceling (e.g. canceled, active, expired)The subscription is not reactivatable
401Authentication failedSession token invalid, expired, or malformedRe-mint the session token via Issue Session Token
403Order does not belong to userOwnership check failedVerify the caller owns the order
404Order not foundOrder does not existVerify the order ID
500Internal server errorUnexpected server-side failureRetry with exponential backoff (start 5s, max 3 attempts)