Skip to main content
GET
/
api
/
admin
/
billing
/
resource-configs
List resource configs
curl --request GET \
  --url https://api.example.com/api/admin/billing/resource-configs \
  --cookie better-auth.session_token=
[
  {
    "id": "<string>",
    "resourceType": "<string>",
    "billingType": "hourly",
    "ratePerUnit": 123,
    "currency": "<string>",
    "active": true,
    "createdAt": "<string>",
    "updatedAt": "<string>",
    "description": "<string>"
  }
]

Authorizations

better-auth.session_token
string
cookie
required

Response

200 - application/json

Default Response

id
string
required
resourceType
string
required
billingType
required
Available options:
hourly
ratePerUnit
number
required
currency
string
required
active
boolean
required
createdAt
string
required
updatedAt
string
required
description
string