Table of Contents

Class XAIPrepaidBalance.XAIBalanceChange

public class XAIPrepaidBalance.XAIBalanceChange
Inheritance
object
XAIPrepaidBalance.XAIBalanceChange

Properties

Amount

Required. Representation of USD Cents.

public XAIPrepaidBalance.Amount Amount { get; set; }

Property Value

XAIPrepaidBalance.Amount

ChangeOrigin

Required. The reason for the change.

  • PURCHASE: Purchase by user. amount field will be negative.
  • SPEND: Spending by user. amount field will be positive.
  • REFUND: A refund issued to user. amount field will be negative.
  • MANUAL: Can be either positive or negative, performed by xAI staff.
  • AUTO_PURCHASE: Can only be negative.
public string ChangeOrigin { get; set; }

Property Value

string

CreateTime

Required. Creation time of the invoice.

public string CreateTime { get; set; }

Property Value

string

CreateTs

Required. Creation timestamp.

public string CreateTs { get; set; }

Property Value

string

InvoiceId

Required. Invoice ID.

public string InvoiceId { get; set; }

Property Value

string

InvoiceNumber

Required. Invoice number.

public string InvoiceNumber { get; set; }

Property Value

string

PaymentProcessor

Required. Payment processor information.

public XAIPrepaidBalance.PaymentProcessor PaymentProcessor { get; set; }

Property Value

XAIPrepaidBalance.PaymentProcessor

SpendBpKeyMonth

Required. Calendar month the purchase is made in.

public int SpendBpKeyMonth { get; set; }

Property Value

int

SpendBpKeyYear

Required. Calendar year the purchase is made in.

public int SpendBpKeyYear { get; set; }

Property Value

int

TeamId

Required. The team ID.

public string TeamId { get; set; }

Property Value

string

TopupStatus

Required. Status of the top up.

public string TopupStatus { get; set; }

Property Value

string

Total

Required. Representation of USD Cents.

public XAIPrepaidBalance.Amount Total { get; set; }

Property Value

XAIPrepaidBalance.Amount

Val

Required. Value.

public string Val { get; set; }

Property Value

string