Skip to main content

AiCreditCheckoutSession

A payment page for topping up AI credits.

type AiCreditCheckoutSession {
amountCents: Int!
label: String!
sessionId: String!
url: String!
}

Fields​

AiCreditCheckoutSession.amountCents ● Int! non-null scalar​

The amount, in cents.

AiCreditCheckoutSession.label ● String! non-null scalar​

The label of the top up.

AiCreditCheckoutSession.sessionId ● String! non-null scalar​

The ID of the checkout session.

AiCreditCheckoutSession.url ● String! non-null scalar​

The address of the payment page.

Returned By​

createAiCreditCheckoutSession mutation