Clarify accounting and window semantics of agent_wallet_spend_limits.used
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 18/100
- Issue type
- Documentation
- Clarity
- Mostly clear
- Activity status
- Active
- Tech stack
- go, typescript
- Domain
- documentation
Research direction
This is a request for the supported accounting and window contract behind daily.used and thirty_day.used in user-info retrieve, not a code change. Start from the linked Go SDK types in packages/sdk-go/types.go and the spend-request documentation, and check whether the CLI source defines any of the counting. Done means a maintainer-confirmed definition of counted amounts, window boundaries, currency and payment correlation fields, or a clear statement that some of it is server-defined.
Written by the indexing model from the issue text.
Description
I am integrating @stripe/[email protected] and need to interpret daily.used and thirty_day.used from user-info retrieve correctly.
The spend-request documentation describes these values in cents. The 1.0.0 Go SDK types describe both counters as rolling. I could not find the accounting definition needed to compare them with request/payment history.
Could you clarify or link to the supported contract for:
- Counted amounts: Do
usedvalues count requested, approved/reserved, authorized or completed payment amounts? When do cancellation, expiry, failure, refund and amount changes affect them? - Windows and timing: Does
dailymean the preceding 24 hours andthirty_daythe preceding 720 hours? Which event timestamp and boundary rule determine membership? Is there an observation timestamp or documented update delay for the counters? - Source scope and currency: Do these counters and
spend-request list --include-historycover the same user/grants? What history retention or pagination limits apply? Is counter usage always USD cents, including requests in other currencies? - Correlation: Which payment identity, amount and time fields should be used to explain usage in both windows without counting the same payment twice? In particular, what event and time unit does
payment_status_details.createdrepresent, and is the supported transaction ID at request level or inside payment details? Is request history sufficient, or is that reconciliation unsupported through these commands?
This is a documentation question, not an account-specific incident. No credentials, account lookup or payment reproduction are needed. If the behavior differs from CLI 1.0.0, please identify which semantics are version-specific and which are server-defined.
- Dominant language
- TypeScript
- Stars
- 885
- Forks
- 156
- Avg merge
- 1d 2h
- Merged PRs (30d)
- 62
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from stripe/link-cli
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
Maintainers usually reply within 1 day
-
Difficulty 5/5 Over a week Newbie friendliness 8/100
Maintainers usually reply within 1 day
-
Difficulty 5/5 Over a week Newbie friendliness 8/100
Maintainers usually reply within 1 day
-
JumaOpen
Difficulty 5/5 Over a week Newbie friendliness 1/100
Maintainers usually reply within 1 day
-
123Open
Difficulty 5/5 Over a week Newbie friendliness 10/100
Maintainers usually reply within 1 day
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
pingdotgg/t3code#30228 · 2 comments ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
ci-cd desktop size:low telemetry-improvement telemetry-round-1
Difficulty 2/5 1-3 hours Newbie friendliness 66/100
vfarcic/dot-agent-deck#2079 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 83/100
Maintainers usually reply within 1 day