Move per-transaction spending limits onto cards - #818
Conversation
|
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
|
|
✱ 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
|
| 💡 Model/Recommended: We recommend you use a model for `#/components/schemas/CardSpendingLimit` |
✅ grid-php studio · code · diff
Your SDK build had at least one new note diagnostic, which is a regression from the base state.
generate ✅→lint ✅→test ✅New diagnostics (1 note)
💡 Model/Recommended: We recommend you use a model for `#/components/schemas/CardSpendingLimit`
✅ grid-cli studio · code · diff
Your SDK build had at least one new note diagnostic, which is a regression from the base state.
generate ⚠️→build ❗→lint ❗→test ❗New diagnostics (1 note)
💡 Model/Recommended: We recommend you use a model for `#/components/schemas/CardSpendingLimit`
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-08-12 21:53:24 UTC

Card spending limits are tied to delegated keys, so custodial-funded cards cannot use the same control. Move the optional single per-transaction limit to card create, update, and resource schemas and remove it from delegated-key contracts; omitted or empty means unlimited, and
state=CLOSEDcannot be combined with a limit update. This is intentionally breaking because the card program has no active production cards, so no legacy contract or backfill is retained.Test Plan
npm run lint:openapibundles and validates both published OpenAPI documents