---
title: "Start Stripe Checkout for a credit pack"
method: POST
path: "/api/v1/credits/checkout"
tags: ["credits"]
---

# Start Stripe Checkout for a credit pack

`POST /api/v1/credits/checkout`

## Request

- Base URL: `https://singlefax.com`
- URL: `https://singlefax.com/api/v1/credits/checkout`
- Auth: one of:
  - API key in header `Authorization`
  - HTTP bearer

## Request body

- object
  - `amountCents` integer

## Response `200`

Checkout URL

- CreditCheckout
  - `checkoutUrl` string, uri, required
  - `sessionId` string
  - `creditCents` integer

## Other responses

- `401`: Missing or invalid credentials

---

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