Skip to content

Describe the 50000 minor-unit cap for every Link card - #300

Draft
courtney918 wants to merge 1 commit into
mainfrom
hypeship/link-card-500-cap
Draft

courtney918 wants to merge 1 commit into
mainfrom
hypeship/link-card-500-cap

Conversation

@courtney918

Copy link
Copy Markdown

Summary

The API now caps every Link card at 50000 minor units ($500 USD), whichever credential Link issues, and no longer rejects an amount at authorize time (kernel/kernel#4796). The CLI help and authorize error guidance still described the old split limits.

  • Card spec help: LinkCardSpec.amount is 1..50000, not 1..500000 with a separate virtual-card limit.
  • Link checkout flow help: removed the step about the amount exceeding the virtual card limit, which authorize can no longer hit.
  • Authorize invalid_request guidance: now just "fix the reported input, then authorize again", without the virtual-card-limit branch.
  • Tests: updated the flow-help and authorize-guidance expectations to match.

Testing

  • go vet ./... and go test ./... pass.

🤖 Generated with Claude Code

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.

1 participant