GET
/
v5
/
app
/
billing_usages
curl --request GET \
  --url https://api.whop.com/api/v5/app/billing_usages \
  --header 'Authorization: Bearer <token>'
{
  "pagination": {
    "current_page": 123,
    "total_pages": 123,
    "next_page": 123,
    "prev_page": 123,
    "total_count": 123
  },
  "data": [
    {
      "id": "<string>",
      "created_at": 123,
      "company_id": "<string>",
      "app_id": "<string>",
      "membership_id": "<string>",
      "billing_item_id": "<string>",
      "quantity": 123,
      "amount": 123,
      "receipt_id": "<string>"
    }
  ]
}

Authorizations

Authorization
string
headerrequired

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

Query Parameters

company_id
string

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

product_id
string

An ID of a product to filter by, which will look like prod_*************

membership_id
string

An ID of a membership to filter by, which will look like mem_*************

billing_item_id
string

An ID of a billing item to filter by, which will look like bi_*************

billing_item_identifier
string

An identifier of a billing item to filter by.

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.

Response

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