Skip to content

Latest commit

 

History

History
42 lines (29 loc) · 1008 Bytes

File metadata and controls

42 lines (29 loc) · 1008 Bytes

CreateCheckoutSessionRequest

Properties

Name Type
targetTier BillingPlanTier
cadence BillingCadence
seats number
successUrl string
cancelUrl string

Example

import type { CreateCheckoutSessionRequest } from '@knowledge-stack/ksapi'

// TODO: Update the object below with actual values
const example = {
  "targetTier": null,
  "cadence": null,
  "seats": null,
  "successUrl": null,
  "cancelUrl": null,
} satisfies CreateCheckoutSessionRequest

console.log(example)

// Convert the instance to a JSON string
const exampleJSON: string = JSON.stringify(example)
console.log(exampleJSON)

// Parse the JSON string back to an object
const exampleParsed = JSON.parse(exampleJSON) as CreateCheckoutSessionRequest
console.log(exampleParsed)

[Back to top] [Back to API list] [Back to Model list] [Back to README]