createOneTimeCheckoutSession
abstract suspend fun createOneTimeCheckoutSession(input: CreateOneTimeCheckoutSessionRequest): CreateOneTimeCheckoutSessionResponse
Creates a checkout session for a one-time purchase of usage packs or add-ons against the user's current subscription, or against the app when the user has no subscription. A one-time purchase always requires payment, so the response returns a checkout URL and a checkout session identifier. To subscribe a user to a plan or change the user's plan, use CreateSubscriptionCheckoutSession.