GET
/
v5
/
app
/
line_items
curl --request GET \
  --url https://api.whop.com/api/v5/app/line_items \
  --header 'Authorization: Bearer <token>'
{
  "pagination": {
    "current_page": 123,
    "total_pages": 123,
    "next_page": 123,
    "prev_page": 123,
    "total_count": 123
  },
  "data": [
    {
      "id": "<string>",
      "amount": 123,
      "base_currency": "usd",
      "description": "<string>",
      "allow_multiple_quantity": true,
      "metadata": {},
      "name": "<string>",
      "created_at": 123
    }
  ]
}

Authorizations

Authorization
string
headerrequired

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

page
integer
default: 1

The page number to retrieve

per
integer
default: 10

The number of resources to return per page. There is a limit of 50 results per page.

company_id
string

An ID of a company to filter by, which will look like biz_*************

Response

200 - application/json
pagination
object
required
data
object[]
required