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