Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/spotty-mice-jog.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@stripe/link-cli": patch
---

clarify correct daily limits
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@ Link Pay Token requests require `execution_method=link_pay_token` and the
DOM-derived `merchant_account_id`, and Link supplies their canonical merchant
identity.

**Constraints:** `context` must be at least 100 characters; `amount` must not exceed 500000 (cents); `currency` must be a 3-letter ISO code. The user has 10 minutes from when approval is requested to approve. Approved credentials (card or SPT) are valid for 12 hours from spend request creation.
**Constraints:** `context` must be at least 100 characters; `amount` must not exceed 50000 (cents); `currency` must be a 3-letter ISO code. The user has 10 minutes from when approval is requested to approve. Approved credentials (card or SPT) are valid for 12 hours from spend request creation.
**Test mode:** Pass `--test` to create a testmode SpendRequest. A testmode SpendRequest will return test payment credentials (e.g test card `4000009990001984`) rather than a real payment credential. Testmode SpendRequests will not charge the underlying payment method of the SpendRequest. This is useful for development and integration testing without real payment methods.

```bash
Expand All @@ -309,10 +309,10 @@ link-cli spend-request cancel lsrq_001

| Limit | Value |
|-------|-------|
| Max amount per spend request | $5,000 (500,000 cents) |
| Max amount per spend request | $500 (50,000 cents) |
| Approval window | 10 minutes — user must approve within 10 min of `request-approval` |
| Card / SPT validity | 12 hours from spend request creation |
| Daily spend | $5,000 |
| Daily spend | $500 |
| Monthly spend (30 days) | $20,000 |
| Concurrent active requests (created + approved) | 30 |
| Concurrent approved requests | 10 |
Expand Down
2 changes: 1 addition & 1 deletion packages/cli/src/commands/spend-request/schema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ export const createOptions = z.object({
.int()
.positive()
.max(500000)
.describe('Amount in cents, max 500000 ($5,000.00)'),
.describe('Amount in cents'),
currency: z.string().length(3).default('usd').describe('Currency code'),
merchantName: z
.string()
Expand Down
4 changes: 2 additions & 2 deletions skills/create-payment-credential/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -324,10 +324,10 @@ report `blocked`. Do not reuse the LPT at a different checkout surface.

| Limit | Value |
|-------|-------|
| Max amount per spend request | $5,000 (500,000 cents) |
| Max amount per spend request | $500 (50,000 cents) |
| Approval window | 10 minutes — user must approve within 10 min of `spend-request request-approval` |
| Card / SPT validity (`valid_until`) | 12 hours from spend request creation |
| Daily spend per account | $5,000 |
| Daily spend per account | $500 |
| Monthly spend per account (30 days) | $20,000 |
| Concurrent active requests (created + approved) | 30 |
| Concurrent approved requests | 10 |
Expand Down
Loading