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

# Account Status

> How a partner account is activated, what a pause, an unpaid invoice or the end of the partnership stops, and how it starts again

A partner account is in one of six states. Widgetic decides three of them. **Payment arrears** follows from an unpaid invoice of your contract: nobody sets it, and it ends when the invoice is paid. **Winding down** and **closed** follow from the last day of your partnership, which Widgetic writes down: nobody sets them either, and they come one after the other, the day after the last day and then 60 days later (see [Ending a Partnership](https://docs.widgetic.com/docs/partners/ending-a-partnership.md)). This page says what each state means for you and for your customers, so that a stop never comes as a surprise.

## The Six States

| Status | What it means | Your customers |
| - | - | - |
| `inactive` | Not activated yet. Every new account starts here, and an account that was deactivated returns here | Cannot use Widgetic through you |
| `active` | In force | Everything works |
| `suspended` | Paused by hand by Widgetic. The reason is recorded and you can read it | Their editors stop, and your published widgets are not served |
| `payment_arrears` | An invoice of your contract is unpaid after its due date. It starts the day after the due date (UTC) and ends when the invoice is paid | The same as a pause: their editors stop, and your published widgets are not served |
| `winding_down` | The last day of the partnership has passed, for 60 days. Nothing can be changed, and you can read and export everything | Their editors do not open, and your published widgets are still served |
| `closed` | The wind-down is over. Only the owner login can read the contract and the invoices | Their editors do not open, and your published widgets are not served |

Read your own state with `GET /partners/mine`. The answer has `standing` for the account as a whole (`inactive`, `active`, `suspended`, `payment_arrears`, `winding_down` or `closed`, or `not_a_partner` for an account that administers no partner), `overdueSince` and the `partners` you administer. `overdueSince` is the due date of the oldest unpaid invoice of your contract while `standing` is `payment_arrears`, and `null` otherwise. Each partner has its `id`, which the other partner routes ask for, its `status`, its `platformDomain` (the website where you integrate Widgetic, which can always show your widgets, with its subdomains: see [Security](https://docs.widgetic.com/resources/security.md#your-platform-is-always-allowed)) and, while it is paused, `suspendedAt` and `suspensionReason`. Each partner also has `partnership`, which says where it is on its way to its end: its `phase`, the last day (`endsOn`), the last day of the wind-down (`windDownEndsOn`) and the `daysLeft`. See [Ending a Partnership](https://docs.widgetic.com/docs/partners/ending-a-partnership.md#hearing-about-it).

```bash theme={"theme":"css-variables"}
curl -sS -H "Authorization: Bearer $WIDGETIC_PARTNER_KEY" \
  "https://api.widgetic.com/v1/partners/mine"
```

```json theme={"theme":"css-variables"}
{
  "success": true,
  "data": {
    "standing": "suspended",
    "overdueSince": null,
    "partners": [
      {
        "id": "7d5f3c1a-2b64-4c0e-9a51-6f1e2d3c4b5a",
        "name": "Your Company",
        "status": "suspended",
        "contactEmail": "billing@yourcompany.com",
        "allowedDomains": [],
        "platformDomain": "yourcompany.com",
        "suspendedAt": "2026-10-20T09:00:00.000Z",
        "suspensionReason": "Contract under review",
        "createdAt": "2026-09-01T10:00:00.000Z"
      }
    ]
  }
}
```

With an unpaid invoice, `standing` is `payment_arrears` and `overdueSince` has the date. The partner itself is not paused, so its `status` stays `active` and there is no `suspensionReason`: nobody wrote a reason, an invoice is the cause. A partnership that has a last day stays `active` until that day is over, and its `partnership.phase` is `ending`: the date changes nothing before it.

> [!NOTE]
>
> A pause is a person's decision: a person at Widgetic decides, and writes the reason you read here. Payment arrears is different, because nobody decides it. An invoice of your contract that is still unpaid after its due date stops the account by itself, and paying the invoice ends the stop by itself. Widgetic reminds you before and after the due date (see [When an invoice is not paid](https://docs.widgetic.com/docs/partners/credits-billing.md#when-an-invoice-is-not-paid)). An unpaid invoice for extra credits stops nothing.

> [!NOTE]
>
> A **security hold** is not a pause. Widgetic puts it on an account that may be compromised, and it locks only the way into the account: nobody can sign in, every session of the owner ends, and a request that carries a session is refused with `PARTNER_SECURITY_HOLD`, reads included. Your API keys, your customers' editors and embeds, your webhooks, billing and credits carry on as normal, and `standing` does not change. Nothing is deleted. The owner gets an email, and what to do is in [If you think an account or a key was compromised](https://docs.widgetic.com/resources/security.md#if-you-think-an-account-or-a-key-was-compromised).

## Getting Activated

Widgetic makes your account for you. You give it the address of a shared mailbox of your company, and that mailbox gets an invitation with a link to choose a password: there is no sign-up form, and you do not choose a plan. If the invitation never arrived, or it went to a wrong address, write to Widgetic: it sends the invitation again, or replaces the address of the owner login. Once someone has signed in, a lost password is recovered with **Forgot password** on the sign-in page.

A partner has no trial. You pay from the first day, and you can use the account only once Widgetic has activated it. Widgetic activates it when two things are in place:

1. **A contract in force.** Widgetic records what was agreed: the credits for each billing period, your price for a credit, the billing cycle and the dates. The dates must cover today.
2. **Storage that works.** Your own [storage destination](https://docs.widgetic.com/docs/partners/storage.md) is saved and has passed its check. This one is yours to do, and it is the part that takes the longest, so start with it.

Until then the account is `inactive`. You can set up your storage and read your contract, invoices and notifications, and you can pay. Everything that makes something is refused with `PARTNER_INACTIVE`. When Widgetic activates the account you get a `partner.activated` [notification](https://docs.widgetic.com/docs/partners/notifications.md).

The first invoice is not a requirement for the activation. Widgetic issues it on the day your contract starts, and you pay it from the Billing page of your [dashboard](https://docs.widgetic.com/docs/partners/dashboard.md) or from the link in the invoice email.

## What a Pause or Payment Arrears Stops

**For you.** Everything that makes something or starts work is refused with `403`: creating or changing widgets and compositions, publishing, generating with the AI, uploading, and making managed users and their editor sessions. The answer says why. For a pause:

```json theme={"theme":"css-variables"}
{
  "success": false,
  "error": {
    "code": "PARTNER_SUSPENDED",
    "message": "This partner account is paused. Billing, invoices, credits and notifications are still available; everything else comes back when Widgetic resumes the account.",
    "details": {
      "partnerStatus": "suspended",
      "reason": "Contract under review"
    }
  }
}
```

And for an unpaid invoice:

```json theme={"theme":"css-variables"}
{
  "success": false,
  "error": {
    "code": "PARTNER_PAYMENT_ARREARS",
    "message": "This partner account is stopped because an invoice is past its due date. Billing, invoices, credits and notifications are still available; pay the overdue invoice and everything else comes back at once.",
    "details": {
      "partnerStatus": "payment_arrears",
      "overdueSince": "2026-11-01T00:00:00.000Z"
    }
  }
}
```

`details.partnerStatus` is `suspended`, `payment_arrears`, `inactive`, `winding_down`, `closed` or `security_hold`. `details.reason` is the reason recorded with a pause, `details.overdueSince` is the due date of the oldest unpaid invoice, and `details.endsOn` and `details.windDownEndsOn` are the two dates of an ending partnership. Branch on `error.code` (`PARTNER_SUSPENDED`, `PARTNER_PAYMENT_ARREARS`, `PARTNER_INACTIVE`, `PARTNER_WINDING_DOWN`, `PARTNER_CLOSED` or `PARTNER_SECURITY_HOLD`), not on the message.

**What stays open to you.** Reading everything, so that you can see what is stopped and why. And what you need to get going again: [billing, invoices, buying credits and your credits](https://docs.widgetic.com/docs/partners/credits-billing.md), your contract, your [storage](https://docs.widgetic.com/docs/partners/storage.md), your [notifications](https://docs.widgetic.com/docs/partners/notifications.md), your API keys (a leaked key can still be revoked) and signing in and out. A generation that is already running can still be stopped, since stopping only saves credits.

**For your customers.** Their [editor sessions](https://docs.widgetic.com/docs/partners/editor-sessions.md) stop working at the next call, with `403` and the same code, and no new session can be made. What the customer reads is only:

> This service is not available right now. Please contact the website that sent you here.

It says nothing about money, because the customer did not cause it and cannot fix it. Your published widgets are not served while the account is not in force: their public address answers `404`.

**What it keeps.** Nothing is deleted. Your customers, compositions, widgets, uploads, credits and invoices stay as they were, and everything comes back when the account is resumed or the invoice is paid.

**The end of a partnership is different.** In the wind-down, what makes or changes something is refused with `PARTNER_WINDING_DOWN` while reading, exporting and your published widgets keep working; once the account is closed everything is refused with `PARTNER_CLOSED`. Neither comes back by paying: the partnership has ended. Both are described, with what you can still do, in [Ending a Partnership](https://docs.widgetic.com/docs/partners/ending-a-partnership.md).

## Getting Going Again

### After an unpaid invoice

Pay the overdue invoice on its invoice page (`hostedInvoiceUrl`), or from the Billing page of your dashboard. **That is all.** Service comes back by itself as soon as the payment is confirmed, for you and for your customers, and you get a `partner.resumed` notification. Nobody at Widgetic has to switch the account on, and you do not need to write to anyone. If you paid and the account is still stopped an hour later, write to [the support team](https://docs.widgetic.com/docs/introduction.md#need-help) with the invoice number.

### After a pause

**1. See why**

Read `suspensionReason` in `GET /partners/mine`, the email Widgetic sent (a `partner.paused` notification), or the banner at the top of your dashboard.

**2. Put it right**

Usually that means paying an open invoice. Billing stays open while the account is paused, so you can pay from the invoice link or from your dashboard.

**3. Tell Widgetic**

Write to [the support team](https://docs.widgetic.com/docs/introduction.md#need-help). A person at Widgetic resumes the account; a pause is never lifted automatically.

**4. Carry on**

You get a `partner.resumed` notification. The change takes effect within seconds, for you and for your customers. Resuming is never held up by paperwork.

## Hearing About It

Four events tell you about the standing of the account, and all four are emailed whatever your settings say, because they are about money and access:

| Event | When |
| - | - |
| `partner.activated` | Widgetic activated your account |
| `partner.paused` | Your account was stopped, by a pause or by an unpaid invoice. `data.reason` has the reason: the one Widgetic wrote for a pause, or a sentence that names the overdue invoice |
| `partner.resumed` | Your account is served again, after a pause or because the overdue invoice was paid |
| `partner.ending` | Your partnership has a last day: when it is set or changed, 60, 30, 7 and 1 days before it, when the wind-down starts and 30, 7 and 1 days before it ends, and when the account closes. See [Ending a Partnership](https://docs.widgetic.com/docs/partners/ending-a-partnership.md#hearing-about-it) |

They are also in the list of your dashboard and, when you have set one up, sent to your [webhook](https://docs.widgetic.com/docs/webhooks/partner-webhooks.md). The `data` of the first three is `{ "status": "active" | "suspended" | "payment_arrears", "previousStatus": "active" | "inactive" | "suspended" | "payment_arrears" | null, "reason": string | null }`, and the `data` of `partner.ending` is `{ "phase": "ending" | "winding_down" | "closed", "endsOn": string, "windDownEndsOn": string, "daysLeft": number | null }`. For a stop that an unpaid invoice caused, `partner.paused` has `status` set to `payment_arrears`, and `partner.resumed` has `previousStatus` set to `payment_arrears`.

## Errors

| Status | Code | When | What to do |
| - | - | - | - |
| 403 | `PARTNER_PAYMENT_ARREARS` | An invoice of your contract is unpaid after its due date and the request is not one that stays open | Pay the overdue invoice. `details.overdueSince` says when the oldest one was due |
| 403 | `PARTNER_SUSPENDED` | The account is paused and the request is not one that stays open | Pay what is due and write to Widgetic. `details.reason` says why it was paused |
| 403 | `PARTNER_INACTIVE` | The account has not been activated yet | Finish your [storage](https://docs.widgetic.com/docs/partners/storage.md) and wait for the activation |
| 403 | `PARTNER_WINDING_DOWN` | The partnership has ended and is in its wind-down, and the request would make or change something | Read and export your data. `details.windDownEndsOn` is the last day |
| 403 | `PARTNER_CLOSED` | The partnership is closed and the call is not one of the owner's reads on widgetic.com | Contact Widgetic if you think this is a mistake. See [Ending a Partnership](https://docs.widgetic.com/docs/partners/ending-a-partnership.md) |
| 403 | `PARTNER_SECURITY_HOLD` | Widgetic put a security hold on the account because it may be compromised, and the request carries a session of the owner. Every such request is refused, reads included, and nobody can sign in. Requests made with an API key are not refused by the hold | Write to Widgetic from the address of the account owner. The hold is lifted after a check. See [Security](https://docs.widgetic.com/resources/security.md#the-security-hold-on-a-partner-account) |

> [card] [Credits & Billing](https://docs.widgetic.com/docs/partners/credits-billing.md)
>
> Invoices, tax, reminders and how to pay

> [card] [Storage](https://docs.widgetic.com/docs/partners/storage.md)
>
> The bucket your customers' files are kept in


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.