Skip to main content

TypeAlias.PrepaidCreditStatus

type PrepaidCreditStatus = ObjectEnum<typeof PrepaidCreditStatus>;

State of a line of prepaid credit, derived from its amounts and expiry, never stored.

  • active: credit remains and the line has not expired.
  • exhausted: the whole amount was spent on prepaid payments.
  • expired: the expiry date passed; what was left can no longer be spent.