A product defines what you’re selling — a one-time item, a recurring subscription, or a metered usage plan. Products are referenced when creating checkouts.Documentation Index
Fetch the complete documentation index at: https://docs.stellartools.dev/llms.txt
Use this file to discover all available pages before exploring further.
The product object
Unique identifier. Prefixed with
prod_.Always
"product".Display name of the product.
Optional description.
Array of image URLs.
Billing type. One of
one_time, subscription, or metered.active or archived.The asset this product is priced in.
The asset code this product is priced in, e.g “XLM”
Price in the product’s asset.
For
subscription products. One of day, week, month, or year.For
metered products. The unit being measured (e.g. "token", "request").Units consumed per credit.
Total credits granted to the customer when this product is purchased.
Arbitrary key-value data.
testnet or mainnet.ISO 8601 timestamp.
ISO 8601 timestamp.
Create a product
POST /product
Body
Product name.
one_time, subscription, or metered.Asset code to charge in, e.g “XLM”.
Price amount in the asset.
Required for
subscription type. One of day, week, month, year.Product description.
Array of image URLs.
For
metered products. The unit label.Units consumed per credit.
Total credits granted on purchase.
Arbitrary key-value data.
Update a product
PUT /product/{id}
Body
New name.
New description.
New price amount.
New billing interval.
New image URLs.
Merged with existing metadata.
Delete a product
DELETE /product/{id}

