Billing Cloud
Customer Commitment

Create or update an Installments Commitment

1min
POST
https://app.amberflo.io/payments/pricing/amberflo/customer-commitment/installments_commitment
A contract generator that receives a map of installmentCycleSchedule and PrepaidCardInput and creates a contract with installment plans and credit obligations.
Authentication
X-API-KEY
Body Parameters
body
type
customerId
*
notifyOnClientViolation
planId
*
label
*
startTimeInSeconds
cycles
*
trueup
installmentCycleSchedule
credits
billOnceCreditIsFinished
promotions
reward
Responses
200
Successful request
contractGenerator
One Of
payment.pricing.commitments.generators.CustomerArrearsContractGenerator.out
contract
firstCustomerPlan
firstCustomerAppliedPromotions
firstCustomerPrepaidCards
One Of
payment.billing.prepaid_to_product.PrepaidCardByPrice.out
firstPrepaidCardsOrders
One Of
payment.pricing.customer.CustomerPrepaidByPrice.out
creationTimeInSeconds