Skip to main content
GET
/
test_framework
/
billing
/
info
Get billing information
curl --request GET \
  --url https://api.cekura.ai/test_framework/billing/info/ \
  --header 'X-CEKURA-API-KEY: <api-key>'
{
  "organization": 123,
  "credits_remaining": "<string>",
  "credits_used": "<string>",
  "initial_balance": "<string>",
  "balance_expiry": "2023-11-07T05:31:56Z",
  "subscription_status": "<string>",
  "created_at": "2023-11-07T05:31:56Z",
  "updated_at": "2023-11-07T05:31:56Z"
}

Authorizations

X-CEKURA-API-KEY
string
header
required

API Key Authentication. It should be included in the header of each request.

Response

organization
integer

Organization ID associated with this billing information. Example: 37

credits_remaining
string

Current available credits balance. Example: 7436.08

credits_used
string

Total credits consumed from all transactions. Example: 36462.14

initial_balance
string

Initial credits balance from the subscription pack. Example: 50000.00

balance_expiry
string<date-time>

Date when the current balance expires (null if no expiry). Example: 2025-12-31T23:59:59Z

subscription_status
string

Current subscription status including active state, trial status, pack name, and expiry date. Example: {"is_active": true, "is_trial": false, "pack_name": "Enterprise", "expire_at": "2025-12-31T23:59:59Z"}

created_at
string<date-time>

Timestamp when the billing record was created. Example: 2024-01-15T10:30:00Z

updated_at
string<date-time>

Timestamp when the billing record was last updated. Example: 2025-11-22T14:25:30Z