Skip to main content

aiCreditTopUpOptions

Requires permission billing:ai_credit:read.

The fixed set of USD top-up amounts the wallet UI offers.

Errors: a failed call returns a GraphQL errors entry, not a field on the result, and data may be null or partial. Read the entry's extensions.code and message; every shape and code is in the Error reference.

Example:

query AiCreditTopUpOptions {
aiCreditTopUpOptions {
amountCents
label
}
}

Response:

{
"data": {
"aiCreditTopUpOptions": [
{
"amountCents": 0,
"label": "string"
}
]
}
}
aiCreditTopUpOptions: [AiCreditTopUpOption!]!

Type​

AiCreditTopUpOption object​

An amount of AI credit that can be bought.