Skip to content
NovaroPayDocs
2026-11-22.acaciacurrent
Theme
Merchant portal(opens in a new tab)

Versioning

Your integration is pinned to an API version and keeps working as it is, whatever we change later. When we change the API in a way that could break your code, it is a new version, and you move to it when you choose. This is Stripe’s model, with the header PSP-Version where Stripe has Stripe-Version.

The current version is 2026-11-22.acacia; the switcher at the top of these pages shows the version whose docs you read, by its newest release, and its state.

A version is a date and a release name, such as 2026-10-01.acacia:

  • A new name (acacia, then basil) starts with changes that can break an integration: a field removed or renamed, a type changed, a parameter made required, a status that means something else. At most two a year.
  • A new date under the same name (2026-10-01.acacia, then 2026-11-12.acacia) adds things only. Moving between them never needs a code change.

What we add without a new version, in every version at once: an optional parameter, a field in a response, an event type, a value of a status or an error code, a payment method. Write your code to ignore a field it does not know and to handle a value it does not know.

Send the version in the PSP-Version header:

A request pinned to a version
curl https://api.dev.novaro.ink/payments/pay_in_01J9… \
-H "Authorization: Bearer sk_live_in_…" \
-H "PSP-Version: 2026-11-22.acacia"
Your request The version it runs in
PSP-Version names a version That version
PSP-Version names no version we have, or is sent twice None: 400 with the code invalid_api_version, and nothing runs
PSP-Version names a version that retired None: 400 with the code api_version_retired, and nothing runs
No PSP-Version, and your account has a default Your account’s default
No PSP-Version, on your account’s first request The current version, which becomes your account’s default
No PSP-Version, and its version cannot be settled while it runs, as when your account’s default changes during it None: 503 with the code temporarily_unavailable, and nothing runs. Send it again

Your account’s first request sets its default to the current version, whether or not it sends PSP-Version, as Stripe does. A version is matched exactly as written: no spaces, lower-case name.

Every response the API runs your request for carries the version it was answered in, in its own PSP-Version header. A request refused before that, for its key, its address or its version, runs in no version, and its answer has no PSP-Version. Live and test mode keep a default each: the first request with a test key sets the test one. Try a new version with the header on a few requests in test mode first.

Every version of one name shares its state:

State What it means
current The newest name. A new account starts on it.
supported An older name. It works as it always did.
deprecated An older name with an end date. Requests and webhooks in it work as before, and every response in it carries a PSP-Deprecation header with the end date, such as PSP-Deprecation: 2029-01-01.
retired A name past its end date. A request whose PSP-Version names it is refused with 400 api_version_retired.

A name gets an end date at least 24 months after the next name ships, and whoever manages your account’s team is emailed at least 90 days before it, when your account uses it: its default version, a webhook endpoint, or its requests of the last 30 days are in it.

A name retires only once nothing has called in it or been sent in it for 30 days. Until then the end date moves on 90 days, and they are emailed the new date. When it retires, your account’s default version and your webhook endpoints on it move to the newest release of the oldest name that is neither deprecated nor retired, and they are emailed what moved. A request without PSP-Version then runs in the new default and is never refused.

  1. Read What changed between yours and the new one: the Changelog of every release between them, and what differs in each resource’s endpoints, fields and event types. In the merchant portal, Settings › Developers › API version shows it for your account’s default and the version you pick, with the breaking changes and an object in both shapes.
  2. Send the new version in PSP-Version from your test integration, and fix what breaks.
  3. Send it from your live integration. Once every request names it, the account’s default no longer matters to you.
  4. Or switch the account’s default on that page, in test mode first: requests without PSP-Version, and webhook endpoints without a version of their own, then run in it. For 72 hours Roll back gives the version before back, once, and sends again in it the deliveries that failed meanwhile to those endpoints. Whoever keeps an account’s integration switches it; our support team can too, at your request, and whoever manages the account’s team gets an email.

Sending PSP-Version on every request is the safest way: your code then says which version it was written for, and a change of the account’s default cannot reach it.

These docs are of the current version.

Each older version that is supported or deprecated has its own, as they stood when the next name shipped, at its name’s address: /acacia/api/payments/ for acacia. A retired version has none. The switcher at the top of every page lists each version by its newest release and its state (current, supported, or a deprecated one’s end date), and opens the page you are on in another version.

Your version comes first in it: the API docs ↗ link of the merchant portal’s API version page opens the docs of your account’s default, and these docs keep it in your browser for your next visit. The docs have no sign-in and know nothing else of your account.

What we add to every version reaches its docs too, marked Added in with the release that brought it: an endpoint, a parameter, a field, an event type or an error code.

A webhook endpoint can have a version of its own, given when it is created or changed later in the merchant portal; one without a version follows your account’s default. Its events are shaped in that version, retries included.