Skip to main content
POST
Preview an AI credit tier change

Authorizations

Authorization
string
header
required

Cactal API key. Create one in the dashboard or via POST /apiKeys. The plaintext key is shown once at creation.

Body

application/json
organizationId
string
required
Minimum string length: 1
aiCreditTier
enum<number>
required
Available options:
1000,
2000,
4000,
8000,
12000,
20000,
30000,
40000,
50000,
75000,
100000
successUrl
string
Minimum string length: 1
idempotencyKey
string
Minimum string length: 1

Response

Price projection for the credit tier change.

Read-only price projection. Nothing is charged or changed.

total
number | null
required

Total amount due now; null when the provider does not return one.

currency
string | null
required

ISO currency code, e.g. usd.

lineItems
object[]
required

Itemized charges that make up the total.