Repository navigation
feat(billing): Update percentUsed and credit pricing types on the Seer wallet - #129939
Merged
Merged
Conversation
The Seer wallet endpoint now returns percentUsed to every member and only includes creditPriceCents for billing roles. Update SeerWalletBalance to match, and have SeerWalletCard show its error state if pricing is missing. Refs CW-3054 Co-Authored-By: Sofia Rest <[email protected]>
srest2021
reviewed
Nov 4, 2026
srest2021
marked this pull request as ready for review
November 4, 2026 21:05
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Relates to CW-3054
Frontend follow-up to getsentry/getsentry#22940
getsentry/getsentry#22940 opens
GET /customers/{org}/seer-wallet/to every org member, addspercentUsedto the response, and only returnscreditPriceCentsto users withorg:billing.This PR updates
SeerWalletBalanceto match: it addspercentUsedand makescreditPriceCentsoptional.SeerWalletCardonly renders for billing roles right now, so it should always get the price. If it doesn't, the card now shows its existing "Unable to load" state instead of dividing byundefined.#129552's top-up modal reads
wallet.creditPriceCentsand will need a guard once it rebases onto this.via @srest2021.
--
View Session [Sentry]