---
title: "Purchase credits with MPP card authorization; 402 carries the challenge"
method: POST
path: "/billing/purchases"
---

# Purchase credits with MPP card authorization; 402 carries the challenge

`POST /billing/purchases`

## Request

- Base URL: `https://contentsweep.ai/api/v1`
- URL: `https://contentsweep.ai/api/v1/billing/purchases`
- Auth: HTTP bearer

## Headers

- `Idempotency-Key` string, required
- `Payment-Authorization` string

## Request body

- object
  - `amount_cents` integer, required
  - `automatic` boolean

## Response `200`

Success

- object

## Other responses

- `402`: Payment required or insufficient credit; MPP challenge may be in WWW-Authenticate
- `409`: Idempotency conflict, stale quote or unreconciled submission
- `429`: Rate or capacity limit
- `503`: Capability not activated
- `default`: Structured denial or error

---

[API](https://skmtc.dev/contentsweep/apis/content-sweep-agent-api.md) · [All operations](https://skmtc.dev/contentsweep/apis/content-sweep-agent-api/llms.txt) · [OpenAPI document](https://skmtc.dev/contentsweep/apis/content-sweep-agent-api/revisions/bf04acd6172e?raw)
