After the payment
The choice of payment method and the amount actually paid per MID is only visible at the end of the payment cycle.
From the marketplace point of view, this information is therefore only available from the moment the order status changes to PENDING.
If a voucher was used, the actual_amount attribute provides information about the amount that was affected to the item.
If we take the previous example, we can have the following “item” object:
... "status":"PENDING", "amount":8000, "items":[{ "uuid":"fc300ee2-fd43-46e0-9314-770f05a5b338", ... "reference":"Buffet1", "description":"Buffet 1", "type":"FOOD", "amount":8000, ... "vouchers":[{ "contract_type":"CVCONNECT", "is_selected":true, "actual_amount":3000 }, { "contract_type":"CONECS", "eligible_amount":1400, "is_selected":true, "actual_amount":1100 }] }]
In this example, we can see that the buyer paid €11 with a CONECS card and €30 with a holiday voucher (Chèque-Vacances). Since the total amount is €80, there will be a third transaction for the remaining amount (i.e. 80 - 30 - 11 = €39).