---
title: "Credit purchase history for a tenant"
method: GET
path: "/v1/billing/grants/{tenant_id}"
---

# Credit purchase history for a tenant

`GET /v1/billing/grants/{tenant_id}`

## Request

- Base URL: `https://api.clichefactory.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.clichefactory.com/v1/billing/grants/{tenant_id}`
- Auth: none declared

## Path parameters

- `tenant_id` string, required

## Query parameters

- `limit` integer
- `offset` integer

## Headers

- `X-API-KEY` string, nullable

## Response `200`

Successful Response

- GrantHistoryResponse
  - `tenant_id` string, required
  - `items` CreditGrantItem[], required
    - `id` integer, required
    - `tenant_id` string, required
    - `credits` integer, required
    - `currency` string, required
    - `gross_amount_minor` integer
    - `tax_amount_minor` integer
    - `net_amount_minor` integer
    - `functional_currency` string
    - `functional_net_minor` integer
    - `fx_rate_to_functional` number, nullable
    - `fx_rate_date` string, date, nullable
    - `fx_rate_source` string, nullable
    - `provider` string, required
    - `provider_txn_id` string, nullable
    - `provider_net_minor` integer, nullable
    - `expires_at` string, date-time, nullable
    - `reason` string, nullable
    - `reverses_grant_id` integer, nullable
    - `created_at` string, date-time, required
  - `total` integer

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/clichefactory/apis/aio-server.md) · [All operations](https://skmtc.dev/clichefactory/apis/aio-server/llms.txt) · [OpenAPI document](https://skmtc.dev/clichefactory/apis/aio-server/revisions/9bd59f9bbb31?raw)
