Billing Usages
List Billing Usages
Returns a collection of billing usages
GET
/
v5
/
app
/
billing_usages
Authorization
Query
curl --request GET \
--url https://api.whop.com/api/v5/app/billing_usages \
--header 'Authorization: <authorization>'
{
"data": [
{
"amount": 123,
"app_id": "<string>",
"billing_item_id": "<string>",
"company_id": "<string>",
"created_at": 123,
"id": "<string>",
"membership_id": "<string>",
"quantity": 123,
"receipt_id": "<string>"
}
],
"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
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: 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/app/billing_usages \
--header 'Authorization: <authorization>'
{
"data": [
{
"amount": 123,
"app_id": "<string>",
"billing_item_id": "<string>",
"company_id": "<string>",
"created_at": 123,
"id": "<string>",
"membership_id": "<string>",
"quantity": 123,
"receipt_id": "<string>"
}
],
"pagination": {
"current_page": 123,
"next_page": 123,
"prev_page": 123,
"total_count": 123,
"total_pages": 123
}
}