Concepts

Billing

Pre-authorization, per-minute rates, settlement, and refund behavior for outbound calls.

Model

Outbound billing uses a pre-authorize / settle model. We hold a small amount against your wallet at originate-time, then reconcile against the final cost when the call ends.

PhaseWallet impact
OriginateHold $0.10 (the pre-auth floor). 402 returned if balance is insufficient.
Mid-callNo additional debits.
End of callCompute final cost: ceil(durationSecs / 60) × perMinuteRate. Settle against the $0.10 hold (refund excess or charge difference).

Per-minute rate

Your per-minute rate is set on each phone number (default $0.02/min). The outbound rate uses the rate on the from number you specify in the request.

Failed call billing

The following do not incur a charge; the pre-auth hold is released:

  • no_answer — rang for ≥ 45 seconds without pickup.
  • busy.
  • cancelled when you DELETE before answer.
  • carrier_rejected, invalid_number.

Auto-refunds

httapi_unreachable auto-refunds
If our bridge crashes mid-call (failure code httapi_unreachable), the pre-auth hold is automatically released and no charge is recorded. This is the only failure mode for which a partial-duration call results in zero billing.

Transaction log

Every wallet operation creates an audit row in the Transaction table, visible from Billing → History. Outbound-related transaction types:

TypeTriggered by
outbound_preauth_holdOriginate succeeds. Negative amount (debit).
outbound_preauth_releaseWatchdog timeout, reconciler, or replay collision. Positive amount (credit).
outbound_call_settleEnd of call. Signed delta = finalCost - holdAmount.