Skip to main content

Public endpoints and webhooks

Which public URLs Metron exposes, who calls them, and how each is authenticated. Use this when a bank, Meta, SmartOLT or Safaricom asks for a callback address.

2 min readUpdated 2026-11-20Network engineerOwner / AdminAccountant

Provider callbacks you give to others#

ProviderWhat it sendsAuthentication
Safaricom (M-Pesa)C2B validation and confirmation, STK callback, B2C result and timeoutA key in the URL generated for your paybill, plus Safaricom's source address checks
BanksPayment notificationsA signature with your bank secret, and a token in the URL
SmartOLTOLT and ONU eventsA token in the URL, rotatable in the connection
Meta (WhatsApp)Messages and delivery receiptsMeta's signature and the phone number ID
SMS providerDelivery reportsProvider callback

You never type these URLs by hand. Copy them from the relevant connection in the Integrations Console.

Endpoints your customers use#

PurposeWhat it is
Customer loginSign in with account and PIN, request a PIN reset code
HotspotList plans, buy by STK push, redeem a voucher, check status
Support ticketsCreate a ticket
LeadsA lead form on your website
OutagesActive outages for your public outage page
Speed testRecord a customer's speed-test result
Public brandYour name, logo and colours for the portal

These answer only on a host registered to your ISP.

Jobs#

The scheduled jobs call authenticated endpoints with a bearer secret. They are not for outside use. See Automations and schedules.

Rules that apply to all of them#

  • Tenant comes from the host or token, never from the request body. A caller cannot choose another ISP by sending an ID.
  • Public endpoints answer 404 on a host that is not registered to an ISP.
  • Callback bodies are size-capped and rate-limited per source address.
  • Metron stores the raw payment callback first, then processes it, so a processing failure cannot lose a payment.
Something missing or wrong in this guide?WhatsApp usEmail feedback