---
title: "List the 50 most recent top-ups for the current account"
method: GET
path: "/billing/purchases"
tags: ["billing"]
---

# List the 50 most recent top-ups for the current account

`GET /billing/purchases`

## Request

- Base URL: `https://api.mailly.site` (the document declares no server; this is the origin it was published from)
- URL: `https://api.mailly.site/billing/purchases`
- Auth: HTTP bearer

## Response `200`

Top-up history

- object
  - `success` boolean, required
  - `purchases` object[], required
    - `id` string, required
    - `pack_name` string, required
    - `credits` integer, required
    - `amount` integer, required
    - `currency` string, required
    - `kind` 'credits' | 'usage', required
    - `status` 'pending' | 'paid' | 'expired' | 'failed', required
    - `created_at` integer, required
    - `paid_at` integer, nullable, required

---

[API](https://skmtc.dev/mailly/apis/mailly-api.md) · [All operations](https://skmtc.dev/mailly/apis/mailly-api/llms.txt) · [OpenAPI document](https://skmtc.dev/mailly/apis/mailly-api/revisions/1ceb29637301?raw)
