Billing Items
List Billing Items
Returns a collection of billing items
GET
/
v5
/
company
/
billing_items
Authorization
Query
curl --request GET \
--url https://api.whop.com/api/v5/company/billing_items \
--header 'Authorization: <authorization>'
{
"data": [
{
"app_id": "<string>",
"billing_type": "structured",
"created_at": 123,
"currency": "usd",
"id": "<string>",
"identifier": "<string>",
"name": "<string>",
"product_id": "<string>",
"status": "active",
"unit_amount": 123,
"unit_name": "<string>",
"unit_price": 123
}
],
"pagination": {
"current_page": 123,
"next_page": 123,
"prev_page": 123,
"total_count": 123,
"total_pages": 123
}
}
Authorizations
Authorization
string
headerrequiredBearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Query Parameters
product_id
string
An ID of a product to filter by, which will look like prod_*************
app_id
string
An ID of an app to filter by, which will look like app_*************
status
enum<string>
A status to filter by.
Available options:
active
, archived
identifier
string
An identifier to filter by.
page
integer
default: 1The page number to retrieve
per
integer
default: 10The number of resources to return per page. There is a limit of 50 results per page.
Response
200 - application/json
data
object[]
requiredpagination
object
requiredWas this page helpful?
curl --request GET \
--url https://api.whop.com/api/v5/company/billing_items \
--header 'Authorization: <authorization>'
{
"data": [
{
"app_id": "<string>",
"billing_type": "structured",
"created_at": 123,
"currency": "usd",
"id": "<string>",
"identifier": "<string>",
"name": "<string>",
"product_id": "<string>",
"status": "active",
"unit_amount": 123,
"unit_name": "<string>",
"unit_price": 123
}
],
"pagination": {
"current_page": 123,
"next_page": 123,
"prev_page": 123,
"total_count": 123,
"total_pages": 123
}
}