Skip to main content

PlayerAutoBilling

Off-session auto-recharge settings for the player wallet (the org auto-billing twin): when enabled with a vaulted card, the player gate tops the wallet up before denying for insufficient funds.

type PlayerAutoBilling {
userId: BigInt!
enabled: Boolean!
limitCents: BigInt
autoBilledThisPeriodCents: BigInt!
rechargeAmountCents: BigInt!
lowWaterThresholdCents: BigInt!
hasPaymentMethod: Boolean!
lastError: String
}

Fields

PlayerAutoBilling.userId ● BigInt! non-null scalar

The owning player user id.

PlayerAutoBilling.enabled ● Boolean! non-null scalar

Whether auto-recharge is enabled.

PlayerAutoBilling.limitCents ● BigInt scalar

Per-period auto-recharge ceiling in cents; null = no limit.

PlayerAutoBilling.autoBilledThisPeriodCents ● BigInt! non-null scalar

Amount auto-billed so far this period.

PlayerAutoBilling.rechargeAmountCents ● BigInt! non-null scalar

Amount charged per auto-recharge.

PlayerAutoBilling.lowWaterThresholdCents ● BigInt! non-null scalar

Balance threshold that triggers a recharge.

PlayerAutoBilling.hasPaymentMethod ● Boolean! non-null scalar

Whether an active vaulted card is attached.

PlayerAutoBilling.lastError ● String scalar

Last auto-recharge failure, if any.

Returned By

playerAutoBilling query ● setPlayerAutoBilling mutation