Skip to content
Niu DocsNiu 牛元文档
Dashboard控制台

CustomerBilling

Generated from the checked-in source. Do not edit this reference by hand.

SDK source. All SDK types.

TypeScript
export type CustomerBilling = {
balances: Array<{
currency: string;
charged_nanos: string;
unbilled_nanos: string;
due_nanos: string;
paid_nanos: string;
}>;
unresolved: string;
unpriced: string;
tariffs: CustomerTariff[];
invoices: Array<{
id: string;
from_ms: number;
to_ms: number;
currency: string;
amount_nanos: string;
created_at: string;
status: 'issued' | 'paid';
payment_reference: string | null;
}>;
};