Billing Commands: billing
bohr billing checks balances, billing records, photon transactions, and the CLI pricing catalog.
Commands
| Command | Usage | Description |
|---|---|---|
balance | bohr billing balance [flags] | Show current account balance. |
ledger | bohr billing ledger [flags] | Show billing ledger / transaction history. |
photon | bohr billing photon [flags] | Show current photon balance and consumption history. |
pricing | bohr billing pricing [flags] | Show billable items and pricing. |
recharge | bohr billing recharge [flags] | Opens the Bohrium platform recharge page where you can complete identity verification …. |
For subcommands inside a command group, run bohr billing <group> --help.
Common parameters
| Parameter | Description |
|---|---|
--since <time> | Start time or relative duration, default 7d |
--until <time> | End time |
--event-type <1,2,3> | Photon event types: acquire, consume, or expire |
--page <number> | Photon page number, default 1 |
--page-size <number> | Photon page size, default 20 |
--resource <name> | Limit pricing output to one resource type |
Examples
bohr billing balance -o json
bohr billing ledger --since 30d
bohr billing photon --event-type 1,2 --page-size 50
bohr billing pricing --resource api
The pricing command displays the CLI's current service catalog; the final charge depends on the actual service request and platform billing rules.