The Six States
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) 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.
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.
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). An unpaid invoice for extra credits stops nothing.
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.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:- 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.
- Storage that works. Your own storage destination 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.
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.
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 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 with403: 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:
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, your contract, your storage, your notifications, 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 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.
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 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. 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:
They are also in the list of your dashboard and, when you have set one up, sent to your webhook. 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
Credits & Billing
Invoices, tax, reminders and how to pay
Storage
The bucket your customers’ files are kept in