amount and the exact integer amount_micro_usd, so you never have
to trust a rounding.
What a call costs
The price in a source detail is the buyer total for that operation. There is no separate charge to add to that quoted total. The sum ofusage.sources[].cost equals usage.cost for every
run.
How money moves
- Approve. The plan’s maximum cost is checked against the key’s per-request limit, its monthly limit and the organisation’s balance.
- Reserve. Before a source is called, its cost is reserved on the balance.
- Run. The source is called.
- Settle. The actual cost is charged and the remainder released.
Balance
billing:read.
Usage
billing:read. Returns what this key spent this month and its most
recent charges, newest first.
string
charged is settled money. reserved is held for a call in flight.
refunded was given back and counts against nothing.string
The run that produced the charge; read it back with
GET /v2/runs/{id}.
