I have the following order receipt and response.
URL : https://www.clover.com/r/7RJ87M4RDY6EC
Below is the response for above order receipt is getting using /v3/merchants/{mId}/orders/{orderId}/line_items?expand=discounts api
Array
(
[elements] => Array
(
[0] => Array
(
[id] => 66XN4CN38FVVM
[orderRef] => Array
(
[id] => 7RJ87M4RDY6EC
)
[item] => Array
(
[id] => 7C4JVFSFBA9Z6
)
[colorCode] => #AE9009
[name] => Wood Product
[price] => 1000
[printed] =>
[createdTime] => 1712061877000
[orderClientCreatedTime] => 1712061875000
[exchanged] =>
[refunded] =>
[isRevenue] => 1
[isOrderFee] =>
)
[1] => Array
(
[id] => SG2DPF738MPGR
[orderRef] => Array
(
[id] => 7RJ87M4RDY6EC
)
[item] => Array
(
[id] => 7C4JVFSFBA9Z6
)
[colorCode] => #AE9009
[name] => Wood Product
[price] => 1000
[printed] =>
[createdTime] => 1712061877000
[orderClientCreatedTime] => 1712061875000
[exchanged] =>
[refunded] =>
[isRevenue] => 1
[isOrderFee] =>
)
[2] => Array
(
[id] => PBZYEB25DZJYM
[orderRef] => Array
(
[id] => 7RJ87M4RDY6EC
)
[item] => Array
(
[id] => 7C4JVFSFBA9Z6
)
[colorCode] => #AE9009
[name] => Wood Product
[price] => 1000
[printed] =>
[createdTime] => 1712061877000
[orderClientCreatedTime] => 1712061875000
[exchanged] =>
[refunded] =>
[isRevenue] => 1
[isOrderFee] =>
)
)
[href] => http://api.clover.com/v3/merchants/xxxxxxxxx/orders/7RJ87M4RDY6EC/line_items?limit=100
)
So my question is where to get a discount $3.00 as shown in the order receipt screenshot in the above response ?