api-neteven.mylectra.com/{major version id}/merchant/{endpoint}
The MAJOR.MINOR.PATCH logic is kept in the API detail, but only one MAJOR version can be specified by the user: the API will systematically respond with the latest corresponding version (i.e. the latest MINOR.PATCH version of the MAJOR version called).
MAJORcorrespond to breaking changes, that is to say modifications to already existing calls which hinder backward compatibility: deletion of calls, deletion of fields, modification of logic, etc.MINORcorrespond to additions / modifications of fields / calls which does not change the way of using the API for already active users.PATCHcorrespond to fixes for functional anomalies or optimizations / updates of libraries, etc.
n versions are maintained at any point in time: after the release of a new MAJOR version, the “old” versions will remain available for some time. A metadata bloc in the body’s response will let you which version you are using and its corresponding expiry date:
metadata example

