put
https://api.climateclick.com/CancelAccommodationCompensation
Cancel (parts) of a previously compensated order — we return a 200 OK if the order was not previously compensated
If the accommodation was partially refunded we expect the remaining compensation amount in this request, an amount of 0 is to indicate the entire accommodation was cancelled.
We will return a 200 OK if the accommodation 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.