List Plans
curl --request GET \
--url https://api.example.com/billing/plansimport requests
url = "https://api.example.com/billing/plans"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.example.com/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.example.com/billing/plans",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.example.com/billing/plans"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.example.com/billing/plans")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.example.com/billing/plans")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"slug": "<string>",
"price_cents": 123,
"monthly_credits": 123,
"allowed_models": [
"<string>"
],
"allowed_features": [
"<string>"
]
}Billing
List Plans
Retrieve the public plan catalog.
GET
/
billing
/
plans
List Plans
curl --request GET \
--url https://api.example.com/billing/plansimport requests
url = "https://api.example.com/billing/plans"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.example.com/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.example.com/billing/plans",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.example.com/billing/plans"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.example.com/billing/plans")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.example.com/billing/plans")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"slug": "<string>",
"price_cents": 123,
"monthly_credits": 123,
"allowed_models": [
"<string>"
],
"allowed_features": [
"<string>"
]
}Returns every active plan a team can subscribe to. Use it to render pricing pages or to let an agent reason about the upgrade path when credits run low.
Response
200
[
{
"id": "plan-uuid",
"slug": "starter",
"name": "Starter",
"description": "For hobbyists",
"is_active": true,
"price_cents": 1200,
"currency": "usd",
"monthly_credits": 200,
"allowed_models": ["fal:nano-banana-2"],
"allowed_features": ["influencer"],
"stripe_product_id": "prod_...",
"stripe_price_id": "price_...",
"sort_order": 10
}
]
Fields
string
URL-safe identifier. Stable across renames of
name.integer
Monthly price in the smallest currency unit (cents for USD).
integer
Credits granted at each billing cycle. Resets
credits_remaining
on /billing/subscription.string[]
Model ids this plan can call. A generation request against a model
not in this list returns 403.
string[]
Feature surfaces (e.g.
influencer, slides, broll, export)
the plan includes. Separate from models.Example
cURL
curl https://api.supapost.so/billing/plans \
-H "Authorization: Bearer YOUR_API_KEY"