Amberflo API
Defining ProductPlanTemplate

Create a ProductPlan using a product plan generator

1min
POST
https://app.amberflo.io/payments/pricing/amberflo/account-pricing/product-plans/template/custom_pricing_plan
Authentication
X-API-KEY
Body Parameters
body
type
id
*
billingPeriod
*
planLevelFreeTier
invoiceBasedFeeIds
planMinimumPayment
minimumPaymentGranularity
planName
*
description
feeMap
entitlements
lockingStatus
isDefault
successorPlanId
transitionStrategy
prepaidBuyingRules
planCurrency
priceGenerators
*
One Of
payment.pricing.price.generators.CostPlusDimensionPriceGenerator.in
invoiceBasedFees
One Of
payment.pricing.invoice_based_fees.ConstantInvoiceRatioFee.in
Responses
200
Successful request
id
productId
productItemPriceIdsMap
billingPeriod
planLevelFreeTier
invoiceBasedFeeIds
planMinimumPayment
minimumPaymentGranularity
productPlanName
description
lastUpdateTimeInMillis
feeMap
entitlements
lockingStatus
isDefault
successorPlanId
transitionStrategy
type
prepaidBuyingRules
planGenerator
One Of
payment.pricing.plans.generators.CustomPlanGenerator.out
planCurrency
realTimePricing