---
title: "Save auto-refill's settings and open a checkout that saves a card; auto-refill turns on when it completes"
method: POST
path: "/api/v1/auto-refill/setup"
tags: ["Account"]
---

# Save auto-refill's settings and open a checkout that saves a card; auto-refill turns on when it completes

`POST /api/v1/auto-refill/setup`

## Request

- Base URL: `https://audo.ai`
- URL: `https://audo.ai/api/v1/auto-refill/setup`
- Auth: API key in cookie `__Secure-audo.session_token`

Only for a person signed in on the website.

## Request body

- object
  - `thresholdCents` integer, required
  - `amountCents` integer, required
  - `monthlyCapCents` integer, required

## Response `201`

OK

- object
  - `url` string, required
  - `chargeCents` integer, nullable: What the page charges now, in US cents before tax, or null when it only saves the card

## Other responses

- `default`: An error, with what went wrong and what to do next

---

[API](https://skmtc.dev/audo/apis/audo-api.md) · [All operations](https://skmtc.dev/audo/apis/audo-api/llms.txt) · [OpenAPI document](https://skmtc.dev/audo/apis/audo-api/revisions/0800e93224eb?raw)
