Skip to main content

Billing API

The Billing API provides access to credit records and balance reporting for your SMS platform. Create credit records for top-ups and payments, and retrieve balance information for both prepaid and postpaid accounts.

The API groups its endpoints into three resources: TotalBalances, which lists current balances across shared wallets, postpaid accounts, and prepaid accounts; CreditRecords, which lets you post a new credit record that also creates a linked customer invoice, representing a top-up or partial payment; and CreditRecordTypes, a lookup endpoint for the record type values (codes, labels, and billing-type link) that describe the type automatically assigned to each credit record.

Together these endpoints support reconciling customer balances against invoiced amounts without needing direct access to the underlying billing database.