Skip to main content
The Billing APIs allow merchants to store and manage their customers, accounts, and bills within the Moment ecosystem, providing a foundation for building end-to-end billing experiences from account setup and bill generation to real-time tracking of payments and balances.

Quickstart: Customer Balance

Accept a payment against a customer balance.

Quickstart: Account Balance

Track balances across sub-accounts within a customer.

Quickstart: Bill Amount Due

Raise a bill with an amount due and track payment against it.

Common Operations

Examples for updating customer balances, account balances, and bills.

Moment supports three billing models: Customer Balance (a single running balance per customer), Account Balance (separate balances across sub-accounts within a customer), and Bill (discrete invoices with their own amount due and lifecycle).

The right model depends on your use case. See Core Concepts for a full explanation.

👉 See Product Guide

APIs

Customers

Create and manage top-level customer records.

Accounts

Manage sub-customer accounts within a customer.

Bills

Create, update, and track individual bills.

Webhooks

The Billing APIs support webhook events that help you track billing-related lifecycle events in real time, including bill creation, status updates, and payment application. These events can be used to trigger downstream workflows, notify customers, or reconcile internal records.

Available Events

Events like bill.created, bill.updated, customer.created, and others are coming soon.

Error Codes

👉 See Common Error Codes