Skip to content

Price

Public provider-neutral catalog price; amount is native bigint in minor units.

const Price: Schema.Struct<{
id: Schema.brand<Schema.String, "PriceId">;
tierId: Schema.brand<Schema.String, "TierId">;
currency: Schema.brand<Schema.String, "Currency">;
amount: Schema.brand<Schema.BigInt, "MinorCurrencyUnits">;
billingTerms: Schema.toTaggedUnion<"type", readonly [Schema.Struct<{
type: Schema.Literal<"one_time">;
}>, Schema.Struct<{
type: Schema.Literal<"recurring">;
interval: Schema.Literals<readonly ["month", "year"]>;
}>]>;
createdAt: Schema.brand<Schema.Int, "EpochMilliseconds">;
updatedAt: Schema.brand<Schema.Int, "EpochMilliseconds">;
}>;