> ## Documentation Index
> Fetch the complete documentation index at: https://docs.rawchunks.space/llms.txt
> Use this file to discover all available pages before exploring further.

# Create a Credits order

> Prepare checkout for a Credits pack.

Prepare checkout for a Credits pack.

Use [request setup](https://docs.rawchunks.space/dev/guides/connect.md) for account headers.

## Authentication

Use [Credits authentication](https://docs.rawchunks.space/dev/guides/payments.md#pay-with-credits) for owner-scoped calls. Send `x-idempotency-key` with 8 to 128 characters.

## JSON body

**packId** `string` *required*

`usd-10`, `usd-25` or `usd-100`.

**checkout** `object`

Optional `{ kind: "balance" }`.

## Response

**operationId** `string`

Save for capture and recovery.

**orderId** `string`

PayPal checkout order.

**status** `string`

Current order status.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.