Skip to content

docs(cards): add substatus and reason to status change examples - #1021

Open
claude[bot] wants to merge 1 commit into
mainfrom
docs/sync-20260917
Open

claude[bot] wants to merge 1 commit into
mainfrom
docs/sync-20260917

Conversation

@claude

@claude claude Bot commented Sep 17, 2026

Copy link
Copy Markdown
Contributor

Summary

Updates card documentation to reflect the new requirement that card status changes must include substatus and reason fields (OpenAPI change a0c00c0).

  • Updated mintlify/snippets/cards/freezing-and-closing.mdx:
    • Table now shows that substatus and reason are required alongside status
    • Added explanation paragraph about the new requirements
    • Updated freeze and close curl examples to include substatus and reason
  • Updated mintlify/snippets/cards/funding-sources.mdx:
    • Updated freeze example to include substatus and reason
    • Updated closing paragraph to reference the full documentation

No changes needed for:

  • Exchange rates (sendingAmount > 0 constraint): Passing zero or negative amounts was never a documented pattern
  • Kotlin sample app: No card status change code
  • Grid Visualizer: Doesn't deal with cards or exchange rate queries

Test plan

  • Verify docs render correctly with make mint
  • Check that curl examples are valid JSON

🤖 Generated with Claude Code

Card status changes now require substatus and reason fields. Update the
freezing-and-closing and funding-sources snippets to include these
required fields in curl examples and explain the new requirements.

Syncs with OpenAPI change a0c00c0.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@vercel

vercel Bot commented Sep 17, 2026

Copy link
Copy Markdown

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

3 Skipped Deployments
Project Deployment Actions Updated
grid-cards-demo Ignored Ignored Sep 17, 2026 8:20am UTC
grid-flow-builder Ignored Ignored Sep 17, 2026 8:20am UTC
grid-wallet-demo Ignored Ignored Sep 17, 2026 8:20am UTC

Request Review

@mintlify

mintlify Bot commented Sep 17, 2026

Copy link
Copy Markdown
Contributor

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

Project Status Preview Updated
Grid 🟢 Ready View Preview Sep 17, 2026, 8:22 AM

@greptile-apps

greptile-apps Bot commented Sep 17, 2026

Copy link
Copy Markdown
Contributor

RetriggerConfidence Score: 5/5

The PR appears safe to merge; the changed examples and links align with the card update contract and documentation structure.

Summary

This documentation-only PR updates card status-change guidance to require substatus and reason.

  • Updates freeze and close requests with valid, non-empty values.
  • Clarifies the required fields in the transition table and funding-source guidance.
  • Links readers to the card update reference and complete freezing and closing documentation.

Reviews (1) · Last reviewed commit: "docs(cards): add substatus and reason to..."

This branch was successfully deployed

1 active deployment
staging - mintlify f4f27708 Deployed Sep 17, 2026 by mintlify[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants