Repository navigation
docs: a negative balance no longer flips the subscription - #86
Merged
Merged
Conversation
The submit gate already rejects with 402 while the balance is at or below zero, and a top-up resumes service on its own. Drop the past_due sentence and show the message the API actually returns.
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.
What
concepts/credits.mdx, "Negative balance": drop the sentence saying the subscription flips topast_due, and show the 402 message the API actually returns.Why
Pairs with rendobar/rendobar#681: a settlement that pushes the balance below zero no longer suspends the org. The submit gate rejects with
402 INSUFFICIENT_CREDITSuntil a top-up brings the balance back above zero, and nothing else on the account changes.Test plan