Rewrite maxSpendPerTransaction descriptions in plain language - #950
Rewrite maxSpendPerTransaction descriptions in plain language#950ls-bolt[bot] wants to merge 1 commit into
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-kotlin studio · code · diff
✅ grid-go 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. |
|
@greptile review |
|
44064df to
54108ed
Compare
|
⚡ Revision log — updated in place, latest first. Revision 1
|
|
⚡ Review ledger Round 1
|
|
@greptile review |
|
The revision resolves my concern. “Whichever limit applies” correctly refers to the effective lower of the card and platform limits, and moving the sentence after that clause makes the relationship clear. I have no further issues with these description-only changes. |

Summary
Rewrites every
maxSpendPerTransactiondescription in plain language. The old textread like an internal spec — "card-specific cap", "the effective limit", "Grid enforces
the lower of the two values without replacing this configured value". The new text says
what the field does in the second-person voice the rest of the docs use, and spells out
"smallest unit of the currency" with a concrete example (cents for USD) so a reader does
not have to infer it.
No schema constraints, types, examples, or field names changed — description strings only.
Changes: 7 source files (+ 2 regenerated bundles)
openapi/components/schemas/cards/Card.yaml— the field on the card resourceopenapi/components/schemas/cards/CardCreateRequest.yaml—POST /cardsopenapi/components/schemas/cards/CardUpdateRequest.yaml—PATCH /cards/{id}openapi/components/schemas/config/CardConfig.yaml— the platform-wide capopenapi/paths/cards/cards_{id}.yaml— the bullet in thePATCHoperation descriptionmintlify/snippets/cards/issuing-cards.mdx— the field table rowmintlify/snippets/cards/freezing-and-closing.mdx— the per-transaction limit sectionopenapi.yaml,mintlify/openapi.yaml— regenerated bymake buildFacts preserved in every rewrite: the value is in the currency's smallest unit; a
transaction for exactly whichever limit applies is allowed;
null/ omitted means nolimit; the lower of the card and platform values applies; the
supportsSpendLimitscapability gate; and that it cannot be sent alongside
state: CLOSED.The sibling
maxSpendPerDayandmaxTransactionsPerDaydescriptions were left alone —the request named
maxSpendPerTransaction. They can get the same treatment in afollow-up if you want the whole limits family to read consistently.
Test plan
make build— bundles cleanlymake lint— "Your API description is valid", 2 warnings / 14 ignored, identical tothe pre-change baseline on
main(verified by stashing and re-running)origin/mainoncedescriptionkeys are stripped, so nothing but prose moved