Admin Pages — Pricing, Income & Reseller Billing

These three admin pages are where you, the platform owner, run the pay-per-message (BSP) billing side of WaDesk: set the price your customers pay for each message, watch the profit you make on top of Meta's wholesale cost, and connect your Meta credit line so customers can be billed through you instead of paying Meta directly. All money on every one of these pages is shown in your platform currency — whatever you have configured — and is never hardcoded.

Where they live. All three pages sit under Admin → Billing in the left sidebar: Message pricing, Message income and Reseller billing. The URLs below use the example base http://192.168.1.189:8008 — replace that with your own admin domain.

1. Message pricing

URL: http://192.168.1.189:8008/admin/settings/wallet-rules  (Admin → Billing → Message pricing)

This is your rate card. It defines what every message costs you from Meta and what you charge the customer, per country and per message category.

Pay-per-message toggle

At the top is the pay-per-message switch. Turning it on makes the wallet-billing model the platform-wide default, so the machinery that charges each message from a customer's wallet is active. In practice, though, whether any individual customer is actually billed this way is driven by that customer's own connect choice (see Customer Flow): a customer who picks “I pay Meta directly” is never charged from a wallet, even while the toggle is on.

The per-country pricing table

Below the toggle is the pricing table — one searchable list covering all ~250 countries. Search by country name to jump to a row. Each row has these fields:

FieldWhat it means
CountryThe destination country the message is sent to. Every country Meta prices is listed; use the search box to filter.
CategoryThe WhatsApp message category the rate applies to: marketing, utility, authentication or service. Meta prices each category differently, so each has its own row/column.
You chargeA money amount in the platform currency (for example 1.00) — the price the customer's wallet is debited for one message of that country + category.
Meta costA money amount in the platform currency — Meta's wholesale cost to you for that same message.
Your marginCalculated live as You charge − Meta cost. This is your profit per message and updates as you type.

Free or service rows can be left at 0.00 for both columns — for example service (customer-initiated) conversations that Meta no longer charges for.

Sync Meta costs

The Sync Meta costs button fills the Meta cost column for every country at once, pulling Meta's current wholesale rates and converting them into your platform currency. Use it so you don't have to type Meta's side by hand; then adjust your You charge column to set your margin.

Import my rate card

Import my rate card lets you upload a CSV of rates instead of editing rows one by one. It accepts the official WhatsApp Manager rates export, and understands two shapes:

  • Meta's wide format — one row per country with separate Marketing, Utility and Authentication columns.
  • A simple long format — one row per country + category + rate.
Dynamic currency. Everything on this page — You charge, Meta cost, margin, synced rates and imported rates — is stored and shown in the platform currency. Nothing is hardcoded to a specific currency.

2. Message income

URL: http://192.168.1.189:8008/admin/bsp  (Admin → Billing → Message income)

This is your platform profit-and-loss for messaging. It reads the message_charges ledger — the record written every time a message is billed — and rolls it up:

  • Total revenue — the sum of what customers paid across all billed messages.
  • Total Meta cost — the sum of Meta's wholesale cost for those same messages.
  • Your margin — total revenue − total Meta cost, i.e. the profit you kept.

Below the totals is a per-workspace breakdown, so you can see revenue, Meta cost and margin for each customer workspace. All figures are in the platform currency.

Tip. This is the page to open after a test send — the profit for that message appears here once the charge is written.

3. Reseller billing (Meta)

URL: http://192.168.1.189:8008/admin/bsp/credit  (Admin → Billing → Reseller billing)

This page connects your Meta credit line so that customers who choose “Bill me through us” can send without their own Meta payment method — Meta bills you, and you bill the customer's wallet. It is a two-step setup.

Step 1 — Connect

Enter your Meta reseller credentials once:

FieldWhat it is
Meta Business IDThe ID of your Meta Business that owns the credit line.
System-user tokenA password field. It is stored encrypted and never echoed back to the screen once saved.
Extended credit line IDYour Meta extended credit line's ID. Leave blank to have it detected automatically.
Graph API versionThe Meta Graph API version to call. Defaults to v25.0.
Meta rates endpointOptional. A custom endpoint for pulling Meta's wholesale rates, if you use one.
Auto-attach on connectA toggle: when a customer connects a number and picks “Bill me through us”, automatically share your credit line to that number.
Bill in (currency)The default currency your credit line is billed in.

Step 2 — Attach

Sharing your credit line with a specific customer number is called attaching. Here you:

  • Pick a customer's connected WhatsApp number from a dropdown — shown by workspace/name, never raw IDs.
  • Choose the billing currency for that attachment.
  • Press Attach credit line to share your credit line to that number.

To backfill everyone at once there is an Attach all connected now button, which attaches your credit line to every already-connected number in one action.

Attached-accounts table

The table lists every number your credit line is currently shared with:

ColumnMeaning
Workspace nameThe customer the number belongs to.
WABAThe WhatsApp Business Account, shown by its last digits.
Allocation idMeta's ID for the credit-line share to that number.
CurrencyThe billing currency of that attachment.
StatusWhether the share is active.
RevokeAction to unshare your credit line from that number.

Setup guide panel

On the right of the page a Setup guide links out to the Meta documentation you need — business.facebook.com and Meta's access-tokens documentation — to create the Business, system user and token. For the full walkthrough see Meta credit-line setup.

All three pages live together under Admin → Billing in the left sidebar — Message pricing (your rate card), Message income (your P&L) and Reseller billing (your Meta credit line). Set your rates first, connect and attach your credit line second, and watch the income roll in third.

WaDesk Documentation