Skip to main content

OrgAutoBilling

Org off-session auto-billing configuration.

type OrgAutoBilling {
orgId: BigInt!
enabled: Boolean!
limitCents: BigInt
period: String!
autoBilledThisPeriodCents: BigInt!
rechargeAmountCents: BigInt!
lowWaterThresholdCents: BigInt!
hasPaymentMethod: Boolean!
lastError: String
}

Fields​

OrgAutoBilling.orgId ● BigInt! non-null scalar​

Organization id (BigInt).

OrgAutoBilling.enabled ● Boolean! non-null scalar​

Whether off-session auto-billing is enabled.

OrgAutoBilling.limitCents ● BigInt scalar​

Max auto-billed per period in cents. Null = no limit.

OrgAutoBilling.period ● String! non-null scalar​

Reset window for the per-period auto-billed total, e.g. 'month'.

OrgAutoBilling.autoBilledThisPeriodCents ● BigInt! non-null scalar​

Amount already auto-billed in the current period, in cents.

OrgAutoBilling.rechargeAmountCents ● BigInt! non-null scalar​

Amount to top up the wallet by on each auto-recharge, in cents.

OrgAutoBilling.lowWaterThresholdCents ● BigInt! non-null scalar​

Wallet balance at or below which an auto-recharge is triggered, in cents.

OrgAutoBilling.hasPaymentMethod ● Boolean! non-null scalar​

True when a vaulted payment method exists to charge off-session.

OrgAutoBilling.lastError ● String scalar​

Most recent auto-billing failure message, if any.

Returned By​

orgAutoBilling query ● setAutoBilling mutation