Cloud Billing
Change the current cloud user's subscription
Change the current cloud user's subscription.
post/api/internal/subscription
Request
- Base URLhttps://openmeter.cloud (the document declares no server; this is the origin it was published from)
- Auth
- HTTP bearer
- or API key in cookie __session
Request body
Example request
{
"targetPlanID": "01G65Z755AFWAKHE12NY0CQ9FH"
}Response
The request has succeeded.
Example response
{
"checkoutSession": {
"createdAt": "2023-01-01T01:01:01.001Z",
"currency": "USD",
"customerId": "01G65Z755AFWAKHE12NY0CQ9FH",
"expiresAt": "2023-01-01T01:01:01.001Z"
}
}Changes
No recorded changes to this operation across all 2 revisions of this API.