Skip to main content

Update a customer balance

Use this to refresh what a customer owes at the start of a new billing cycle. Send the new balance value in minor units. The request replaces the existing balance on the customer. A positive value represents an amount owed by the customer; a negative value represents a credit balance.
The response returns the full updated customer record with the new balance reflected.

Update an account balance

Use this to refresh the balance on a specific account within a customer. Send the new balance value in minor units. Only the targeted account is affected; other accounts under the same customer are unchanged. A positive value represents an amount owed; a negative value represents a credit on the account.
The response returns the full updated account record with the new balance reflected.

Update a bill

Use this to record a partial or full payment against a bill outside of the webhook flow. Send the amount_paid value in minor units. Moment recalculates amount_remaining automatically and updates status to paid if the bill is fully settled.
The response returns the full updated bill record. In this example a partial payment of 1500 has been applied against an amount_due of 2000, leaving amount_remaining of 500 and a status of unpaid.
In a webhook-driven integration, amount_paid is updated automatically when Moment receives a payment and sends an obligation.amount_applied event. Use this endpoint for manual reconciliation or corrections.