Checkout Service API
Checkout backend APIs to be consumed by custom checkout frontends.
Flow:
- Obtain an access token from the Authentication Service.
- Load configuration via the config endpoint.
- Initialise a new checkout session via the putState endpoint.
- Update customer and order data via the various state-mutating endpoints.
- Confirm payment and order via the payment execution endpoint.
In addition, the get state endpoint should be called periodically to fetch the latest information, such as stock updates.