跳到主要内容

Billing Commands: billing

bohr billing checks balances, billing records, photon transactions, and the CLI pricing catalog.

Commands

CommandUsageDescription
balancebohr billing balance [flags]Show current account balance.
ledgerbohr billing ledger [flags]Show billing ledger / transaction history.
photonbohr billing photon [flags]Show current photon balance and consumption history.
pricingbohr billing pricing [flags]Show billable items and pricing.
rechargebohr 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

ParameterDescription
--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.