Panel Integration

How to connect a Dream 4K panel and automate your billing

Connect your Dream 4K (d4kpanel.com) reseller account with its API key. Paid orders create and renew lines by themselves, with your content templates and credits.

5 min read
Published November 2, 2026
Last checked November 18, 2026
dream-4k
d4kpanel
panel
provisioning
api-key

Once your Dream 4K account is connected, a paid order creates the customer's line and a renewal extends that same line. Your store reads your packages, content templates and credit balance for you.

Dream 4K is simple to connect: you paste the address of your Dream 4K panel and your Reseller API Key. Your store then talks to Dream 4K's API gateway by itself, so you don't need to know its address.

Before you start: Sign in at d4kpanel.com, open Edit Profile and copy your Reseller API Key. Also have the address your customers' apps connect to (your stream URL).

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 "dream" or "d4k" in the search box and click the Dream 4K 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 d4kpanel.com address into the XUI or Xtream UI form by mistake, the form tells you to choose Dream 4K instead.

2Step 2 of 5Fill in the form

  • Display Name: any name you'll recognise.
  • Stream URL: the address your customers' apps connect to. Customers' playlist, portal and EPG links are built from it.
  • Panel URL: https://d4kpanel.com. Your store sends its requests to Dream 4K's API gateway for you.
  • API Key: your Reseller API Key from Edit Profile, pasted without spaces.

Good to know: Dream 4K's API gateway only answers over plain http, so your store uses http for those requests. That is how Dream 4K runs its API; there is no https option to pick.

3Step 3 of 5Add the panel

Click Add Panel. Your store reads your reseller account and credit balance. This check spends nothing. 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. Each package comes with its credit cost. After you change packages or templates on Dream 4K, open the ⋯ menu on the panel's card under Panels → All panels 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.

  1. Under Subscription lengths, enter a Product name and set a price Without adult (and, if you sell it, With adult) for each length. A 0-credit package is your trial; trial lengths are off and free by default.
  2. Under Channels & VOD, tick the content templates customers can choose. Each line gets one template. Templates with "adult" in their name count as the adult version.
  3. Click Create product.

When a customer pays, Dream 4K creates the line and its username and password, and your store emails them to the customer.

What works with Dream 4K

  • New lines and renewals: created and extended automatically after payment. A renewal extends the same line.
  • Usernames: Dream 4K makes the username and password for each line.
  • Line types: username-and-password lines and MAG lines. For MAG, the customer enters their MAC address at checkout.
  • Content: one content template per line.
  • Credits: your balance is read from Dream 4K and checked before each paid order. With too few credits, the order waits until you top up.
  • Free trials: your 0-credit package. To cap them, set Max trials per Period (hours) under Trial quota (optional) on the panel's Edit page, then Save Changes.
  • Line end: the API has no suspend or delete. A line that isn't renewed runs out at its end date, and the order shows Expires on its own.

If Dream 4K doesn't confirm a new line (a timeout or a server error), your store doesn't retry it by itself, so you're never charged twice. The order is listed under Subscriptions → Delivery → Needs manual set-up; check Dream 4K before you try again.

Common problems

"Dream 4K needs a reseller API key." The API Key field was empty. Copy the key from Edit Profile on d4kpanel.com.

Dream 4K rejected the request (HTTP 450). Usually the API key is wrong: copy it again from Edit Profile. The message also says to check the API host, but for Dream 4K https://d4kpanel.com is correct. If the key is right and the error stays, the request may be blocked on Dream 4K's side; ask your provider.

The server is unavailable or unreachable. This is on Dream 4K's side. Try again shortly.

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

Frequently asked questions

Where do I find my Dream 4K API key?

Sign in at d4kpanel.com and open Edit Profile. Your Reseller API Key is there. Paste it into API Key in the form.

Which address do I enter for Dream 4K?

Just https://d4kpanel.com. Your store knows Dream 4K's API gateway and sends the requests there by itself.

Is Dream 4K the same as TV Pro?

Dream 4K uses the same reseller API as TV Pro (NETTV), reached through its own gateway. Use the Dream 4K tile for a d4kpanel.com account; for other TV Pro hosts, see the TV Pro guide.

Does Dream 4K let me choose usernames?

No. Dream 4K makes the username and password for every new line. Your store saves them and emails them to the customer, and renewals keep the same login.

What happens when a customer doesn't renew?

Nothing is sent to Dream 4K: the line runs out at its end date. The subscription waits for payment during your grace period and the customer gets a link to renew. See How renewals work.

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