Pinning a version
Send the header on any request:- Omit the header to track the current version (
2026-07-15). - A key may also carry a pinned version; precedence is request header → key pin → current.
- An unknown value is
400 request.invalid_version. - The resolved version is echoed on every response’s
Invoice-Versionheader.
GET /v1/versions (public, no auth):
Changelog
Adds machine-navigable error and list metadata (both additive):
problem+jsonerror bodies now includedoc_url— an absolute deep-link to the matching row in the Error reference.- List envelopes now include
url— the path the list was requested from.
2026-07-10 receives neither field, so an older integration’s response
shape is unchanged.Initial dated release — the first public API surface.
problem+json bodies carry no
doc_url; list envelopes carry no url.Deprecation policy
When a version is scheduled for removal, every response served under it carries RFC 8594 headers:| Header | Value |
|---|---|
Deprecation | true |
Sunset | The HTTP-date after which the version stops being served |
Sunset instant. Neither shipped version is deprecated
today.