Skip to content
Docs

Re-trigger Organization Prepaid Recharge

POST/v1/organizations/{organization_id}/billing/recharge

Charge the card on file up to the recharge target now instead of waiting for the scheduled retry. Automatic-policy prepaid organizations only. Idempotency-Key header required.

Path ParametersExpand Collapse
organization_id: string
Header ParametersExpand Collapse
"Idempotency-Key": string
ReturnsExpand Collapse
OrganizationBillingSummary object { daily_cost, effective_balance, monthly_cost, 3 more }

Forward-looking billing summary for an organization. All costs are run-rate projections from the organization’s current active usage (”≈ $X/mo at current usage”).

daily_cost: string

Arbitrary-precision decimal serialized as a string (e.g. “58.40”).

formatdecimal
effective_balance: string

Arbitrary-precision decimal serialized as a string (e.g. “58.40”).

formatdecimal
monthly_cost: string

Arbitrary-precision decimal serialized as a string (e.g. “58.40”).

formatdecimal
recharge_threshold_days: string

Arbitrary-precision decimal serialized as a string (e.g. “58.40”).

formatdecimal
estimated_next_charge_at: optional string

Projected date the balance reaches the recharge threshold at the current run-rate. Null when there is no active usage (never charges).

formatdate-time
runway_months: optional string

Arbitrary-precision decimal serialized as a string (e.g. “58.40”).

formatdecimal

Re-trigger Organization Prepaid Recharge

curl https://api.nirvanalabs.io/v1/organizations/$ORGANIZATION_ID/billing/recharge \
    -X POST \
    -H "Authorization: Bearer $NIRVANA_LABS_API_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"
}