---
title: "Get credit pack quote"
method: GET
path: "/billing/credit_packs/"
tags: ["billing"]
---

# Get credit pack quote

`GET /billing/credit_packs/`

## Request

- Base URL: `https://api.getoneprofile.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.getoneprofile.ai/billing/credit_packs/`
- Auth: one of:
  - API key in header `X-API-Key`
  - HTTP bearer

Get the one-time credit pack pricing, presets, and remaining monthly purchase limit. Pass ?credits= to price a specific amount.

## Query parameters

- `credits` integer, nullable: Credit amount to price.

## Response `200`

Successful Response

- CreditPackQuoteReadSchema: Response schema for the credit pack quote and purchase limits.
  - `amount_cents` integer, nullable, required: The total price in cents for the requested credit amount. None when no amount was requested.
  - `max_credits` integer, required: Maximum purchasable credits in a single pack.
  - `min_credits` integer, required: Minimum purchasable credits per pack.
  - `preset_credits` integer[], required: Suggested pack sizes for the purchase dialog.
  - `unit_amount_decimal_per_credit` string, required: Price per credit in cents (decimal string, e.g. '0.4').

## Other responses

- `401`: Unauthorized
- `403`: Forbidden
- `422`: Invalid request made to the API.
- `500`: Internal server error.
- `502`: Bad gateway error.
- `503`: Service unavailable.

---

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