---
title: "Get Credit Purchase"
method: GET
path: "/v1/account/billing/purchases/{id}"
tags: ["v1"]
---

# Get Credit Purchase

`GET /v1/account/billing/purchases/{id}`

## Request

- Base URL: `https://api.ellipsis.dev`
- URL: `https://api.ellipsis.dev/v1/account/billing/purchases/{id}`
- Auth: HTTP bearer

Read the amount collected for a credit purchase.

The amount includes the platform fee and comes from Stripe. An
incomplete, missing, or other-account purchase returns 404.

## Path parameters

- `id` string, required

## Headers

- `user-agent` string, nullable

## Response `200`

Successful Response

- CreditPurchaseReceipt
  - `amount_paid` integer, required: Amount collected for a completed credit purchase, including the platform fee.

## Other responses

- `401`: The bearer token is missing, invalid, or revoked.
- `403`: The credential may not perform this action, or the account is blocked.
- `404`: No such resource in your account.
- `422`: Validation Error

---

[API](https://skmtc.dev/ellipsis/apis/ellipsis-rest-api.md) - [All operations](https://skmtc.dev/ellipsis/apis/ellipsis-rest-api/llms.txt) - [OpenAPI document](https://skmtc.dev/ellipsis/apis/ellipsis-rest-api/revisions/344b16df9a1a?raw)
