ArgusDocs
English Türkçe

Versioning

On this page

Which API version your requests use, how to try another one and which changes reach you without a new version.

A version is a date, such as 2026-10-01. It is the only version today.

Which version a request uses

In this order Version
1. The request has an Argus-Version header That version.
2. Otherwise Your account's version: the version that was current when your account was opened.

The response names the version it used in its Argus-Version header. A request refused before that, such as with 401 or 429, gets no such header. A version this installation does not know returns 400 api_version_invalid with param: "Argus-Version", and the message lists the versions you can use.

curl https://api.pf.organizer.tr/v1/payment_intents?limit=3 \
  -H "Authorization: Bearer sk_sandbox_YOUR_KEY" \
  -H "Argus-Version: 2026-10-01"

Webhook events carry the version they were written in, in the event's api_version field.

Changes without a new version

We add these to the current version. Write your code so that they do not break it:

Ignore fields you do not know, and handle an unknown value with a default branch.

Changes with a new version

A change that can break working code comes with a new version: a field that is removed or renamed, a type or a meaning that changes, or a parameter that becomes required. Your account stays on its version. To try the new one, send its date in Argus-Version on some requests. When your code works with it, ask your payment institution to move your account.

Next: Trace a request in Request logs, then work through Going live.