Skip to main content

BillingCharge

One settlement unit of the lossless ledger: a (payer, meter, period) for a continuous meter, or one request for a request-priced meter. Amounts in micro-USD; nothing is rounded.

type BillingCharge {
chargeId: String!
appId: BigInt!
payerKind: String!
payerId: BigInt!
meter: String!
periodStart: DateTime
settlementRef: String!
state: String!
quantityTotal: BigInt!
quantityFree: BigInt!
pricedTotalMicrousd: BigInt!
billedMicrousd: BigInt!
heldMicrousd: BigInt!
writtenOffMicrousd: BigInt!
updatedAt: DateTime!
}

Fields​

BillingCharge.chargeId ● String! non-null scalar​

BillingCharge.appId ● BigInt! non-null scalar​

BillingCharge.payerKind ● String! non-null scalar​

BillingCharge.payerId ● BigInt! non-null scalar​

BillingCharge.meter ● String! non-null scalar​

BillingCharge.periodStart ● DateTime scalar​

BillingCharge.settlementRef ● String! non-null scalar​

BillingCharge.state ● String! non-null scalar​

BillingCharge.quantityTotal ● BigInt! non-null scalar​

BillingCharge.quantityFree ● BigInt! non-null scalar​

BillingCharge.pricedTotalMicrousd ● BigInt! non-null scalar​

BillingCharge.billedMicrousd ● BigInt! non-null scalar​

BillingCharge.heldMicrousd ● BigInt! non-null scalar​

BillingCharge.writtenOffMicrousd ● BigInt! non-null scalar​

BillingCharge.updatedAt ● DateTime! non-null scalar​

Returned By​

billingCharges query