⚓️ Portcall

What is Portcall

Portcall is an API-first platform for subscriptions, metered billing, and entitlements.

Portcall gives you a single system for billing and feature access control.

Core objects

  • User: the customer in your app.
  • Feature: a capability (metered or unmetered).
  • Plan: the commercial offer.
  • PlanFeature: a feature assignment on a plan with interval/quota.
  • Subscription: a user's active commercial contract.
  • Entitlement: runtime access state (enabled, usage, quota).
  • Invoice: billing output generated from subscriptions and usage.

Integration sequence

  1. Create users.
  2. Define features.
  3. Create plans.
  4. Attach features to plans.
  5. Publish plans.
  6. Subscribe users (checkout session, payment link, or direct subscription).
  7. Enforce access via entitlements.
  8. Send usage via meter events.

API basics

  • Authentication header: x-api-key: <your_secret_key>.
  • Production base URL: https://api.portcall.com.
  • Local Docker base URL: http://localhost:9080.
  • Most successful responses are wrapped in { "data": ... }.

Continue with Quick start for a complete flow.