Skip to content

Approve the price table as it stands

POST
/api/platform/billing/approve
curl --request POST \
--url https://forge.example.com/api/platform/billing/approve \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "reason": "example", "version": 1 }'

From then on the pricing page shows the listed plans with their prices, and a checkout can start. Send the approval’s version as you read it, so that a table changed since is not approved unseen (409 with currentVersion). The audit keeps every figure that was approved. For an operator administrator.

Media typeapplication/json
object
reason
required
string
version
required
null | integer | string format: int32
/^-?(?:0|[1-9]\d*)$/

Example generated

{
"reason": "example",
"version": 1
}

OK

Media typeapplication/json
object
approved
required
boolean
at
required
null | string format: date-time
by
required
null | string
version
required
integer | string format: int32
/^-?(?:0|[1-9]\d*)$/

Example generated

{
"approved": true,
"at": "2026-04-15T12:00:00Z",
"by": "example",
"version": 1
}

A refusal or an error, as a problem document. A model or draft you may not see answers 404, as one that does not exist.

Media typeapplication/problem+json
object
type
string
title
string
status
integer
detail
string
instance
string

Example generated

{
"type": "example",
"title": "example",
"status": 1,
"detail": "example",
"instance": "example"
}