---
title: "Get a purchase"
method: GET
path: "/v4/purchases/{id}"
tags: ["Purchases"]
---

# Get a purchase

`GET /v4/purchases/{id}`

Returns a single purchase's details: `transaction_id`, `status`, `source`, the buyer's `email_address` and `subscriber_id`, monetary breakdown (`subtotal`, `discount`, `tax`, `total`, `currency`), `transaction_time`, and the purchased `products` with quantities and unit prices.

## Path parameters

- `id` integer, required

## Response `200`

Returns the purchase details

- object
  - `purchase` object, required
    - `id` integer, required
    - `transaction_id` string, required
    - `subscriber_id` integer, required
    - `status` string, required
    - `email_address` string, required
    - `currency` string, required
    - `transaction_time` string, required
    - `subtotal` number, float, required
    - `discount` number, float, required
    - `tax` number, float, required
    - `total` number, float, required
    - `products` object[], required
      - `quantity` integer, required — Product quantity
      - `lid` string, required — Each product should have a unique `lid` (i.e., line item identifier) for this purchase.
      - `unit_price` number, float, required — Product price
      - `sku` unknown, required
      - `name` string, required — Product name
      - `pid` string, required — This is your identifier for a product. Each product provided in the `products` array must have a unique pid. Variants of the same product should have the same pid.
    - `source` string

## Other responses

- `401` — Returns a 401 if the token and/or account cannot be authenticated
- `404` — Returns a 404 when the provided id does not exist

---

[API](https://skmtc.net/kit/apis/kit-api.md) · [All operations](https://skmtc.net/kit/apis/kit-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/kit/kit-api/revisions/0df0c90d12da/schema)
