Billing Cloud
Customer Commitment

Create or update a Custom Commitment

1min
POST
https://app.amberflo.io/payments/pricing/amberflo/customer-commitment/custom_commitment

An advanced contract generator that receives a Reward, Promotions TrueUpInput, Installments, Credits, and Upfront and creates a contract with credit obligations.

Authentication
X-API-KEY
Body Parameters
body
type
customerId
*
notifyOnClientViolation
planId
*
label
*
startTimeInSeconds
cycles
*
upfrontPayments
installmentSchedule
trueups
credits
rewards
promotions
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