---
title: "ACP Create credit checkout"
method: POST
path: "/api/v1/commerce/acp/checkout_sessions"
tags: ["commerce"]
---

# ACP Create credit checkout

`POST /api/v1/commerce/acp/checkout_sessions`

## Request

- Base URL: `https://singlefax.com`
- URL: `https://singlefax.com/api/v1/commerce/acp/checkout_sessions`
- Auth: API key in header `Authorization`

Requires a bearer SingleFax API key with credits:checkout. Buyer pays at hosted Stripe continue_url; GET confirms ledger fulfillment. No inline payment handlers. See /commerce.md.

## Headers

- `API-Version` '2026-04-17', required
- `Idempotency-Key` string, required

## Request body

- object
  - `line_items` object[], required
    - `id` 'credit-pack-20' | 'credit-pack-50' | 'credit-pack-100', required
  - `currency` 'usd', required
  - `capabilities` object, required: Agent capabilities; no extensions or inline payment handlers are negotiated

## Response `201`

Protocol checkout state

- CheckoutSessionBase (unresolved $ref)

## Other responses

- `4XX`: Invalid request, authorization, unsupported feature or state conflict
- `5XX`: Payment provider or service unavailable

---

[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)
