docs: choose the billing account for an API subscription - #1508
Merged
simeng-li merged 4 commits intoSep 30, 2026
Conversation
Deploying logto-docs with
|
| Latest commit: |
20ed7e4
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://37c4d3d2.logto-docs.pages.dev |
| Branch Preview URL: | https://simeng-log-14223-45-r4-docs.logto-docs.pages.dev |
Deploying logto-docs-tutorials with
|
| Latest commit: |
20ed7e4
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://7574d743.logto-docs-tutorials.pages.dev |
| Branch Preview URL: | https://simeng-log-14223-45-r4-docs.logto-docs-tutorials.pages.dev |
simeng-li
marked this pull request as ready for review
September 28, 2026 06:59
simeng-li
requested review from
a team,
charIeszhao and
wangsijie
and removed request for
a team
September 28, 2026 06:59
wangsijie
approved these changes
Sep 29, 2026
simeng-li
merged commit Sep 30, 2026
4780882
into
simeng-log-14189-37-docs-automate-tenant-creation-page-endpoint-reference
19 checks passed
simeng-li
added a commit
that referenced
this pull request
Sep 30, 2026
* docs: add the subscribe a tenant to the pro plan api guide * docs: say only a production tenant starts on the free plan * docs: choose the billing account for an API subscription (#1508) * docs: choose the billing account for an api subscription * docs: say a retry ignores the billing account it names * docs: a retry must name the same billing account * docs: say which billing account an omitted customerId charges
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.
Summary
Refs LOG-14223. Stacked on #1507.
Adds a "Choose the billing account" section to the Subscribe a tenant to the Pro plan page, for accounts that hold more than one billing account:
GET /api/me/stripe-customersto list them, with an example response and whatname,emailandisDefaultmean.customerIdas an optional body field ofPOST /api/tenants/{tenantId}/subscriptionto charge a specific billing account for one subscription.PATCH /api/me/stripe-customers/{customerId}with{ "isDefault": true }to change the default, and its204/404/422answers.422customer_fixed), and that same-key retries must name the same billing account.404customer_not_found,422customer_fixed) and theidempotency_key_mismatchrow now mentions the billing account.The Console picker is not documented here: it explains itself in the dialog.
Testing
N/A
Checklist
.changeset