This topic describes the billing events sent by Megaport’s webhooks.
billing.contract.expiring
billing.contract.expiring is sent when a billing contract is about to expire.
The payload of this event has the following structure:
company_uid (string, UUID)
metadata (object)
schema_version (string)
timestamp (string, date-time)
type (string)
data (object)
billing_market (string)
contract_expiry_date (string, date-time)
is_auto_renew (boolean)
monthly_rate (number, double)
renewal_available_date (string, date-time)
service_name (string)
service_owner_company_uid (string, UUID)
service_type (string)
service_uid (string, UUID)
term_months (integer, int32)
For example:
billing.invoice.generated
billing.invoice.generated is sent when a billing invoice has been generated.
The payload of this event has the following structure:
company_uid (string, UUID)
metadata (object)
schema_version (string)
timestamp (string, date-time)
type (string)
data (object)
billing_market (string)
currency (string)
invoice_amount (number, double)
invoice_id (string)
invoice_url (string, uri)
For example:
billing.service.retermed
billing.service.retermed is sent when a billing service has been re-termed.
The payload of this event has the following structure:
company_uid (string, UUID)
metadata (object)
schema_version (string)
timestamp (string, date-time)
type (string)
data (object)
billing_market (string)
contract_expiry_date (string, date-time)
is_auto_renew (boolean)
monthly_rate (number, double)
service_name (string)
service_owner_company_uid (string, UUID)
service_type (string)
service_uid (string, UUID)
term_months (integer, int32)
For example:
billing.service.started
billing.service.started is sent when a service has started billing.
The payload of this event has the following structure:
company_uid (string, UUID)
metadata (object)
schema_version (string)
timestamp (string, date-time)
type (string)
data (object)
billing_market (string)
contract_expiry_date (string, date-time)
is_auto_renew (boolean)
monthly_rate (number, double)
service_name (string)
service_owner_company_uid (string, UUID)
service_type (string)
service_uid (string, UUID)
term_months (integer, int32)
For example:
Last modified on August 21, 2026