# List your AI credit invoices

`GET https://api.cryptohopper.com/v1/ai/credits/invoices`

Part of [AI](https://www.cryptohopper.com/api-documentation/api-reference/ai.md) in the Cryptohopper API reference.

Returns your paid AI credit purchases, newest first, up to 500.

The handler checks no OAuth scope. Payment tokens and the billing profile are not included.

## Headers

| Name | Type | Required | Description |
|---|---|---|---|
| `access-token` | string | yes | The OAuth access token of the user. |

## Example request

```bash
curl "https://api.cryptohopper.com/v1/ai/credits/invoices" \
  -H "access-token: YOUR_ACCESS_TOKEN"
```

## Response

Example response (illustrative values):

```json
{
    "data": [
        {
            "id": "118",
            "user_id": "123456",
            "transaction_id": "pi_example123",
            "payment_method_id": "2",
            "deposit_id": "3",
            "status": "1",
            "price": "25.00",
            "subtotal": "25.00",
            "payment_fee": "0.00",
            "tax": "0.00",
            "total": "25.00",
            "tax_id": "0",
            "payment_cur": "USD",
            "payment_cur_rate": "1.00000000",
            "payment_total": "25.00",
            "created": "2026-09-01 12:00:00",
            "updated": "2026-09-01 12:01:10",
            "is_eu": "0",
            "refunded": "0",
            "deleted": "0"
        }
    ]
}
```

Status codes: 200. Errors return JSON with `status`, `error` and `message`, plus a numeric `code` when the error comes from the API itself rather than the gateway.
