Retrieve a Billing Item
curl --request GET \
--url https://api.whop.com/api/v5/company/billing_items/{id} \
--header 'Authorization: <authorization>'
{
"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
}
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Path Parameters
The ID of the billing item, which will look like bi_*************
Response
The ID of the app, which will look like app_*************
The billing type of the billing item.
structured
, variable
The date the billing item was created as a unix timestamp.
The three letter currency code for the billing item.
usd
, sgd
, inr
, aud
, brl
, cad
, dkk
, eur
, nok
, gbp
, sek
, chf
, hkd
, huf
, jpy
, mxn
, myr
, pln
, czk
, nzd
, aed
, cop
, ron
, thb
The ID of the billing item, which will look like bi_*************
An identifier for the billing item that is unique across all billing items for the product in respect to the app.
The name of the billing item.
The ID of the product, which will look like prod_*************
The status of the billing item.
active
, archived
The unit amount for the billing item.
The name of the unit for the billing item.
The unit price for the billing item.
Was this page helpful?
curl --request GET \
--url https://api.whop.com/api/v5/company/billing_items/{id} \
--header 'Authorization: <authorization>'
{
"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
}