docs(cards): state physical cards are not offered - #941
Conversation
The Grid API rejects any form other than VIRTUAL, but the CardForm description and the issuing-cards field table still promised PHYSICAL in a later release. Co-Authored-By: AaryamanBhute <AaryamanBhute@users.noreply.github.com>
|
Preview deployment for your docs. Learn more about Mintlify Previews.
|
|
The latest updates on your projects. Learn more about Vercel for GitHub. 2 Skipped Deployments
|
|
@greptile review |
✱ Stainless preview builds for gridThis PR will update the cli kotlin php ruby Edit this comment to update them. They will appear in their respective SDK's changelogs. ⏳ grid-typescript studio⏳ grid-openapi studio⏳ grid-ruby studio⏳ grid-kotlin studio⏳ grid-go studio⏳ grid-python studio⏳ grid-php studio⏳ grid-cli studio⏳ These are partial results; builds are still running. This comment is auto-generated by GitHub Actions and is automatically kept up to date as you push. |
|

Summary
POST /cardsrejects anyformother thanVIRTUAL. The docs, however, still promised physical cards were coming, in two places:CardFormschema description: "OnlyVIRTUALis supported in v1;PHYSICALwill be added in a later release."POST /cardsfield table in the issuing-cards guide: "VIRTUALin v1.PHYSICALwill be added later."Physical cards are not a supported product on the API, so both now say so.
Editing the source, not the bundle
An earlier pass at this wording was made against a downstream generated copy of the spec. Because that copy is regenerated from this repo, a later version bump reverted it. This change edits the source (
openapi/components/schemas/cards/CardForm.yaml) so it survives regeneration.Changes: 4 files
openapi/components/schemas/cards/CardForm.yaml— the source description (the only hand-edited spec file)openapi.yaml,mintlify/openapi.yaml— regenerated bymake buildmintlify/snippets/cards/issuing-cards.mdx— theformrow of thePOST /cardsfield tableNo
info.versionbump: this is description-only, not a breaking change.Test plan
Documentation-only repo, so no test suite applies.
make build— rebundles cleanly; both generated bundles carry the new text.make lint— exits 0, with exactly the pre-change counts (2 warnings, 14 explicitly ignored). No new lint problems.VIRTUALonly), and that no other page contradicts the change: the card-design pages describe physical cards as an out-of-band program arranged during onboarding, and already state "The Cards API issues virtual cards."Requested by @AaryamanBhute