The StellarTools API lets you manage customers, products, checkouts, subscriptions, payments, refunds, and webhooks over plain HTTP. Every operation maps to a resource with predictable endpoints and consistent response shapes.
If you’re building in TypeScript or JavaScript, the TypeScript SDK is the faster path as it wraps these endpoints with full type safety and handles auth automatically. The raw API is the right choice when you’re working in another language, integrating from a backend that can’t run Node, or need low-level control.
Base URL
https://api.stellartools.dev
Responses
Returns 200 with the result wrapped in a data field.{ "data": { "id": "cus_01jx...", "object": "customer", ... } }
Every resource includes an object field identifying its type — e.g. "customer", "payment", "subscription". Returns a non-2xx status with an error string.{ "error": "Customer not found" }
List endpoints support cursor-based pagination via query parameters.
Maximum number of records to return.
Return records after this resource ID (exclusive). Use the last ID in the previous page to paginate forward.
Return records before this resource ID (exclusive). Use the first ID in the current page to paginate backward.
List responses always have this shape:
{
"object": "list",
"data": [...],
"has_more": true,
"url": "/api/customers"
}
Rate limits
There are no rate limits at this time.