BillKit/DocsConsole
BillKit developer platform

Subscription billing,
built for the EU.

Plans, checkout, invoices, VAT and dunning over one REST API. BillKit drives your own Mollie account, so the money settles where it already does. Start in test mode with the same calls you will run in production.

Start the quickstartBrowse the API

Your first call

Full quickstart →
Start a checkout
curl https://api.billkit.eu/v1/checkout/sessions \
  -H "Authorization: Bearer $BILLKIT_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: first-call-3b7e19" \
  -d '{
    "customer_email": "ada@example.com",
    "price_id": "price_7Hd3Wm9pQx2vRt5Kna",
    "success_url": "https://example.com/welcome",
    "cancel_url": "https://example.com/pricing"
  }'
Response · 200 OK (abridged)
{
  "id": "cs_Rb4nZ8yQw1eTp6Lksv",
  "object": "checkout.session",
  "livemode": false,
  "status": "open",
  "ui_mode": "hosted",
  "url": "https://www.mollie.com/checkout/select-method/...",
  "customer_id": "cus_Ja7Ye2vMq9xN4TdWpr",
  "price_id": "price_7Hd3Wm9pQx2vRt5Kna",
  "subscription_id": null,
  "payment_id": null,
  "metadata": {}
}
Send the customer to url. When the payment settles, BillKit creates the subscription and emits checkout.session.completed. There is no POST /v1/subscriptions.

Specification

Explorer →