Introduction
A detailed reference for all Commerce Layer core API resources — version 2026-05
Commerce Layer is a flexible commerce API built for developers. This is the complete resource reference for API version 2026-05, which brings a redesigned payment foundation.
What's in this reference
For each resource you'll find:
The object page — a complete list of fields, attributes, and relationships returned by the API.
One page for each supported CRUD operation — with request arguments, required and optional fields, and a
curlexample showing both the request and response.
Differences from the previous version
The 2026-05 API introduces a redesigned payment infrastructure changing the payment model and some response conventions. The main differences from the previous version are:
Payment is driven by payment sessions rather than payment options. An order can have multiple sessions, each covering a portion of the order total (split payment).
All gateway configurations are modeled as typed payment settings resources (one for Adyen, Braintree, Checkout.com, PayPal, Stripe, gift cards, manual gateways, external gateways).
Vaulted instruments are supported via payment wallets, enabling faster checkout with stored payment methods.
A session's payment instrument attribute summarizes what the customer actually paid with (e.g. card brand and last digits, or the PayPal account) directly in the response, without needing to query the payment provider.
Payment rules allow conditional availability of payment settings per market.
Returns are refunded by creating payment refunds against the order's payment sessions, rather than through the previous version's refund flow.
Order subscriptions capture the payment wallet or setting derived from the source order's payment session — on each automatic run, recurring order copies use it to create and authorize a new payment session on the target order. Manually triggering subscription generation via order copies instead is only supported for orders still on the previous version's payment flow.
Order editing does not automatically adjust payment — any authorization, void, or refund required after an edit must be created manually against the order's payment sessions.
The gateway options for payment sessions, payment transactions, payment links, and payment wallets let you forward gateway-specific parameters straight into the payment gateway request, overriding fields the API would otherwise compute — the reconciliation reference and the amount can never be overridden this way, regardless of what's passed. It can only be set using integration API credentials — sales channels cannot supply it.
Meta information provided in the response JSON has changed — resource-level meta now contains only the API version that was active when this resource was created, while all other meta information has been moved into the document-level
metaobject.
You can find below a full breakdown of the changes by resource:
Last updated