---
title: "Buy credits (one-time Stripe Checkout)"
method: POST
path: "/api/billing/topup/"
tags: ["billing"]
---

# Buy credits (one-time Stripe Checkout)

`POST /api/billing/topup/`

## Request

- Base URL: `https://api.overmindlab.ai`
- URL: `https://api.overmindlab.ai/api/billing/topup/`
- Auth: one of:
  - HTTP bearer
  - API key in header `X-Api-Key`
  - API key in cookie `sessionid`
  - API key in header `X-Api-Key`
  - HTTP bearer

Open on every plan, unlike the Pro checkout — running out of credits is
orthogonal to which plan you are on.

## Request body

- CreditTopUpRequestRequest: One-time credit purchase in whole dollars. 1 USD = 100 credits.
  - `amount_usd` integer, required

## Response `200`

- CheckoutSessionResponse: Stripe Checkout Session URL for redirecting the browser.
  - `checkout_url` string, uri, required

---

[API](https://skmtc.dev/overmindlab/apis/overmind-api.md) - [All operations](https://skmtc.dev/overmindlab/apis/overmind-api/llms.txt) - [OpenAPI document](https://skmtc.dev/overmindlab/apis/overmind-api/revisions/0ecfd39e80c6?raw)
