Public API overview
The Floatless Public API is the stable integration surface for customer, catalog, subscription, invoice, webhook, and metered usage workflows.
Public API documentation belongs here in the Floatless website docs. The product console is used to create API keys, configure webhooks, and inspect operational state.
Base URL
https://api.floatless.com/api/public/v1
Local development commonly uses:
http://localhost:8000/api/public/v1
Current public resources
| Resource | Purpose |
|---|---|
| Customers | Create and retrieve billing customer records |
| Products | Read product catalog state used for subscriptions and invoices |
| Subscriptions | Read active customer subscription state and line items |
| Invoices | Read invoice headers, balances, periods, and invoice items |
| Usage events | Ingest metered usage with idempotent retries |
| Webhooks | Manage webhook endpoints and delivery history |
Start with an integration plan
If you are connecting Floatless to a production system, read the Integration Guide before jumping into individual endpoints. It covers authentication, idempotency, webhook handling, invoice documents, and production launch checks.
API shape
Floatless follows common SaaS API conventions used by developer-first billing platforms:
- Resource-oriented REST paths.
- JSON request and response bodies.
- Standard HTTP status codes.
- Bearer API key authentication.
- Stable versioned base path.
- List responses with
dataandpagination. - Write operations that need retry safety use
Idempotency-Key.
Response envelope
Single-object responses use:
{
"data": {
"id": 123,
"object": "customer"
}
}
List responses use:
{
"data": [],
"pagination": {
"limit": 25,
"offset": 0,
"total": 0,
"has_more": false
}
}
OpenAPI specification
The public OpenAPI specification is available from the API service:
GET /api/public/v1/openapi.json
Use it with Postman, Swagger UI, SDK generators, or contract tests.
Documentation update rule
Every new public endpoint, public request field, public response field, error behavior, webhook event, or API version change must update these website docs in the same product change.