The Four States
Read your own state with
GET /partners/mine. The answer has standing for the account as a whole (inactive, active, suspended or payment_arrears, 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.
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 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.
Getting Activated
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 or inactive. details.reason is the reason recorded with a pause, and details.overdueSince is the due date of the oldest unpaid invoice. Branch on error.code (PARTNER_SUSPENDED, PARTNER_PAYMENT_ARREARS or PARTNER_INACTIVE), 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.
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 partners@widgetic.com 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 partners@widgetic.com. 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
Three events tell you about the standing of the account, and all three 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. Their
data is { "status": "active" | "suspended" | "payment_arrears", "previousStatus": "active" | "inactive" | "suspended" | "payment_arrears" | null, "reason": string | 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