v1
credits
Manage payment methods
Changed onReturn a Stripe billing-portal URL for the caller.
url is None when the user has no Stripe customer yet: this route is requested on every Settings > Billing load, so it must never provision a customer as a side effect (see create_billing_portal_session).
get/api/credits/manage
Request
- The document declares no server URL.
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Response
Successful Response
object required
Changes
- breaking
response property
additionalProperties/list-of-types was widened by adding typesnullto media typeapplication/jsonof response200
- breaking
- info
the endpoint scheme security
HTTPBearerJWTwas added to the API - info
added the non-success response with the status
- info