---
title: "Top up balance"
method: POST
path: "/billing/top-up"
tags: ["Billing"]
---

# Top up balance

`POST /billing/top-up`

Creates a Stripe checkout session for adding funds to the organization's prepaid balance

## Request body

- GithubComActiveloopaiDeeplakeApiInternalBillingTopUpRequest
  - `allow_promotion_codes` boolean
  - `amount_cents` integer
  - `cancel_url` string
  - `success_url` string

## Response `200`

OK

- GithubComActiveloopaiDeeplakeApiInternalBillingCheckoutSessionResponse
  - `session_id` string
  - `url` string

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `404` — Not Found
- `500` — Internal Server Error

---

[API](https://skmtc.net/deeplake/apis/deeplake-api.md) · [All operations](https://skmtc.net/deeplake/apis/deeplake-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/deeplake/deeplake-api/revisions/e16ed11d991c/schema)
