Skip to content

feat: Surface card_brand and card_last4 on spend-request retrieve - #225

Merged
kreese-stripe merged 1 commit into
mainfrom
kreese/surface-card-brand-last4
Aug 4, 2026
Merged

feat: Surface card_brand and card_last4 on spend-request retrieve#225
kreese-stripe merged 1 commit into
mainfrom
kreese/surface-card-brand-last4

Conversation

@kreese-stripe

@kreese-stripe kreese-stripe commented Aug 3, 2026

Copy link
Copy Markdown
Collaborator

The link-api now has top-level card_brand and card_last4 on the RetrieveSpendRequest response so integrators can identify a card for debugging without expanding the full card object via include=card.

Add both fields to the SDK SpendRequest type and display them in the interactive retrieve view when the full card is not expanded. The SDK already passed these through to --format json output via its pass-through cast; this closes the typing and interactive-display gap.

Committed-By-Agent: claude

The link-api PR (mint#2412595, LINK_AI_WALLET-365) added top-level
`card_brand` and `card_last4` to the RetrieveSpendRequest response so
integrators can identify a card for debugging without expanding the full
`card` object via `include=card`.

Add both fields to the SDK `SpendRequest` type and display them in the
interactive `retrieve` view when the full card is not expanded. The SDK
already passed these through to `--format json` output via its
pass-through cast; this closes the typing and interactive-display gap.

Docs (README, SKILL.md, CLAUDE.md) updated to match.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Committed-By-Agent: claude
@kreese-stripe
kreese-stripe requested a review from a team as a code owner August 3, 2026 18:25
@kreese-stripe
kreese-stripe merged commit 06587fa into main Aug 4, 2026
5 checks passed
@kreese-stripe
kreese-stripe deleted the kreese/surface-card-brand-last4 branch August 4, 2026 20:55
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.

2 participants