> ## Documentation Index
> Fetch the complete documentation index at: https://docs.automate.ax/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> Automate.ax automations are TypeScript programs.
> Use Bun for installation and command examples.
> Use Automate.ax for the product name and automate.ax for the package, CLI, and domain.
> Treat documented public APIs as current; do not invent transitional or deprecated names.

# Resume Subscription

> Schedules a `RESUME` action to resume a paused or a deactivated subscription.

`square.resumeSubscription` schedules a `RESUME` action to resume a paused or a deactivated subscription.

## Example

```ts automations/square-resume-subscription.automation.ts theme={null}
import { automation, onDashboardRun } from "automate.ax"
import { square } from "automate.ax/square"

export default automation("Resume Square Subscription", () => {
  onDashboardRun({ title: "Resume Square Subscription" })

  square.resumeSubscription({
    subscriptionId: "subscription_id",
  })
})
```

## Inputs

Every input accepts a compatible signal. It requires `CUSTOMERS_READ` and `INVOICES_WRITE` and `ITEMS_READ` and `ORDERS_WRITE` and `PAYMENTS_WRITE` and `SUBSCRIPTIONS_WRITE`.

| Field                 | Type                  | Required | Default | Description                                                                                                                                                        |
| --------------------- | --------------------- | -------- | ------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| `subscriptionId`      | `string`              | Yes      | —       | The ID of the subscription to resume.                                                                                                                              |
| `resumeEffectiveDate` | `string \| null`      | No       | —       | The `YYYY-MM-DD`-formatted date when the subscription reactivated.                                                                                                 |
| `resumeChangeTiming`  | `Square.ChangeTiming` | No       | —       | The timing to resume a subscription, relative to the specified `resume_effective_date` attribute value. See [ChangeTiming](#type-changetiming) for possible values |

Use the official [ResumeSubscription reference](https://developer.squareup.com/reference/square/subscriptions-api/resume-subscription) for provider field semantics and limits.

## Output

Returns the official `Square.ResumeSubscriptionResponse` response as a codec-safe object. Square integer money amounts remain `bigint` values.
