Rectified sale
Each journey will have one sale (receipt) associated with it unless there are some changes in the sale after a price complaint or any other later modification in price. So, what Cabify does to modify the price of a journey is it generates another two Sales associated with the original Journey/Sale. The Sale 2 is used to rectify the full amount of the Sale 1 and the Sale 3 holds the new and final price.
Sale concept
In order to differentiate between a normal Sale (the original one) and a rectified Sale we are using the concept field, which corresponds to either a Journey or a Rectification. That's why the concept in the response can be either a TypeObjectSale or TypeObjectRectification.
Updated 12 months ago
Did this page help you?
