put
https://api.climateclick.com/CancelFlightCompensation
Cancel (parts) of a previously compensated flight
If the flight was partially refunded we expect the remaining compensation amount in this request, an amount of 0 is to indicate the entire flight was cancelled.
We will return a 200 OK if the flight was not previously cancelled and 400 BadRequest if it was. A higher amount than the current compensation amount will cause a 400 BadRequest, an equal number will return a 200 OK.
A 400 BadRequest is returned when supplying a currency different to the original compensation.