Billing Usages
Retrieve a Billing Usage
Returns a billing usage
GET
/
v5
/
app
/
billing_usages
/
{id}
Authorization
Path
curl --request GET \
--url https://api.whop.com/api/v5/app/billing_usages/{id} \
--header 'Authorization: <authorization>'
{
"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>"
}
Authorizations
Authorization
string
headerrequiredBearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Path Parameters
id
string
requiredThe ID of the billing usage, which will look like bu_*************
Response
200 - application/json
amount
number
The amount to charge, if the billing item is variable.
app_id
string
requiredThe ID of the app, which will look like app_*************
billing_item_id
string
requiredThe ID of the billing item, which will look like bi_*************
company_id
string
requiredThe ID of the company, which will look like biz_*************
created_at
number
requiredThe date the billing usage was created as a unix timestamp.
id
string
requiredThe ID of the billing usage, which will look like bu_*************
membership_id
string
requiredThe ID of the membership, which will look like mem_*************
quantity
number
The quantity to charge for the billing item, if the billing item is structured.
receipt_id
string
The ID of the receipt, which will look like rec_*************
Was this page helpful?
curl --request GET \
--url https://api.whop.com/api/v5/app/billing_usages/{id} \
--header 'Authorization: <authorization>'
{
"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>"
}