docs(cards): document that card reveal requires the MANAGE permission - #754
docs(cards): document that card reveal requires the MANAGE permission#754ls-bolt[bot] wants to merge 1 commit into
Conversation
Minting a reveal URL exposes the card's full PAN, CVV, and expiry, so it is gated on MANAGE; a VIEW-only token receives a 403. The endpoint's 403 response previously documented only the unattributable-session case.
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This stack of pull requests is managed by Graphite. Learn more about stacking. |
✱ 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.
|

Summary
POST /cards/{id}/revealmints a short-lived signed URL that renders the card's full PAN, CVV, and expiry. That is aMANAGE-grade operation — aVIEW-only token is refused with a 403 — but the spec never said so, and the endpoint's documented 403 listed only the unattributable-session case (an impersonated dashboard session).Changes
openapi/paths/cards/cards_{id}_reveal.yaml— state theMANAGErequirement in the operation description, and broaden the 403 description to cover an insufficiently-permissioned tokenopenapi.yaml,mintlify/openapi.yaml— regenerated bundles (npm run lint:openapi, 0 errors)No schema or operation shape changes, so no client regeneration is required.
Requested by @AaryamanBhute