Create plan
Creates a plan. Side effect: a Stripe Product + Price + Payment Link are created automatically. Provide either packagePublicId (existing bundle) or content (inline bundle, created automatically). Workspaces without Stripe Connect configured will fail here.
curl --request POST \
--url https://api.gennia.ai/public/api/v1/billing/plans \
--header 'Content-Type: application/json' \
--header 'X-Api-Key: <api-key>' \
--data '
{
"billingIntervalMonths": 1,
"priceCents": 4990,
"seatsIncluded": 5,
"content": {
"agents": [
{
"agentPublicId": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
],
"externalLinkPublicIds": [
"3c90c3cc-0d44-4b50-8888-8dd25736052a"
],
"pages": [],
"sectionOrdering": [
{
"displayOrder": 123
}
]
},
"creditPackagePublicId": "1b2c3d4e-5f60-4a7b-8c9d-0e1f2a3b4c5d",
"currency": "USD",
"description": "Best for growing teams.",
"extraCreditsEnabled": false,
"extraCreditsPriceCents": 500,
"name": "Pro",
"packagePublicId": "9c3a4d22-1a8d-4b3f-9b1e-7a0f0c4f3e21",
"unlimitedCredits": false,
"visible": true
}
'import requests
url = "https://api.gennia.ai/public/api/v1/billing/plans"
payload = {
"billingIntervalMonths": 1,
"priceCents": 4990,
"seatsIncluded": 5,
"content": {
"agents": [{ "agentPublicId": "3c90c3cc-0d44-4b50-8888-8dd25736052a" }],
"externalLinkPublicIds": ["3c90c3cc-0d44-4b50-8888-8dd25736052a"],
"pages": [],
"sectionOrdering": [{ "displayOrder": 123 }]
},
"creditPackagePublicId": "1b2c3d4e-5f60-4a7b-8c9d-0e1f2a3b4c5d",
"currency": "USD",
"description": "Best for growing teams.",
"extraCreditsEnabled": False,
"extraCreditsPriceCents": 500,
"name": "Pro",
"packagePublicId": "9c3a4d22-1a8d-4b3f-9b1e-7a0f0c4f3e21",
"unlimitedCredits": False,
"visible": True
}
headers = {
"X-Api-Key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'X-Api-Key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
billingIntervalMonths: 1,
priceCents: 4990,
seatsIncluded: 5,
content: {
agents: [{agentPublicId: '3c90c3cc-0d44-4b50-8888-8dd25736052a'}],
externalLinkPublicIds: ['3c90c3cc-0d44-4b50-8888-8dd25736052a'],
pages: [],
sectionOrdering: [{displayOrder: 123}]
},
creditPackagePublicId: '1b2c3d4e-5f60-4a7b-8c9d-0e1f2a3b4c5d',
currency: 'USD',
description: 'Best for growing teams.',
extraCreditsEnabled: false,
extraCreditsPriceCents: 500,
name: 'Pro',
packagePublicId: '9c3a4d22-1a8d-4b3f-9b1e-7a0f0c4f3e21',
unlimitedCredits: false,
visible: true
})
};
fetch('https://api.gennia.ai/public/api/v1/billing/plans', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.gennia.ai/public/api/v1/billing/plans",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'billingIntervalMonths' => 1,
'priceCents' => 4990,
'seatsIncluded' => 5,
'content' => [
'agents' => [
[
'agentPublicId' => '3c90c3cc-0d44-4b50-8888-8dd25736052a'
]
],
'externalLinkPublicIds' => [
'3c90c3cc-0d44-4b50-8888-8dd25736052a'
],
'pages' => [
],
'sectionOrdering' => [
[
'displayOrder' => 123
]
]
],
'creditPackagePublicId' => '1b2c3d4e-5f60-4a7b-8c9d-0e1f2a3b4c5d',
'currency' => 'USD',
'description' => 'Best for growing teams.',
'extraCreditsEnabled' => false,
'extraCreditsPriceCents' => 500,
'name' => 'Pro',
'packagePublicId' => '9c3a4d22-1a8d-4b3f-9b1e-7a0f0c4f3e21',
'unlimitedCredits' => false,
'visible' => true
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"X-Api-Key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.gennia.ai/public/api/v1/billing/plans"
payload := strings.NewReader("{\n \"billingIntervalMonths\": 1,\n \"priceCents\": 4990,\n \"seatsIncluded\": 5,\n \"content\": {\n \"agents\": [\n {\n \"agentPublicId\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\"\n }\n ],\n \"externalLinkPublicIds\": [\n \"3c90c3cc-0d44-4b50-8888-8dd25736052a\"\n ],\n \"pages\": [],\n \"sectionOrdering\": [\n {\n \"displayOrder\": 123\n }\n ]\n },\n \"creditPackagePublicId\": \"1b2c3d4e-5f60-4a7b-8c9d-0e1f2a3b4c5d\",\n \"currency\": \"USD\",\n \"description\": \"Best for growing teams.\",\n \"extraCreditsEnabled\": false,\n \"extraCreditsPriceCents\": 500,\n \"name\": \"Pro\",\n \"packagePublicId\": \"9c3a4d22-1a8d-4b3f-9b1e-7a0f0c4f3e21\",\n \"unlimitedCredits\": false,\n \"visible\": true\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("X-Api-Key", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.gennia.ai/public/api/v1/billing/plans")
.header("X-Api-Key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"billingIntervalMonths\": 1,\n \"priceCents\": 4990,\n \"seatsIncluded\": 5,\n \"content\": {\n \"agents\": [\n {\n \"agentPublicId\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\"\n }\n ],\n \"externalLinkPublicIds\": [\n \"3c90c3cc-0d44-4b50-8888-8dd25736052a\"\n ],\n \"pages\": [],\n \"sectionOrdering\": [\n {\n \"displayOrder\": 123\n }\n ]\n },\n \"creditPackagePublicId\": \"1b2c3d4e-5f60-4a7b-8c9d-0e1f2a3b4c5d\",\n \"currency\": \"USD\",\n \"description\": \"Best for growing teams.\",\n \"extraCreditsEnabled\": false,\n \"extraCreditsPriceCents\": 500,\n \"name\": \"Pro\",\n \"packagePublicId\": \"9c3a4d22-1a8d-4b3f-9b1e-7a0f0c4f3e21\",\n \"unlimitedCredits\": false,\n \"visible\": true\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.gennia.ai/public/api/v1/billing/plans")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["X-Api-Key"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"billingIntervalMonths\": 1,\n \"priceCents\": 4990,\n \"seatsIncluded\": 5,\n \"content\": {\n \"agents\": [\n {\n \"agentPublicId\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\"\n }\n ],\n \"externalLinkPublicIds\": [\n \"3c90c3cc-0d44-4b50-8888-8dd25736052a\"\n ],\n \"pages\": [],\n \"sectionOrdering\": [\n {\n \"displayOrder\": 123\n }\n ]\n },\n \"creditPackagePublicId\": \"1b2c3d4e-5f60-4a7b-8c9d-0e1f2a3b4c5d\",\n \"currency\": \"USD\",\n \"description\": \"Best for growing teams.\",\n \"extraCreditsEnabled\": false,\n \"extraCreditsPriceCents\": 500,\n \"name\": \"Pro\",\n \"packagePublicId\": \"9c3a4d22-1a8d-4b3f-9b1e-7a0f0c4f3e21\",\n \"unlimitedCredits\": false,\n \"visible\": true\n}"
response = http.request(request)
puts response.read_body{
"activeSubscriptions": 123,
"billingIntervalMonths": 123,
"checkoutUrl": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"creditPackage": {
"creditValueCents": 123,
"creditsAmount": 123,
"extraCreditsAmount": 123,
"name": "<string>",
"publicId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"renewalIntervalMonths": 123
},
"currency": "<string>",
"description": "<string>",
"extraCreditsEnabled": true,
"extraCreditsPriceCents": 123,
"formattedPrice": "<string>",
"hubPackage": {
"name": "<string>",
"publicId": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
},
"name": "<string>",
"priceCents": 123,
"publicId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"seatsIncluded": 123,
"unlimitedCredits": true,
"visible": true,
"widgetCtaText": "<string>",
"widgetDescription": "<string>",
"widgetFeatures": [
{
"included": true,
"text": "<string>"
}
],
"widgetHighlighted": true,
"widgetTitle": "<string>"
}{
"activeSubscriptions": 123,
"billingIntervalMonths": 123,
"checkoutUrl": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"creditPackage": {
"creditValueCents": 123,
"creditsAmount": 123,
"extraCreditsAmount": 123,
"name": "<string>",
"publicId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"renewalIntervalMonths": 123
},
"currency": "<string>",
"description": "<string>",
"extraCreditsEnabled": true,
"extraCreditsPriceCents": 123,
"formattedPrice": "<string>",
"hubPackage": {
"name": "<string>",
"publicId": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
},
"name": "<string>",
"priceCents": 123,
"publicId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"seatsIncluded": 123,
"unlimitedCredits": true,
"visible": true,
"widgetCtaText": "<string>",
"widgetDescription": "<string>",
"widgetFeatures": [
{
"included": true,
"text": "<string>"
}
],
"widgetHighlighted": true,
"widgetTitle": "<string>"
}{
"activeSubscriptions": 123,
"billingIntervalMonths": 123,
"checkoutUrl": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"creditPackage": {
"creditValueCents": 123,
"creditsAmount": 123,
"extraCreditsAmount": 123,
"name": "<string>",
"publicId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"renewalIntervalMonths": 123
},
"currency": "<string>",
"description": "<string>",
"extraCreditsEnabled": true,
"extraCreditsPriceCents": 123,
"formattedPrice": "<string>",
"hubPackage": {
"name": "<string>",
"publicId": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
},
"name": "<string>",
"priceCents": 123,
"publicId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"seatsIncluded": 123,
"unlimitedCredits": true,
"visible": true,
"widgetCtaText": "<string>",
"widgetDescription": "<string>",
"widgetFeatures": [
{
"included": true,
"text": "<string>"
}
],
"widgetHighlighted": true,
"widgetTitle": "<string>"
}{
"activeSubscriptions": 123,
"billingIntervalMonths": 123,
"checkoutUrl": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"creditPackage": {
"creditValueCents": 123,
"creditsAmount": 123,
"extraCreditsAmount": 123,
"name": "<string>",
"publicId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"renewalIntervalMonths": 123
},
"currency": "<string>",
"description": "<string>",
"extraCreditsEnabled": true,
"extraCreditsPriceCents": 123,
"formattedPrice": "<string>",
"hubPackage": {
"name": "<string>",
"publicId": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
},
"name": "<string>",
"priceCents": 123,
"publicId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"seatsIncluded": 123,
"unlimitedCredits": true,
"visible": true,
"widgetCtaText": "<string>",
"widgetDescription": "<string>",
"widgetFeatures": [
{
"included": true,
"text": "<string>"
}
],
"widgetHighlighted": true,
"widgetTitle": "<string>"
}Autorizações
Corpo
Body for creating a new plan. Exactly one of packagePublicId or content must be provided; bodies with neither are rejected with 400.
Billing interval in months for recurring plans.
1
Billing model (one-time or recurring).
one_time, recurring Plan price in the smallest currency unit (cents).
x >= 04990
Number of workspace seats included in the plan.
x >= 15
Inline plan content definition. Mutually exclusive with packagePublicId.
Show child attributes
Show child attributes
Public ID of the credit package bundled with the plan.
"1b2c3d4e-5f60-4a7b-8c9d-0e1f2a3b4c5d"
3-letter ISO currency code.
3"USD"
Short description of the plan.
500"Best for growing teams."
Whether customers can purchase extra credits beyond the included amount. Defaults to false.
false
Price of an extra credit pack in the smallest currency unit (cents).
x >= 1500
Display name of the plan.
3 - 100"Pro"
Public ID of the agent/feature package backing this plan. Mutually exclusive with content.
"9c3a4d22-1a8d-4b3f-9b1e-7a0f0c4f3e21"
Whether the plan offers unlimited credits. Defaults to false.
false
Whether the plan is visible in the public pricing widget. Defaults to true.
true
Resposta
Created
one_time, recurring Show child attributes
Show child attributes
Show child attributes
Show child attributes
active, inactive Show child attributes
Show child attributes
Esta página foi útil?
curl --request POST \
--url https://api.gennia.ai/public/api/v1/billing/plans \
--header 'Content-Type: application/json' \
--header 'X-Api-Key: <api-key>' \
--data '
{
"billingIntervalMonths": 1,
"priceCents": 4990,
"seatsIncluded": 5,
"content": {
"agents": [
{
"agentPublicId": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
],
"externalLinkPublicIds": [
"3c90c3cc-0d44-4b50-8888-8dd25736052a"
],
"pages": [],
"sectionOrdering": [
{
"displayOrder": 123
}
]
},
"creditPackagePublicId": "1b2c3d4e-5f60-4a7b-8c9d-0e1f2a3b4c5d",
"currency": "USD",
"description": "Best for growing teams.",
"extraCreditsEnabled": false,
"extraCreditsPriceCents": 500,
"name": "Pro",
"packagePublicId": "9c3a4d22-1a8d-4b3f-9b1e-7a0f0c4f3e21",
"unlimitedCredits": false,
"visible": true
}
'import requests
url = "https://api.gennia.ai/public/api/v1/billing/plans"
payload = {
"billingIntervalMonths": 1,
"priceCents": 4990,
"seatsIncluded": 5,
"content": {
"agents": [{ "agentPublicId": "3c90c3cc-0d44-4b50-8888-8dd25736052a" }],
"externalLinkPublicIds": ["3c90c3cc-0d44-4b50-8888-8dd25736052a"],
"pages": [],
"sectionOrdering": [{ "displayOrder": 123 }]
},
"creditPackagePublicId": "1b2c3d4e-5f60-4a7b-8c9d-0e1f2a3b4c5d",
"currency": "USD",
"description": "Best for growing teams.",
"extraCreditsEnabled": False,
"extraCreditsPriceCents": 500,
"name": "Pro",
"packagePublicId": "9c3a4d22-1a8d-4b3f-9b1e-7a0f0c4f3e21",
"unlimitedCredits": False,
"visible": True
}
headers = {
"X-Api-Key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'X-Api-Key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
billingIntervalMonths: 1,
priceCents: 4990,
seatsIncluded: 5,
content: {
agents: [{agentPublicId: '3c90c3cc-0d44-4b50-8888-8dd25736052a'}],
externalLinkPublicIds: ['3c90c3cc-0d44-4b50-8888-8dd25736052a'],
pages: [],
sectionOrdering: [{displayOrder: 123}]
},
creditPackagePublicId: '1b2c3d4e-5f60-4a7b-8c9d-0e1f2a3b4c5d',
currency: 'USD',
description: 'Best for growing teams.',
extraCreditsEnabled: false,
extraCreditsPriceCents: 500,
name: 'Pro',
packagePublicId: '9c3a4d22-1a8d-4b3f-9b1e-7a0f0c4f3e21',
unlimitedCredits: false,
visible: true
})
};
fetch('https://api.gennia.ai/public/api/v1/billing/plans', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.gennia.ai/public/api/v1/billing/plans",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'billingIntervalMonths' => 1,
'priceCents' => 4990,
'seatsIncluded' => 5,
'content' => [
'agents' => [
[
'agentPublicId' => '3c90c3cc-0d44-4b50-8888-8dd25736052a'
]
],
'externalLinkPublicIds' => [
'3c90c3cc-0d44-4b50-8888-8dd25736052a'
],
'pages' => [
],
'sectionOrdering' => [
[
'displayOrder' => 123
]
]
],
'creditPackagePublicId' => '1b2c3d4e-5f60-4a7b-8c9d-0e1f2a3b4c5d',
'currency' => 'USD',
'description' => 'Best for growing teams.',
'extraCreditsEnabled' => false,
'extraCreditsPriceCents' => 500,
'name' => 'Pro',
'packagePublicId' => '9c3a4d22-1a8d-4b3f-9b1e-7a0f0c4f3e21',
'unlimitedCredits' => false,
'visible' => true
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"X-Api-Key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.gennia.ai/public/api/v1/billing/plans"
payload := strings.NewReader("{\n \"billingIntervalMonths\": 1,\n \"priceCents\": 4990,\n \"seatsIncluded\": 5,\n \"content\": {\n \"agents\": [\n {\n \"agentPublicId\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\"\n }\n ],\n \"externalLinkPublicIds\": [\n \"3c90c3cc-0d44-4b50-8888-8dd25736052a\"\n ],\n \"pages\": [],\n \"sectionOrdering\": [\n {\n \"displayOrder\": 123\n }\n ]\n },\n \"creditPackagePublicId\": \"1b2c3d4e-5f60-4a7b-8c9d-0e1f2a3b4c5d\",\n \"currency\": \"USD\",\n \"description\": \"Best for growing teams.\",\n \"extraCreditsEnabled\": false,\n \"extraCreditsPriceCents\": 500,\n \"name\": \"Pro\",\n \"packagePublicId\": \"9c3a4d22-1a8d-4b3f-9b1e-7a0f0c4f3e21\",\n \"unlimitedCredits\": false,\n \"visible\": true\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("X-Api-Key", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.gennia.ai/public/api/v1/billing/plans")
.header("X-Api-Key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"billingIntervalMonths\": 1,\n \"priceCents\": 4990,\n \"seatsIncluded\": 5,\n \"content\": {\n \"agents\": [\n {\n \"agentPublicId\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\"\n }\n ],\n \"externalLinkPublicIds\": [\n \"3c90c3cc-0d44-4b50-8888-8dd25736052a\"\n ],\n \"pages\": [],\n \"sectionOrdering\": [\n {\n \"displayOrder\": 123\n }\n ]\n },\n \"creditPackagePublicId\": \"1b2c3d4e-5f60-4a7b-8c9d-0e1f2a3b4c5d\",\n \"currency\": \"USD\",\n \"description\": \"Best for growing teams.\",\n \"extraCreditsEnabled\": false,\n \"extraCreditsPriceCents\": 500,\n \"name\": \"Pro\",\n \"packagePublicId\": \"9c3a4d22-1a8d-4b3f-9b1e-7a0f0c4f3e21\",\n \"unlimitedCredits\": false,\n \"visible\": true\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.gennia.ai/public/api/v1/billing/plans")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["X-Api-Key"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"billingIntervalMonths\": 1,\n \"priceCents\": 4990,\n \"seatsIncluded\": 5,\n \"content\": {\n \"agents\": [\n {\n \"agentPublicId\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\"\n }\n ],\n \"externalLinkPublicIds\": [\n \"3c90c3cc-0d44-4b50-8888-8dd25736052a\"\n ],\n \"pages\": [],\n \"sectionOrdering\": [\n {\n \"displayOrder\": 123\n }\n ]\n },\n \"creditPackagePublicId\": \"1b2c3d4e-5f60-4a7b-8c9d-0e1f2a3b4c5d\",\n \"currency\": \"USD\",\n \"description\": \"Best for growing teams.\",\n \"extraCreditsEnabled\": false,\n \"extraCreditsPriceCents\": 500,\n \"name\": \"Pro\",\n \"packagePublicId\": \"9c3a4d22-1a8d-4b3f-9b1e-7a0f0c4f3e21\",\n \"unlimitedCredits\": false,\n \"visible\": true\n}"
response = http.request(request)
puts response.read_body{
"activeSubscriptions": 123,
"billingIntervalMonths": 123,
"checkoutUrl": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"creditPackage": {
"creditValueCents": 123,
"creditsAmount": 123,
"extraCreditsAmount": 123,
"name": "<string>",
"publicId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"renewalIntervalMonths": 123
},
"currency": "<string>",
"description": "<string>",
"extraCreditsEnabled": true,
"extraCreditsPriceCents": 123,
"formattedPrice": "<string>",
"hubPackage": {
"name": "<string>",
"publicId": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
},
"name": "<string>",
"priceCents": 123,
"publicId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"seatsIncluded": 123,
"unlimitedCredits": true,
"visible": true,
"widgetCtaText": "<string>",
"widgetDescription": "<string>",
"widgetFeatures": [
{
"included": true,
"text": "<string>"
}
],
"widgetHighlighted": true,
"widgetTitle": "<string>"
}{
"activeSubscriptions": 123,
"billingIntervalMonths": 123,
"checkoutUrl": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"creditPackage": {
"creditValueCents": 123,
"creditsAmount": 123,
"extraCreditsAmount": 123,
"name": "<string>",
"publicId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"renewalIntervalMonths": 123
},
"currency": "<string>",
"description": "<string>",
"extraCreditsEnabled": true,
"extraCreditsPriceCents": 123,
"formattedPrice": "<string>",
"hubPackage": {
"name": "<string>",
"publicId": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
},
"name": "<string>",
"priceCents": 123,
"publicId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"seatsIncluded": 123,
"unlimitedCredits": true,
"visible": true,
"widgetCtaText": "<string>",
"widgetDescription": "<string>",
"widgetFeatures": [
{
"included": true,
"text": "<string>"
}
],
"widgetHighlighted": true,
"widgetTitle": "<string>"
}{
"activeSubscriptions": 123,
"billingIntervalMonths": 123,
"checkoutUrl": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"creditPackage": {
"creditValueCents": 123,
"creditsAmount": 123,
"extraCreditsAmount": 123,
"name": "<string>",
"publicId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"renewalIntervalMonths": 123
},
"currency": "<string>",
"description": "<string>",
"extraCreditsEnabled": true,
"extraCreditsPriceCents": 123,
"formattedPrice": "<string>",
"hubPackage": {
"name": "<string>",
"publicId": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
},
"name": "<string>",
"priceCents": 123,
"publicId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"seatsIncluded": 123,
"unlimitedCredits": true,
"visible": true,
"widgetCtaText": "<string>",
"widgetDescription": "<string>",
"widgetFeatures": [
{
"included": true,
"text": "<string>"
}
],
"widgetHighlighted": true,
"widgetTitle": "<string>"
}{
"activeSubscriptions": 123,
"billingIntervalMonths": 123,
"checkoutUrl": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"creditPackage": {
"creditValueCents": 123,
"creditsAmount": 123,
"extraCreditsAmount": 123,
"name": "<string>",
"publicId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"renewalIntervalMonths": 123
},
"currency": "<string>",
"description": "<string>",
"extraCreditsEnabled": true,
"extraCreditsPriceCents": 123,
"formattedPrice": "<string>",
"hubPackage": {
"name": "<string>",
"publicId": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
},
"name": "<string>",
"priceCents": 123,
"publicId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"seatsIncluded": 123,
"unlimitedCredits": true,
"visible": true,
"widgetCtaText": "<string>",
"widgetDescription": "<string>",
"widgetFeatures": [
{
"included": true,
"text": "<string>"
}
],
"widgetHighlighted": true,
"widgetTitle": "<string>"
}
