Billing Cloud
Product Item Price Templates

Create or update a usage-based price with dimensions

1min
POST
https://app.amberflo.io/payments/pricing/amberflo/account-pricing/product-item-price/template/usage_based_dimension

A product item price generator that receives leaf node type and priceTiers, and creates a usage-based ProductItemPrice with dimensions.

Body Parameters
body
dimensionKeys
*
id
*
priceTiers
*
productItemId
*
groupDimensions
lockingStatus
productItemPriceName
type
useAverageReducer
Responses
200
Successful request
id
productItemId
price
One Of
payment.pricing.price.DimensionMatrixNode.out
productItemPriceName
lockingStatus
lastUpdateTimeInMillis
priceGenerator
One Of
payment.pricing.price.generators.FlatRatePriceGenerator.out