Top Up Organization Prepaid Balance
$ nirvana organizations:billing top-up
POST/v1/organizations/{organization_id}/billing/topup
Charge the card on file and credit the prepaid balance. A unique Idempotency-Key header is required; reuse it across retries so a timed-out top-up is not charged twice.
Top Up Organization Prepaid Balance
nirvana organizations:billing top-up \
--api-key 'My API Key' \
--organization-id organization_id \
--amount 50.00 \
--idempotency-key Idempotency-Key{
"daily_cost": "-69125",
"effective_balance": "-69125",
"monthly_cost": "-69125",
"recharge_threshold_days": "-69125",
"estimated_next_charge_at": "2025-01-01T00:00:00Z",
"runway_months": "-69125"
}Returns Examples
{
"daily_cost": "-69125",
"effective_balance": "-69125",
"monthly_cost": "-69125",
"recharge_threshold_days": "-69125",
"estimated_next_charge_at": "2025-01-01T00:00:00Z",
"runway_months": "-69125"
}