Skip to content

add payment-method retrieve command to link-cli - #341

Open
haoxuanxu-stripe wants to merge 1 commit into
mainfrom
haoxuanxu/add-retrieve-payment-details-route
Open

haoxuanxu-stripe wants to merge 1 commit into
mainfrom
haoxuanxu/add-retrieve-payment-details-route

Conversation

@haoxuanxu-stripe

@haoxuanxu-stripe haoxuanxu-stripe commented Sep 17, 2026

Copy link
Copy Markdown

Summary

Adds link-cli payment-methods retrieve for the new GET /payment-details/:id Link API endpoint.

  • Adds retrieve support to the TypeScript and Go SDKs
  • Adds CLI interactive and structured output
  • Returns a clear NOT_FOUND error for missing payment methods
  • Supports balance-backed payment method details
  • Updates documentation and the payment credential skill
  • Adds SDK, CLI, sanitization, and integration coverage

Test plan

  • TypeScript type checks
  • SDK unit tests
  • CLI component tests
  • CLI integration test using the built executable
  • Biome checks
  • Go tests (Go toolchain unavailable locally)

@haoxuanxu-stripe
haoxuanxu-stripe requested a review from a team as a code owner September 17, 2026 19:18
@haoxuanxu-stripe haoxuanxu-stripe changed the title add spending-policy retrieve command to link-cli add payment-method retrieve command to link-cli Sep 17, 2026
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