Cloud Billing

Change the current cloud user's subscription

Change the current cloud user's subscription.

post/api/internal/subscription

Request body

targetPlanIDstring required

The target plan ID.

Example request

{
  "targetPlanID": "01G65Z755AFWAKHE12NY0CQ9FH"
}

Response

The request has succeeded.

OR
OR

Example response

{
  "checkoutSession": {
    "createdAt": "2023-01-01T01:01:01.001Z",
    "currency": "USD",
    "customerId": "01G65Z755AFWAKHE12NY0CQ9FH",
    "expiresAt": "2023-01-01T01:01:01.001Z"
  }
}

Changes