---
title: "Start a recurring credit subscription"
method: POST
path: "/subscriptions/credits/subscription/checkout"
tags: ["Subscriptions"]
---

# Start a recurring credit subscription

`POST /subscriptions/credits/subscription/checkout`

## Request

- Base URL: `https://api.atako.ai`
- URL: `https://api.atako.ai/subscriptions/credits/subscription/checkout`
- Auth: HTTP bearer

Company-admin only. No trial period.

## Request body

- object
  - `creditsPerPeriod` integer, required
  - `billingInterval` 'monthly' | 'annual', required

## Response `200`

- object
  - `url` string, nullable
  - `subscription` CreditSubscription, nullable
    - `id` string, uuid
    - `companyId` string, uuid
    - `stripeSubscriptionId` string, nullable
    - `stripeCustomerId` string, nullable
    - `status` 'trialing' | 'active' | 'past_due' | 'canceled'
    - `billingInterval` 'monthly' | 'annual'
    - `creditsPerPeriod` integer
    - `eurCentsPerCreditAtSubscription` integer
    - `currentPeriodStart` string, date-time
    - `currentPeriodEnd` string, date-time
    - `createdAt` string, date-time
    - `updatedAt` string, date-time

## Other responses

- `400`: Invalid creditsPerPeriod/billingInterval
- `401`: Missing, malformed, or invalid bearer token / API key, or revoked session (SESSION_REVOKED).
- `403`: The caller does not have the required role/permission.
- `404`: No company / Company not found
- `409`: Company already has an active credit subscription

---

[API](https://skmtc.dev/atako/apis/atako-api.md) · [All operations](https://skmtc.dev/atako/apis/atako-api/llms.txt) · [OpenAPI document](https://skmtc.dev/atako/apis/atako-api/revisions/aa555c56fbd7?raw)
