Panel Integration

How to connect a MegaOTT panel and automate your billing

Connect your MegaOTT reseller account with an API token from Account Settings, so paid orders create and renew lines by themselves, each with its own address.

6 min read
Published November 2, 2026
Last checked November 18, 2026
megaott
panel
provisioning
api-key

Once your MegaOTT account is connected, a paid order creates the customer's line on MegaOTT and a renewal extends that same line. MegaOTT gives every line its own address, and your store sends each customer theirs.

MegaOTT connects through its REST API with an API token. There is no browser login and no captcha, so you don't need to pick a browser-based panel type for megaott.net.

Before you start: On megaott.net, open Account Settings » API Keys and create or copy an API key. Your dashboard password won't work as a token.

1Step 1 of 5Open the panel picker

Go to Panels → All panels and click Add panel. The page scrolls down to Add New Panel. Type "megaott" in the search box and click the MegaOTT tile. A window opens with the connection form. If your plan's panel limit is reached, you're asked to upgrade first.

If you paste a megaott.net address into the XUI or Xtream UI form by mistake, the form tells you to choose MegaOTT instead.

2Step 2 of 5Fill in the form

  • Display Name: any name you'll recognise.
  • Stream URL: the form asks for it, but MegaOTT doesn't use it, because every line has its own address. Enter your usual customer address.
  • Panel URL: https://megaott.net. Just the host: your store adds the API path, and https is always used.
  • API Token (Bearer): the API key from Account Settings » API Keys.

3Step 3 of 5Add the panel

Click Add Panel. Your store checks the token by reading your MegaOTT account before anything is saved. If it fails, you see Panel not saved with what went wrong, and nothing is saved.

4Step 4 of 5Check the connection and packages

On the panel's page, Connection Status should show Connected. Click Test Connection at any time. Your credit balance isn't read when the page opens; on the panel's card under Panels → All panels, click Check balance to read it. When you change packages on MegaOTT, open the ⋯ menu on the card and click Re-sync packages.

5Step 5 of 5Create a product

The panel's page shows Create a product. Click it to open Quick setup from panel and click Fetch packages. Your MegaOTT packages are read live, with their lengths.

  1. Under Your combined product, tick each Duration tier you sell and enter its Base price.
  2. MegaOTT packages marked as trials appear under Free trials. Tick one to offer a trial.
  3. Click Create product.

When a customer pays, your store creates the line on MegaOTT. For a username-and-password line, your store chooses the username and MegaOTT makes the password. The customer gets both by email, with the line's own address.

What works with MegaOTT

  • New lines and renewals: created and extended automatically after payment. Before a renewal, your store checks your credits; then the same line is extended and the new end date is read back.
  • Trial to paid: when a trial customer buys a paid plan, MegaOTT extends their trial line instead of making a second one, so they keep the same login.
  • Line types: username-and-password lines and MAG lines. For MAG, the customer enters their MAC address at checkout and gets the line's portal address.
  • Adult content: sent as the customer's own choice at checkout.
  • Credits: checked before each paid order and renewal. With too few credits, the order waits until you top up.
  • Line end: your store doesn't switch MegaOTT lines off. A line that isn't renewed runs out on MegaOTT at its end date.

MegaOTT's API can't change a line's password or MAC address. Change those on the MegaOTT dashboard, then update the subscription in your store.

When a new line isn't confirmed

MegaOTT has no way for your store to look lines up. If it doesn't confirm a new line, the line may already exist, so your store doesn't retry by itself and nothing is charged twice. The order is listed under Subscriptions → Delivery → Needs manual set-up with the username to search for on MegaOTT.

Common problems

MegaOTT rejected the API key. Copy it again from Account Settings » API Keys. Your login password is not an API key.

Endpoint not found, or the request method was refused. The Panel URL is wrong or uses http. Enter exactly https://megaott.net.

"Username … is already in use on your MegaOTT panel." Another line already has that username, and that try created nothing. On a new paid order your store then tries once more with a new username: a name your store chose is replaced with a fresh one, and a name the customer typed gets "x" and four digits added (for example anna7 becomes anna7x4821). The login email shows the new username. If MegaOTT refuses that name too, the order stops: change the username on the order and click Retry.

More messages are in Fix a panel that won't connect.

Frequently asked questions

Where do I get a MegaOTT API token?

On megaott.net, under Account Settings » API Keys. Paste it into API Token (Bearer). Your dashboard password is not a token and will be rejected.

Why doesn't MegaOTT use my stream URL?

MegaOTT gives every line its own address. Your store saves the address MegaOTT returns for each line and sends that one to the customer, so their links always match their line.

What happens when a trial customer upgrades?

Your store extends their existing trial line on MegaOTT to the paid length, instead of creating a new line. The customer keeps the same username and password.

Can customers choose their own password?

No. Your store chooses the username, and MegaOTT makes the password for each new line. Both are emailed to the customer.

Why is my MegaOTT balance not shown right away?

Your store reads the balance when you click Check balance on the panel's card, and before each paid order. Paid orders always check credits first, so a low balance makes the order wait instead of failing.

Ready to try it yourself?

Spin up your own IPTVbp store and connect a panel. It's free until you have 25 paying customers, no card needed.

Start free trial