docs(transactions): document the 501 response on the cancel endpoint - #774
docs(transactions): document the 501 response on the cancel endpoint#774ls-bolt[bot] wants to merge 2 commits into
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub. 2 Skipped Deployments
|
✱ Stainless preview builds for gridThis PR will update the cli go kotlin openapi php python ruby typescript Edit this comment to update them. They will appear in their respective SDK's changelogs. ✅ grid-typescript studio · code · diff
✅ grid-openapi studio · code · diff
✅ grid-ruby studio · code · diff
✅ grid-go studio · code · diff
✅ grid-kotlin studio · code · diff
✅ grid-python studio · code · diff
✅ grid-php studio · code · diff
✅ grid-cli studio · code · diff
This comment is auto-generated by GitHub Actions and is automatically kept up to date as you push. |
|
Preview deployment for your docs. Learn more about Mintlify Previews.
|
2c2bffb to
18ef7cc
Compare
Co-Authored-By: whoisglover <whoisglover@users.noreply.github.com>
18ef7cc to
0974dfd
Compare
Ready for review — the implementation it documents has mergedlightsparkdev/webdev#31504 merged, so Refreshed in
The
|
Heads-up: the green checkmark here is thinner than it looksThe rollup on I can't re-run workflows (
So the change is sound, but someone with write access may want to push an empty commit or re-run the workflows before merge if the four checks are required. Flagging rather than assuming the checkmark speaks for them. |
Correction + final CI read on
|
| Check | Result |
|---|---|
Detect breaking changes |
✅ success |
Build OpenAPI Documentation |
✅ success |
Lint Code & Documentation |
|
preview (Stainless SDK build) |
❌ failure |
| Mintlify / Vercel | ✅ success |
Detect breaking changes passing is the one that matters here — it independently confirms the hand-verification I posted above, and it's the check that produced a false breaking-change report when this branch was 24 commits stale. The rebase fixed that.
Both reds are infrastructure, not this spec:
preview— Stainless's API returnedHTTP 503: upstream connect error ... reset reason: overflowduring OIDC auth. The action never reached the spec. The same job passed on this branch's previous SHA with a near-identical diff.Lint— the job iscancelledwith no failed step and no logs, i.e. aborted before producing output; the run-levelfailureis inherited from that. I ran the exact CI command locally —make lint— and it exits 0. The remaining output is pre-existinginformation/warningfindings on unrelated Cad/Cop/Eur/Gbp beneficiary schemas, none of them mine. Another PR's Lint (39798cfb) also failed today, so this isn't specific to this branch.
Both need a re-run once Stainless recovers, which I can't do (Resource not accessible by integration).

Summary
POST /transactions/{transactionId}/cancelreturns501 NOT_IMPLEMENTEDfor any payment rail whose banking partner exposes no cancellation facility, but the spec never documented a501response. Integrators hit an undocumented status on the endpoint's primary path.501response (Error501, already used by/cards,/customers, and/platform/config).200description: a success means the banking partner accepted the cancellation request, not that the transfer is already cancelled. The partner confirms asynchronously, so the transaction body returned may still report its pre-cancellation status.Changes: 3 files
openapi/paths/transactions/transactions_{transactionId}_cancel.yaml— add501, clarify200openapi.yaml,mintlify/openapi.yaml— regenerated bundles (npm run build:openapi)Net diff is confined to the cancel path.
npm run lintpasses.Requested by @AaryamanBhute