Reconcile Phone Usage
Superuser-only. Settles estimated usage rows from the provider's own final price. Safe to re-run; rows already final are skipped.
Request
Response
Errors
An error keeps the envelope: a negative code and a message in data.
Related methods
get_voice_usageuserReturns the caller's call and message usage for a window, with estimated and settled amounts kept separate and the monthly spend cap remaining. Excludes number rental, which is billed as a subscription.
reconcile_voice_bundlesadminSuperuser only: reads every registration still in review back from Twilio, records the decisions and tells each customer. Runs on the voice reconcile cron, behind the status callback.
accept_voice_termsuserRecords versioned acceptance of Xuda phone, messaging, abuse, and downstream-provider terms.
activate_voice_serviceuserIdempotently creates or reuses one Twilio subaccount for the authenticated Xuda customer. Requires parent management credentials on the backend.
adopt_voice_numberadminSuperuser only. Assigns a number Xuda already owns to a business profile without a purchase or a Stripe subscription, and returns it to the platform parent on release instead of releasing it to the carrier.
attach_voice_numberuserAttaches one of the account's phone numbers to a profile, giving that profile a line. Its members become ring targets and the AI is told who staffs it. A number can be attached to one profile at a time, and the main profile can never hold one.
33 of 50 in Voice