---
title: "Setup Topup"
method: POST
path: "/payment/topup"
tags: ["Billing"]
---

# Setup Topup

`POST /payment/topup`

## Cookies

- `session` unknown

## Request body

- TopUpIn
  - `amount` integer — Amount to top up in cents
  - `threshold` integer — Top up threshold in cents, if balance goes below this value, top up will be triggered
  - `enabled` boolean — If true, top up will be triggered when balance goes below threshold

## Response `200`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

---

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