What is new?
Two new fields have been added to the order endpoints:
payment_provider(order object) — indicates the payment provider and method used for the orderorder_id(items object) — exposes the parent order ID directly on each item,
Why this change?
You can now differentiate between payment methods at the order level. This is especially relevant for buy-now-pay-later providers such as Klarna, where the payment is not immediately settled. In those cases, refunds may only become available a few days after the order was placed, once the provider has captured the payment. By exposing the payment_provider field, you can programmatically identify such orders and handle refund eligibility accordingly.
Having the order_id also on each order item can make it easier to associate individual items back to their order.