Account plugin for WordPress: your hosting, VPS, domains, invoices and tickets in the WordPress dashboard

API & DocumentationWordPress, Websites & Automation·· 276 views· 3 min read

This plugin puts your MozOut account inside the WordPress dashboard. You see your hosting, servers, domains, invoices and tickets without opening My MozOut. It uses only our public API, with your account key, and works in Portuguese and English.

What it does

Overview: credit, unpaid invoices, active services, servers, domains, open tickets and the domains that expire in the next 30 days. There is also a summary box on the WordPress dashboard.

Hosting: plans, state, due dates, disk and traffic. A button opens the control panel, with a link that works once.

Servers: state, IP, system and resources. You can start, stop or restart them.

Domains: dates, renewal, nameservers and DNS records. You can turn auto-renewal and the transfer lock on or off.

Invoices and tickets: the invoice list, the PDF and payment with your account credit. You can read tickets, reply to them and open new ones.

What you need

WordPress 6.0 or newer, PHP 7.4 to 8.5 and the OpenSSL extension. And an API key, created in the API Center of My MozOut.

Installing, step by step

1 Download the ZIP of the latest release.
2 Upload it in Plugins > Add New > Upload Plugin. You can also copy the mozout-account folder to wp-content/plugins/.
3 Activate the plugin and open MozOut Account, which has a menu of its own.
4 Paste the API key and save. The key is checked with the API right away.

The API key and its permissions

To view, the key needs the read permissions: hosting:read, vps:read, domains:read, dns:read, billing:read and support:read. For the actions, add hosting:login, vps:write, domains:write, billing:pay and support:write. See how to create a key and pick its permissions.

When you save it, the plugin asks the API about the key. A wrong, revoked or expired key is not saved, and the plugin tells you right away if permissions are missing or the key is a Sandbox key. The key is kept encrypted (AES-256-GCM, with the WordPress security keys) and never shown again. You can define MOZOUT_ACCOUNT_API_KEY in wp-config.php instead.

Testing without spending

A sandbox_ key simulates writes and charges nothing. Try the action buttons with it, then move to a prod_ key.

Good to know

Administrators only: nobody else sees the plugin. Every action that changes something asks first and is noted in the activity log.

Cached data: it is kept for 5 minutes, or the time you choose. "Refresh" reads it again.

View only: you can turn the action buttons off, to see everything without being able to change anything.

Help

If a section is empty or an action fails, open a support ticket and tell us the plugin version and the message you see. The code is in the plugin repository, under the MIT license.

Want your account in the WordPress dashboard?

Download the latest release

SEE ALSO

Invoices through the API

Your account credit and invoices

Creating an API key

The repository on MozOut Git

SDKs and integrations, in the API documentation

Was this answer helpful? Your answer helps us improve this article.