Skip to main content
This guide takes you from an empty account to a customer on an active subscription. You create a customer, put them on a plan, and activate; from there Alguna generates invoices on the plan’s schedule. Each step shows the dashboard path and the API call, so you can start by hand and automate later. If you have not yet created a plan, do Products and Plans first; for the wider picture see How Alguna Works.
Prerequisites: at least one plan, and an API key from Settings → Connections → Developers → API keys if you are using the API. All requests go to https://api.alguna.io with Authorization: Bearer <key> and Alguna-Version: 2026-04-01.

Step 1: Create a customer

A subscription needs a customer to bill. Dashboard: go to Customers, click New Customer, and fill in the name, primary contact email, country, billing currency and (optionally) address and external ID. Click Create. API: Create a customer. name and currency are required.
See Manage Customers for the full field list.

Step 2: Create the subscription from a plan

Dashboard: go to Subscriptions, click New Subscription, pick the customer and the plan, set the start date, review the pricing summary and save. The subscription is created in draft. API: Create a subscription with customer_id and plan_id. The plan’s items, contract and renewal terms are copied into the subscription’s first version; currency defaults to the customer’s.

Step 3: Activate

Dashboard: open the subscription and click Activate Subscription, then Activate Subscription again to confirm (the other option, Request Customer Signature, sends it as a quote instead). API: Activate a subscription. Activation is idempotent. To skip this step entirely, pass "auto_activate": true in Step 2.
Your first subscription is live.

What happens after activation

  1. The subscription’s status becomes active (or accepted until a future start date arrives).
  2. A subscription.activated webhook fires, then subscription.started at the start of each billing period.
  3. Invoices are generated on the billing schedule: advance charges at the start of the period, arrears and usage charges at the end. See Recurring invoices.
  4. If auto_pay_invoices is on and the customer has a stored payment method, payment is collected; otherwise the invoice is sent for payment. invoice.issued and invoice.paid fire as that happens.

Optional: collect a payment method

For card or bank payments the customer needs a stored payment method. Two ways to get one:

Variations

Trial

Trials come from the plan’s trial_period_days, or set them on the subscription after creation with PATCH /subscriptions/{id} ("trial_period_days": 14). Billing starts when the trial ends.

Future start date

Set contract.start_date to a future date. You can activate immediately; the subscription waits in accepted and becomes active, with billing starting, on that date.

Custom line items instead of a plan

Send items with full price definitions and no plan_id, or send both to override individual plan prices for this customer. See Creating a Subscription for every pattern, including bundles.

Sales-led

If the deal needs a signature, build it as a quote and send it for e-signature. The signed quote activates as a subscription on its start date; no separate creation step is needed.

Managing the subscription

Read it back with GET /subscriptions/{id} (status, contract, billing, pending_changes) and its priced items with GET /subscriptions/{id}/versions/current. In the dashboard the subscription page shows status, billing period, line items, invoice history and activity.

Troubleshooting

Stuck in draft — subscriptions are created as drafts unless auto_activate is set. Activate it. No invoice yet — check the contract start date and billing.first_billing_date; advance charges are invoiced at the start of the period, arrears and usage charges at the end of it. Customer already has a subscription — customers can hold several subscriptions at once. This is normal.

Next steps

Subscription Lifecycle

Statuses, changes, renewals and cancellations end to end.

Usage metering

Send events for metered products.

Webhooks

React to activation and invoice events.

Entitlements

Gate features on the subscription.