Amberflo API
Defining custom product plans

Create a custom product plan

1min
POST
https://app.amberflo.io/payments/pricing/amberflo/customer-pricing/price-override
Authentication
X-API-KEY
Body Parameters
body
customerId
*
planGenerator
*
One Of
payment.pricing.plans.generators.CustomPlanGenerator.in
startTimeInSeconds
*
endTimeInSeconds
*
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