v1
credits

Manage payment methods

Changed on

Return 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

Response

Successful Response

object required

Changes

    • breaking

      response property additionalProperties/ list-of-types was widened by adding types null to media type application/json of response 200

    • info

      the endpoint scheme security HTTPBearerJWT was added to the API

    • info

      added the non-success response with the status