Build your product. Use Komashi for subscriptions.

Connect your own application to supported services, checkout, subscriptions and customer operations without recreating the entire billing workflow.

Create a subscription and get the checkout URL

POST https://api.komashi.com/v1/services/<service_id>/subscriptions

Authorization: Bearer <api_key>

Content-Type: application/json

Accept: application/json

{ "customer_id": "<uuid>", "plan_id": "<uuid>", "period_id": "<uuid>", "quantity": 1, "return_url": "https://example.com/thanks", "cancel_url": "https://example.com/cancel" }

201 { "succeeded": true, "status_code": 201, "data": { "checkout_url": "…", "subscription_id": "<uuid>" } }

Replace each <uuid> with an ID returned by the list endpoints. A successful call returns 201 with the checkout URL inside the data object.

A clear API for connected operations.

Work with supported services, customers and subscriptions through authenticated requests.

Create an API key in the API settings of the Control Center and send it as a Bearer token. Each key carries the create, read, update and delete permissions you assign.

https://api.komashi.com/v1

The OpenAPI specification is served at /api-docs.

Events for the states that matter.

Subscribe to the events Komashi emits for services, customers, subscriptions and usage. The full event list is kept in the webhook reference.

Read the webhook reference

Each delivery is a JSON POST with the event name, a timestamp and the record in data. The X-Webhook-Event header names the event, and X-Signature carries an HMAC-SHA256 of the body made with the endpoint secret.

MCP for AI-assisted workflows.

Let compatible AI clients work with the operations authorized for your provider.

The MCP server signs users in with OAuth and registers 47 tools in five groups.

  • Provider
  • Services
  • Customers
  • Subscriptions
  • Usage