Function createTimedTextBudget

  • Starts a session's text funding before its first text request; the caller holds the supplier scope and customer locks in its existing transaction, where it also made initialReservationId.

    Parameters

    • t: CreditTransaction
    • input: {
          scopeId: string;
          budgetId: string;
          at: number;
          sliceMs: number;
          partMicro: number;
          initialReservationId: string;
      }
      • scopeId: string
      • budgetId: string
      • at: number
      • sliceMs: number
      • partMicro: number
      • initialReservationId: string

    Returns Promise<void>

    Throws

    For a quantity that is not a whole number, a zero slice or part, a missing reservation id, a store without documents, or a budget id already used in the scope.