Meta Setup — Solution Partner, Token & Credit Line
This is the platform owner's step-by-step guide to becoming a reseller of WhatsApp messaging — the arrangement where Meta bills you for your customers' messages and you charge your customers through the WaDesk wallet. Everything here happens once, on Meta's side, before WaDesk can attach your credit line to a customer's WhatsApp Business Account (WABA).
Do you even need this? Only set this up for true reselling, where Meta bills you for message volume and you resell it. Without it, WaDesk still works perfectly — each customer connects their own Meta account, pays Meta directly, and you charge them for platform usage through the WaDesk wallet. Skip this whole page unless you specifically want Meta to invoice you on your customers' behalf.
Step 1 — Become a Meta Solution Partner (Tech Provider)
A Solution Partner (also called a Tech Provider) is a business that has filed and had approved a partner application with Meta. This status is required before you can share a credit line with any customer — without it, the attach endpoints in Step 5 will not work.
- Read the program overview and file the application: Solution Providers — Overview.
- Review the credit-line prerequisites: Apply for a WhatsApp credit line (Meta Business Help).
Approval-gated. Solution Partner status is granted by Meta after review and can take time. Start this early — nothing else on this page can be completed until Meta approves you.
Step 2 — Find your Meta Business (Portfolio) ID
You will need your business portfolio's numeric ID in several places below.
- Open business.facebook.com.
- Go to Business settings → Business info.
- Copy the Business portfolio ID — a long number. This is your
BUSINESS_IDin every endpoint that follows.
Step 3 — Create a System User + permanent token
A System User gives you a long-lived (permanent) access token that WaDesk uses to call the Graph API on your behalf. Unlike a personal login token, it does not expire when you log out.
- Open business.facebook.com → Business settings → Users → System users.
- Click Add, name the system user, and set its role to Admin.
- Click Generate token and, when asked, select exactly these permissions:
business_managementwhatsapp_business_managementwhatsapp_business_messaging
- The token is shown only once — copy it immediately and keep it safe.
Official reference: WhatsApp access tokens.
Store it securely. This token can spend money on your credit line, so treat it like a password. WaDesk stores it encrypted at rest once you paste it in Step 6.
Step 4 — Get / confirm your Extended Credit Line ID
Your extended credit line is what Meta charges. To read its ID, call:
GET /{BUSINESS_ID}/extendedcredits
This requires the business_management permission and an Admin or Financial Editor role on the business. The response returns the credit line's id.
Optional. WaDesk auto-detects this ID from your business when you save Step 6, so entering it by hand is optional — leave it blank to let WaDesk find it.
Step 5 — What "attach" actually does
Attaching means sharing your credit line with a customer's WABA so that Meta bills you for the messages that WABA sends. This is the core of reselling. WaDesk performs it for you, but here is the underlying call:
POST /{EXTENDED_CREDIT_LINE_ID}/whatsapp_credit_sharing_and_attach
params:
waba_id = the customer's WhatsApp Business Account ID
waba_currency = the billing currency for that WABA
The response returns an allocation_config_id and the waba_id.
Currency is locked. waba_currency is permanently locked once attached and cannot be changed afterward. Meta only allows these currencies: AUD, EUR, GBP, IDR, INR, USD. Pick carefully.
Step 6 — Enter everything in WaDesk
Now hand the values to WaDesk so it can attach credit lines automatically.
- Go to Admin → Billing → "Reseller billing (Meta)" at
/admin/bsp/credit. - Paste your Business ID (from Step 2) and your System-user token (from Step 3).
- Leave Extended credit ID blank to auto-detect (Step 4), or paste it if you already have it.
- Set the Graph API version — default
v25.0. - Turn ON "Auto-attach on connect" so that any customer who selects reseller billing gets your credit line shared to their WABA automatically the moment they connect.
Once saved, WaDesk encrypts the token, confirms the credit line, and is ready to bill Meta on your customers' behalf.