---
title: "Api Credits Checkout"
method: POST
path: "/credits/checkout"
tags: ["Credits"]
---

# Api Credits Checkout

`POST /credits/checkout`

## Request

- Base URL: `https://api.autumn.ai`
- URL: `https://api.autumn.ai/credits/checkout`
- Auth: one of:
  - HTTP bearer
  - API key in header `X-API-Key`
  - HTTP bearer

## Response `200`

Successful Response

- unknown

## Other responses

- `400`: `invalid_request`: The request is invalid. Fix the field in `param` (see `detail`), or read `message`.
- `401`: `unauthorized`: Missing or invalid credentials. Send your full API key as `X-API-Key: <key>` or `Authorization: Bearer <key>`.
- `403`: `forbidden`: This account cannot access this resource. The same request fails with the same key.
- `503`: `auth_unavailable`: Key verification is temporarily unavailable. Wait `retry_after` seconds, then send the request again. | `billing_unavailable`: Billing is temporarily unavailable. Wait `retry_after` seconds, then send the request again.

---

[API](https://skmtc.dev/autumn-ai/apis/autumn-task-api.md) - [All operations](https://skmtc.dev/autumn-ai/apis/autumn-task-api/llms.txt) - [OpenAPI document](https://skmtc.dev/autumn-ai/apis/autumn-task-api/revisions/78fb43699783?raw)
