Skip to main content

CreateAiCreditCheckoutInput

Starts a purchase of AI credits.

input CreateAiCreditCheckoutInput {
amountCents: Int!
cancelUrl: String!
successUrl: String!
}

Fields​

CreateAiCreditCheckoutInput.amountCents ● Int! non-null scalar​

The amount to buy, in cents.

CreateAiCreditCheckoutInput.cancelUrl ● String! non-null scalar​

Where to send the buyer if they cancel.

CreateAiCreditCheckoutInput.successUrl ● String! non-null scalar​

Where to send the buyer after paying.

Member Of​

createAiCreditCheckoutSession mutation