Skip to content

docs(cards): document that card reveal requires the MANAGE permission - #754

Draft
ls-bolt[bot] wants to merge 1 commit into
mainfrom
07-27-document-card-reveal-manage-permission
Draft

docs(cards): document that card reveal requires the MANAGE permission#754
ls-bolt[bot] wants to merge 1 commit into
mainfrom
07-27-document-card-reveal-manage-permission

Conversation

@ls-bolt

@ls-bolt ls-bolt Bot commented Jul 27, 2026

Copy link
Copy Markdown
Contributor

Summary

POST /cards/{id}/reveal mints a short-lived signed URL that renders the card's full PAN, CVV, and expiry. That is a MANAGE-grade operation — a VIEW-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 the MANAGE requirement in the operation description, and broaden the 403 description to cover an insufficiently-permissioned token
  • openapi.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

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.
@vercel

vercel Bot commented Jul 27, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
grid-flow-builder Building Building Preview, Comment Jul 27, 2026 10:49pm
grid-wallet-demo Building Building Preview, Comment Jul 27, 2026 10:49pm

Request Review

@ls-bolt ls-bolt Bot added the bolt label Jul 27, 2026

akanter commented Jul 27, 2026

Copy link
Copy Markdown
Contributor

This stack of pull requests is managed by Graphite. Learn more about stacking.

@github-actions

github-actions Bot commented Jul 27, 2026

Copy link
Copy Markdown
Contributor

✱ Stainless preview builds for grid

This PR will update the grid SDKs with the following commit messages.

cli

chore(internal): regenerate SDK with no functional changes

go

chore(internal): regenerate SDK with no functional changes

kotlin

chore(internal): regenerate SDK with no functional changes

openapi

docs(api): clarify MANAGE permission requirement for revealCard

php

chore(internal): regenerate SDK with no functional changes

python

chore(internal): regenerate SDK with no functional changes

ruby

chore(internal): regenerate SDK with no functional changes

typescript

chore(internal): regenerate SDK with no functional changes

Edit this comment to update them. They will appear in their respective SDK's changelogs.

grid-typescript studio · code · diff

Your SDK build had at least one "note" diagnostic, but this did not represent a regression.
generate ✅build ⏭️ (prev: build ✅) → lint ⏭️ (prev: lint ❗) → test ✅

grid-openapi studio · code · diff

Your SDK build had at least one "warning" diagnostic, but this did not represent a regression.
generate ⚠️

grid-ruby studio · code · diff

Your SDK build had at least one "note" diagnostic, but this did not represent a regression.
generate ✅build ⏭️ (prev: build ✅) → lint ✅test ✅

grid-go studio · code · diff

Your SDK build had at least one "note" diagnostic, but this did not represent a regression.
generate ✅build ⏭️ (prev: build ✅) → lint ❗test ❗

go get github.com/stainless-sdks/grid-go@43a7ba1a9b9df56b3718e637800d84608fcb8eab
grid-kotlin studio · code · diff

Your SDK build had at least one "warning" diagnostic, but this did not represent a regression.
generate ⚠️build ⏭️ (prev: build ✅) → lint ⏭️ (prev: lint ✅) → test ❗

grid-python studio · code · diff

Your SDK build had at least one "note" diagnostic, but this did not represent a regression.
generate ✅build ⏭️ (prev: build ✅) → lint ⏭️ (prev: lint ❗) → test ❗

grid-php studio · code · diff

Your SDK build had at least one "note" diagnostic, but this did not represent a regression.
generate ✅lint ✅test ✅

grid-cli studio · code · diff

Your SDK build had at least one "warning" diagnostic, but this did not represent a regression.
generate ⚠️build ❗lint ❗test ❗


This comment is auto-generated by GitHub Actions and is automatically kept up to date as you push.
If you push custom code to the preview branch, re-run this workflow to update the comment.
Last updated: 2026-07-27 22:53:14 UTC

@mintlify

mintlify Bot commented Jul 27, 2026

Copy link
Copy Markdown
Contributor

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
Grid 🟢 Ready View Preview Jul 27, 2026, 10:50 PM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants