Create or update a commitment
1 min
POST
https://app.amberflo.io/payments/pricing/amberflo/customer-commitment/customer_installment
bodyobject
200Successful request
curl --request POST \
--url https://app.amberflo.io/payments/pricing/amberflo/customer-commitment/customer_installment \
--header 'accept: application/json' \
--header 'content-type: application/json' \
--data '{
"type": "customer_installment",
"customerId": "",
"planId": "",
"label": "",
"cycles": 0,
"prepaidCardInputs": [
{
"value": "",
"label": ""
}
],
"exitClauses": {
"type": "termination_grace_period",
"gracePeriodInDays": 0
}
}'