The platform · billing.castomapi.com
Billing & plans
Plan entitlements for every castomo product: Stripe subscriptions in, effective quotas out, pushed to the product that enforces them.
A product declares its plans; billing mints the Stripe prices, runs checkout and the customer portal on Stripe-hosted pages, and turns a paid subscription into an entitlement the product reads. Card data never touches the platform.
Coupons, custom-tier applications and Stripe Connect onboarding live here too, so a product built on the ecosystem can charge its own customers without writing a line of billing code.
Operations
| Method | Path | Description |
|---|---|---|
| POST | /v1/checkout | Create a Stripe Checkout session for a paid plan or package |
| GET | /v1/connect/account | Your connected Stripe account's onboarding status |
| POST | /v1/connect/account | Connect your own Stripe account (create or resume onboarding) |
| GET | /v1/coupons/preview | What a code gives, before redeeming it |
| POST | /v1/coupons/redeem | Redeem a promo code into an entitlement |
| GET | /v1/custom/apply | Your Custom application |
| POST | /v1/custom/apply | Apply to build a service on the ecosystem |
| POST | /v1/custom/withdraw | Withdraw your application |
| GET | /v1/entitlements/{product} | The caller's plan for a product, with the purchasable catalog |
| POST | /v1/portal | Open the Stripe billing portal (manage, upgrade, cancel) |
Base URL: https://billing.castomapi.com · Open the live docs
The platform
Auth
One identity for every product: sign-in, sessions, OAuth clients, projects and the revocation keys every service checks.
Pay
Payments between people and businesses on the platform, with Stripe underneath.
Book
Bookings and availability: resources, slots, reservations, reminders and refunds by policy.
Events
A free global events API: what is happening where, for dashboards and sites that need a calendar they did not write.
Data
Free global reference data: countries, languages, currencies, logistics, standards — tens of millions of records, no key.
Query
Read-only SQL and document queries against the customer's own MySQL, PostgreSQL or MongoDB, from a browser, safely.