Use when defining a new unit of measure for pricing (e.g. GB, API call, seat). Ideal for metered or usage-based prices.
Enter your API key in the format x-api-key <api-key>*
Price unit details
base_currency is the currency that the price unit is based on
ConversionRate defines the exchange rate from this price unit to the base currency. This rate is used to convert amounts in the custom price unit to the base currency for storage and billing.
Conversion formula: price_unit_amount * conversion_rate = base_currency_amount
Example: If conversion_rate = "0.01" and base_currency = "usd": 100 price_unit tokens * 0.01 = 1.00 USD
Note: Rounding precision is determined by the base currency (e.g., USD uses 2 decimal places, JPY uses 0).