---
title: "List all PaymentIntent LineItems"
method: GET
path: "/v1/payment_intents/{intent}/amount_details_line_items"
---

# List all PaymentIntent LineItems

`GET /v1/payment_intents/{intent}/amount_details_line_items`

Lists all LineItems of a given PaymentIntent.

## Path parameters

- `intent` string, required

## Query parameters

- `ending_before` string
- `expand` string[]
- `limit` integer
- `starting_after` string

## Response `200`

Successful response.

- object
  - `data` PaymentIntentAmountDetailsLineItem[], required — Details about each object.
    - `discount_amount` integer, nullable — The discount applied on this line item represented in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal). An integer greater than 0. This field is mutually exclusive with the `amount_details[discount_amount]` field.
    - `id` string, required — Unique identifier for the object.
    - `object` 'payment_intent_amount_details_line_item', required — String representing the object's type. Objects of the same type share the same value.
    - `payment_method_options` PaymentFlowsAmountDetailsResourceLineItemsListResourceLineItemResourcePaymentMethodOptions
      - `card` PaymentFlowsPrivatePaymentMethodsCardPaymentIntentAmountDetailsLineItemPaymentMethodOptions
        - `commodity_code` string, nullable
      - `card_present` PaymentFlowsPrivatePaymentMethodsCardPresentAmountDetailsLineItemPaymentMethodOptions
        - `commodity_code` string, nullable
      - `klarna` PaymentFlowsPrivatePaymentMethodsKlarnaPaymentIntentAmountDetailsLineItemPaymentMethodOptions
        - `image_url` string, nullable
        - `product_url` string, nullable
        - `reference` string, nullable
        - `subscription_reference` string, nullable
      - `paypal` PaymentFlowsPrivatePaymentMethodsPaypalAmountDetailsLineItemPaymentMethodOptions
        - `category` 'digital_goods' | 'donation' | 'physical_goods' — Type of the line item.
        - `description` string — Description of the line item.
        - `sold_by` string — The Stripe account ID of the connected account that sells the item. This is only needed when using [Separate Charges and Transfers](https://docs.stripe.com/connect/separate-charges-and-transfers).
    - `product_code` string, nullable — The product code of the line item, such as an SKU. Required for L3 rates. At most 12 characters long.
    - `product_name` string, required — The product name of the line item. Required for L3 rates. At most 1024 characters long. For Cards, this field is truncated to 26 alphanumeric characters before being sent to the card networks. For PayPal, this field is truncated to 127 characters.
    - `quantity` integer, required — The quantity of items. Required for L3 rates. An integer greater than 0.
    - `tax` PaymentFlowsAmountDetailsResourceLineItemsListResourceLineItemResourceTax
      - `total_tax_amount` integer, required — The total amount of tax on the transaction represented in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal). Required for L2 rates. An integer greater than or equal to 0. This field is mutually exclusive with the `amount_details[line_items][#][tax][total_tax_amount]` field.
    - `unit_cost` integer, required — The unit cost of the line item represented in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal). Required for L3 rates. An integer greater than or equal to 0.
    - `unit_of_measure` string, nullable — A unit of measure for the line item, such as gallons, feet, meters, etc. Required for L3 rates. At most 12 alphanumeric characters long.
  - `has_more` boolean, required — True if this list has another page of items after this one that can be fetched.
  - `object` 'list', required — String representing the object's type. Objects of the same type share the same value. Always has the value `list`.
  - `url` string, required — The URL where this list can be accessed.

## Other responses

- `default` — Error response.

---

[API](https://skmtc.net/stripe/apis/stripe-api-2.md) · [All operations](https://skmtc.net/stripe/apis/stripe-api-2/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/stripe/stripe-api-2/versions/3653ad45bbec/schema)
