Skip to content

fix: align spend request amount cap with the published $500 limit - #256

Open
EfeDurmaz16 wants to merge 1 commit into
stripe:mainfrom
EfeDurmaz16:fix/spend-request-amount-limit
Open

fix: align spend request amount cap with the published $500 limit#256
EfeDurmaz16 wants to merge 1 commit into
stripe:mainfrom
EfeDurmaz16:fix/spend-request-amount-limit

Conversation

@EfeDurmaz16

Copy link
Copy Markdown

Problem

#251 lowered the published per-request maximum to 50,000 cents. The client still accepts 500,000.

Source Value
README.md:290 50,000
skills/create-payment-credential/SKILL.md:326 50,000
CLAUDE.md:80 500,000
schema.ts:33 500,000

spend-request create --amount 400000 passes local validation today and fails at the API instead. Catching it locally is what the schema is for. #251 also dropped the number from the .describe() string, so --schema output no longer states any limit at all.

CLAUDE.md asks for README, SKILL.md, the schema description and CLAUDE.md to move together. This brings along the two that were left behind.

Change

  • createOptions.amount max 500000 to 50000
  • restore the limit in the flag description
  • fix the CLAUDE.md line
  • one test for the rejection

If the per-request maximum is still $5,000 and only the daily limit moved to $500, say so and I will flip this into a docs revert instead.

The published per-request maximum is 50,000 cents, but createOptions still
allows 500,000 and CLAUDE.md still documents the old number.
@EfeDurmaz16
EfeDurmaz16 requested a review from a team as a code owner August 23, 2026 19:16
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