You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Orders API already had the capability of adding line item information to the Order. Now it is also possible to add this information when you are using the Payments API.
Why are we doing this?
At Mollie we always try to improve and make things easier. One way we want to do that, is to remove the dependency on the Orders API. We want to do this by having the Payments API support all use cases and payment methods. This means that later this year you will be able to use the Payments API for Klarna, Billie and Vouchers too!
Additionally, we have some awesome plans for other features that will be leveraging line item information.
How does it differ from the Orders API?
It is good to know that on the Payments API, the lines are simply meta-data. In contrast to the Orders API, line items do not have any business logic related to it (like a status). You also cannot create a refund via the API only referencing a line item, you simply send in an amount. This is on purpose since we realised from the Orders API that building logic on line items is actually making things more complex and less flexible.
Source: https://discord.com/channels/1037712581407817839/1037752322585018368/1243549435514851380
The text was updated successfully, but these errors were encountered: