Skip to main content
POST
Start a subscription

Authorizations

Authorization
string
header
required

API key starting with zt_live_ (production) or zt_test_ (sandbox). Get your key at https://developers.zebratruth.ai

Body

application/json
plan
enum<string>
default:pro

Plan to subscribe to. Defaults to pro for backward compatibility.

Available options:
individual,
pro
successUrl
string<uri>
cancelUrl
string<uri>

Response

Checkout session created

url
string<uri>

Hosted checkout page. Redirect the customer here.