Overview
Some endpoints support more than one response shape. Until 1 October 2026 you choose which one you get with theX-API-Version header:
1, you get version 1 — the shape your integration already handles.
The header applies to the whole API, not to a single endpoint. Once you send
X-API-Version: 2, every endpoint that supports version 2 answers with its version 2 shape.What version 2 changes
Version 2 reports operations instead of events. A card purchase is not a single event for the issuer. It starts with an authorization, is followed by one or more clearings when the merchant collects, and can include reversals, refunds and closing adjustments — sometimes days apart. Version 1 reports each of those as its own movement, so one purchase shows up several times with different amounts, and reconstructing what the purchase actually cost is up to you. Version 2 groups them: one purchase is one movement, labelledPURCHASE, carrying the amount that is currently charged to the card.
Endpoints that support version 2 today, each documented on its own page:
Filtering by operation in version 2
Version 2 accepts these values inoperations:
Internal event names such as
TRANSACTION_APPROVED or TRANSACTION_CLEARED are rejected with 412. In version 2 a purchase already includes them, so mixing both would return the same purchase twice: once collapsed and once as a loose event.
412 Precondition Failed
Enterprise cards only
Version 2 covers enterprise cards. Asking for it on an individual card returns412. Individual cards keep their own endpoints under Individual Cards.
Removal of version 1 — 1 October 2026
On 1 October 2026 version 1 of these endpoints is removed:- The endpoints answer with their version 2 shape for every caller, whether or not they send the header.
X-API-Versionstops being read. Sending it is harmless — it is ignored, not rejected — so you do not need a second deploy on the day of the change.- There is no way to keep receiving version 1.
operation value, and fewer fields per movement.
Migrating
1
Replace the operation filter
Swap the purchase event names in
operations for PURCHASE. Keep the other values as they are.2
Send the header
Add
X-API-Version: 2 to your requests. After 1 October 2026 this step is unnecessary, but harmless.3
Adjust to fewer rows
Expect fewer movements for the same date range, and
total_elements counting operations rather than events. A purchase you used to see three times is now one row.4
Read the amount from the operation
bill_amount is what the card is charged for that purchase right now, fees included. You no longer need to add up authorizations and clearings.5
Replace what the search no longer gives you
If you read
status, decline_reason or the fees from the search, move that logic to the detail endpoint. This is the step that cannot be postponed past 1 October 2026.
