---
title: "GET /api/billing/ai/top-ups"
method: GET
path: "/api/billing/ai/top-ups"
tags: ["AITopUp"]
---

# GET /api/billing/ai/top-ups

`GET /api/billing/ai/top-ups`

## Request

- Base URL: `https://api.wearelearning.io` (the document declares no server; this is the origin it was published from)
- URL: `https://api.wearelearning.io/api/billing/ai/top-ups`
- Auth: OAuth 2
  - Implicit: `https://login.wearelearning.io/authorize?audience=https://api.wearelearning.io`

## Response `200`

OK

- AITopUpGrantDto[]
  - `externalSessionId` string, required
  - `externalPaymentIntentId` string, nullable
  - `unitsGranted` integer, required
  - `meter` string, required
  - `amountPaidCents` integer, required
  - `currency` string, required
  - `grantedAt` string, date-time, required
  - `expiresAt` string, date-time, required
  - `refundedAt` string, date-time, nullable

---

[API](https://skmtc.dev/wearelearning/apis/we-are-learning-api.md) - [All operations](https://skmtc.dev/wearelearning/apis/we-are-learning-api/llms.txt) - [OpenAPI document](https://skmtc.dev/wearelearning/apis/we-are-learning-api/revisions/e2ca5265db77?raw)
