Implementation, Architecture & API Requirements

Enabling max pricing requires structural adjustments to message dispatch pipelines, payload schemas, and reconciliation services. Standard transactional conduits cannot process bid-configured marketing content.

Critical Endpoint Routing: Max-priced templates must be routed exclusively to the Marketing Messages endpoint with header MM- LITE: ” yes”. Submitting bid specifications to the default Cloud API /messages endpoint triggers fatal error code 1 31 061

Schema Migration: optimization_spec vs bid_spec

Template pricing configurations have migrated away from legacy syntax. While backward compatibility for bid_spec expired on July 31 , 2026, all template creations and updates must define the optimization_spec object. Individual message multipliers in the dispatch payload continue to adhere to the active endpoint specification.

Template Optimization Payload

payload boxes img

Target Broadcast System Architectur

Subsystem Component Architectural Responsibility & Pipeline Behavior
Campaign & Pricing Service Maintains campaign rules, fetches base template bids, and computes localized country/user multipliers prior to dispatch.
Audience & Suppression Validates active WhatsApp opt-in compliance, applies deduplication, and filters suppression lists.
Scheduler & Dispatch Queue Enforces pacing, batching, and ramp-up rate limits to prevent provider throttling and monitor delivery spikes.
Webhook Ingestion Consumer Ingests marketing_lite status events (sent, delivered, read) and extracts real-time cost

objects.

Financial Reconciliation Cross-references real-time webhook telemetry against monthly aggregate invoices (the legal source of truth).

Telemetry, Billing Categories & Reporting Attributes

In analytical reporting and webhook callbacks, max pricing activates the Marketing Lite billing tier:

  • Pricing Analytics: Category query parameter is set to pricing_category = MARKETING_LITE.
  • Template Analytics: Filtered via product_type = MARKETING_MESSAGES_LITE_API.
  • Delivery Webhook: Payload indicates category = ” marketing_lite” and pricing_model = ” PMP”.
  • Cost Object: Delivered events return currency amounts in base units (e.g., USD dollars, not cents).
Table of Contents
Shopping Cart