GET
/
v1
/
trace-learn
/
billing
/
plans
TypeScript client
import { TxAgentKitClient } from '@tx-agent-kit/sdk'

const client = new TxAgentKitClient({
  token: process.env.TX_AGENT_KIT_TOKEN
})

const response = await client.traceLearn.listTraceLearnBillingPlans()
[
  {
    "id": "<string>",
    "name": "<string>",
    "priceCents": 500000,
    "features": [
      "<string>"
    ],
    "description": "<string>",
    "payerKind": "tutor",
    "maxStudents": 123,
    "createdAt": "<string>",
    "recommended": true
  }
]

Response

Success

id
string
required

a string at most 128 character(s) long

Required string length: 1 - 128
tier
enum<string>
required
Available options:
tutor_starter,
tutor_standard,
tutor_premium
name
string
required
priceCents
number
required

a number between 0 and 1000000

Required range: 0 <= x <= 1000000
currency
enum<string>
required
Available options:
GBP,
USD
billingInterval
enum<string>
required
Available options:
monthly,
annual
features
string[]
required
description
string
required
payerKind
enum<string>
required
Available options:
tutor
maxStudents
number | null
required
createdAt
string
required

a string at least 10 character(s) long

Minimum string length: 10