Rate Cards
Create Rate Card
List Rate Cards
Get Rate Card
ModelsExpand Collapse
AmountInput = object { currency_code, value }
The currency code of the amount.
value: number or stringThe value of the amount in the smallest unit of the currency.
The value of the amount in the smallest unit of the currency.
FlatPriceInput = object { amount, price_type } Flat price is a price that linearly scales with the quantity.
Flat price is a price that linearly scales with the quantity.
The currency code of the amount.
value: number or stringThe value of the amount in the smallest unit of the currency.
The value of the amount in the smallest unit of the currency.
price_type: optional "flat"
FlatPriceOutput = object { amount, price_type } Flat price is a price that linearly scales with the quantity.
Flat price is a price that linearly scales with the quantity.
The currency code of the amount.
The value of the amount in the smallest unit of the currency.
price_type: optional "flat"
PackagePriceInput = object { amount, package_units, rounding_behavior, price_type } Package price is a price that is charged for a fixed number of units. For example, $10 per 1000 units. If the quantity is not a multiple of the package units, the rounding behavior will be applied.
Package price is a price that is charged for a fixed number of units. For example, $10 per 1000 units. If the quantity is not a multiple of the package units, the rounding behavior will be applied.
The currency code of the amount.
value: number or stringThe value of the amount in the smallest unit of the currency.
The value of the amount in the smallest unit of the currency.
rounding_behavior: "round_up" or "round_down"
price_type: optional "package"
PackagePriceOutput = object { amount, package_units, rounding_behavior, price_type } Package price is a price that is charged for a fixed number of units. For example, $10 per 1000 units. If the quantity is not a multiple of the package units, the rounding behavior will be applied.
Package price is a price that is charged for a fixed number of units. For example, $10 per 1000 units. If the quantity is not a multiple of the package units, the rounding behavior will be applied.
The currency code of the amount.
The value of the amount in the smallest unit of the currency.
rounding_behavior: "round_up" or "round_down"
price_type: optional "package"
RateCardResource = object { id, billing_interval, created_at, 6 more }
The ID of the rate card.
billing_interval: "monthly" or "yearly"How often the customer will be billed for this rate card.
How often the customer will be billed for this rate card.
The date and time the rate card was created.
fixed_rates: array of object { id, description, name, price } The fixed rates of the rate card.
The fixed rates of the rate card.
price: FlatPriceOutput { amount, price_type } or PackagePriceOutput { amount, package_units, rounding_behavior, price_type } Flat price is a price that linearly scales with the quantity.
Flat price is a price that linearly scales with the quantity.
FlatPriceOutput = object { amount, price_type } Flat price is a price that linearly scales with the quantity.
Flat price is a price that linearly scales with the quantity.
The currency code of the amount.
The value of the amount in the smallest unit of the currency.
price_type: optional "flat"
PackagePriceOutput = object { amount, package_units, rounding_behavior, price_type } Package price is a price that is charged for a fixed number of units. For example, $10 per 1000 units. If the quantity is not a multiple of the package units, the rounding behavior will be applied.
Package price is a price that is charged for a fixed number of units. For example, $10 per 1000 units. If the quantity is not a multiple of the package units, the rounding behavior will be applied.
The currency code of the amount.
The value of the amount in the smallest unit of the currency.
rounding_behavior: "round_up" or "round_down"
price_type: optional "package"
Additional metadata about the rate card. You may use this to store any custom data about the rate card.
The name of the rate card.
The date and time the rate card was last updated.
usage_based_rates: array of object { id, description, included_units, 4 more } or object { id, description, dimensions, 5 more } The usage based rates of the rate card.
The usage based rates of the rate card.
Simple = object { id, description, included_units, 4 more }
price: FlatPriceOutput { amount, price_type } or PackagePriceOutput { amount, package_units, rounding_behavior, price_type } Flat price is a price that linearly scales with the quantity.
Flat price is a price that linearly scales with the quantity.
FlatPriceOutput = object { amount, price_type } Flat price is a price that linearly scales with the quantity.
Flat price is a price that linearly scales with the quantity.
The currency code of the amount.
The value of the amount in the smallest unit of the currency.
price_type: optional "flat"
PackagePriceOutput = object { amount, package_units, rounding_behavior, price_type } Package price is a price that is charged for a fixed number of units. For example, $10 per 1000 units. If the quantity is not a multiple of the package units, the rounding behavior will be applied.
Package price is a price that is charged for a fixed number of units. For example, $10 per 1000 units. If the quantity is not a multiple of the package units, the rounding behavior will be applied.
The currency code of the amount.
The value of the amount in the smallest unit of the currency.
rounding_behavior: "round_up" or "round_down"
price_type: optional "package"
usage_based_rate_type: optional "simple"
Dimensional = object { id, description, dimensions, 5 more }
dimensions: array of object { description, key, values }
pricing_matrix: object { cells }
cells: array of object { dimension_coordinates, price }
price: FlatPriceOutput { amount, price_type } or PackagePriceOutput { amount, package_units, rounding_behavior, price_type } Flat price is a price that linearly scales with the quantity.
Flat price is a price that linearly scales with the quantity.
FlatPriceOutput = object { amount, price_type } Flat price is a price that linearly scales with the quantity.
Flat price is a price that linearly scales with the quantity.
The currency code of the amount.
The value of the amount in the smallest unit of the currency.
price_type: optional "flat"
PackagePriceOutput = object { amount, package_units, rounding_behavior, price_type } Package price is a price that is charged for a fixed number of units. For example, $10 per 1000 units. If the quantity is not a multiple of the package units, the rounding behavior will be applied.
Package price is a price that is charged for a fixed number of units. For example, $10 per 1000 units. If the quantity is not a multiple of the package units, the rounding behavior will be applied.
The currency code of the amount.
The value of the amount in the smallest unit of the currency.
rounding_behavior: "round_up" or "round_down"
price_type: optional "package"
usage_based_rate_type: optional "dimensional"
The description of the rate card.