---
title: "Change the recurring credit amount"
method: PATCH
path: "/subscriptions/credits/subscription"
tags: ["Subscriptions"]
---

# Change the recurring credit amount

`PATCH /subscriptions/credits/subscription`

## Request

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

Company-admin only. The billing interval is fixed after creation.

## Request body

- object
  - `creditsPerPeriod` integer, required

## Response `200`

- 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`: creditsPerPeriod must be an integer between 1000 and 50000
- `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 / No 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)
