---
title: "Create a Stripe checkout URL for a person to purchase prepaid credit. No charge happens until checkout is completed."
method: POST
path: "/api/billing/checkout"
---

# Create a Stripe checkout URL for a person to purchase prepaid credit. No charge happens until checkout is completed.

`POST /api/billing/checkout`

## Request

- Base URL: `https://ouro.tools`
- URL: `https://ouro.tools/api/billing/checkout`
- Auth: API key in header `x-api-key`

## Request body

- object
  - `amountCents` 500 | 1000 | 2000, required

## Response `200`

Checkout URL

## Other responses

- `401`: Invalid account key
- `503`: Payments are disabled

---

[API](https://skmtc.dev/ouro/apis/ouro-tools.md) · [All operations](https://skmtc.dev/ouro/apis/ouro-tools/llms.txt) · [OpenAPI document](https://skmtc.dev/ouro/apis/ouro-tools/revisions/44473b60854d?raw)
