API Versioning: 7 Checks for Different Response Shapes
Trace API versioning differences across two support cases. Compare request headers, defaults, SDK settings and response fields before routing the issue.
The short answer
When API versioning may explain two different responses, match the endpoint, environment and account context first. Check the version each request actually sent and the default that applied when it sent none. Compare the changed response field against the documented versions. Route unexplained differences with both request references.
Two customers call what looks like the same endpoint, but one receives a field that the other does not. Compare the requests before deciding whether version selection explains the difference.
1. Compare the request scope
Match the endpoint, method and environment.
Record the operation, time and safe request ID for both cases. Compare the host and path, then check that the same operation and response fields are being discussed. Keep credentials and full customer payloads out of ordinary case notes.
- When it helps
- When two customers share screenshots of different responses.
- What to watch
- Different paths or environments can make the comparison inconclusive.
2. Read the version sent on the request
Check captured request metadata.
GitHub REST API uses the X-GitHub-Api-Version header. Stripe API supports a Stripe-Version header override. Capture the selector the request actually sent or record that it was absent. Use the documented selector for the API you support.12
- When it helps
- When a client setting and a request trace disagree.
- What to watch
- An intended client setting does not establish what reached the server.
3. Confirm the default for each request
Only apply the default rule when it fits the request.
Stripe documents that a curl request uses the account default unless the version header overrides it. GitHub documents a fallback when no version header is supplied. Ask the owner to verify the applicable fallback instead of treating an absent selector as a shared version.21
- When it helps
- When one or both selectors are absent.
- What to watch
- Account defaults may differ between customers.
4. Separate SDK requests and webhooks
Identify how the response was produced.
Stripe documents that SDK version selection varies with the library and release. Webhook endpoints can also have their own API version. Confirm which runtime or endpoint produced the observed body before comparing it with a manually sent request.2
- When it helps
- When a command-line response differs from an application or webhook.
- What to watch
- A manual request and a webhook can use different version settings.
5. Compare the exact response difference
Read the contract for the effective versions.
Record the status and the field that differs. Compare those with the version-specific documentation. GitHub documents a distinct response for requests targeting retired versions. Keep a retirement error separate from a successful response that has a different field shape.1
- When it helps
- When the report says only that one version works.
- What to watch
- The status and field difference identify separate checks.
6. Compare with only one variable changed
Use an approved read-only test or saved traces.
In a test environment, keep the operation and account context fixed while changing only the documented version selector. Compare the same response field. If a test is unavailable, ask for authorized traces and mark the version explanation as unconfirmed.
- When it helps
- When several request settings differ at once.
- What to watch
- Two uncontrolled requests cannot isolate the effect of version selection.
7. Route the unexplained difference with both traces
Send request IDs, observed selectors and the field difference.
An API provider using Pluno’s Troubleshooting Agent can investigate paired request references with authorized logs and relevant code connected. In a missing-field case, ask it to correlate each request with the server’s version choice and look for a recent change in response handling. Have the API owner verify the evidence before attributing the difference to a regression.3
- When it helps
- When the same effective version still produces different results.
- What to watch
- The investigation depends on the evidence the provider has connected and authorized.
Putting it into practice
Start with two comparable requests and confirm their effective versions. Send an unexplained difference to the owner who can check how the API selected the version and built the response.
Sources
- GitHub REST API versions
Checked 26 November 2026 · Version header, default selection and retirement behavior.
- Stripe API versioning
Checked 26 November 2026 · Overrides, account defaults, SDK behavior and webhook versions.
- Pluno Troubleshooting Agent
Checked 26 November 2026 · Investigating support tickets using connected code and logs.
How this guide was researched
We checked official GitHub, Stripe and Pluno documentation on 26 November 2026. The paired comparison is editorial guidance, and the worked case is illustrative.
The decision table and worked example show how a paired read can isolate the version selector before engineering receives a case.
Editorial standards