Read billing, trial allowance and linked Cloud credits
import requests
url = "https://platform.ankra.app/api/v1/org/billing/activation"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://platform.ankra.app/api/v1/org/billing/activation', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));curl --request GET \
--url https://platform.ankra.app/api/v1/org/billing/activation \
--header 'Authorization: Bearer <token>'{
"organisation_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"plan_name": "<string>",
"paid_usage_enabled": true,
"trial_limit_vcpu": 1,
"current_vcpu": 1,
"observed_at": "2023-11-07T05:31:56Z",
"can_unlock": true,
"payment_method_ready": true,
"terms": {
"version": "<string>",
"currency": "eur",
"vcpu_rate_hourly": 1,
"free_vcpu_allowance": 1,
"flat_monthly_cents": 1
},
"cloud": {
"state": "linked",
"account_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"billing_url": "<string>",
"credits_state": "ready",
"credits_remaining_cents": 1,
"credits_expire_at": "2023-11-07T05:31:56Z",
"approval_sync_state": "not_requested"
}
}Billing
Read billing, trial allowance and linked Cloud credits
Reads the current organisation only. Requires billing.read. Unknown capacity or Cloud credit observations remain null and saving a card does not authorise paid usage.
GET
/
api
/
v1
/
org
/
billing
/
activation
Read billing, trial allowance and linked Cloud credits
import requests
url = "https://platform.ankra.app/api/v1/org/billing/activation"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://platform.ankra.app/api/v1/org/billing/activation', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));curl --request GET \
--url https://platform.ankra.app/api/v1/org/billing/activation \
--header 'Authorization: Bearer <token>'{
"organisation_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"plan_name": "<string>",
"paid_usage_enabled": true,
"trial_limit_vcpu": 1,
"current_vcpu": 1,
"observed_at": "2023-11-07T05:31:56Z",
"can_unlock": true,
"payment_method_ready": true,
"terms": {
"version": "<string>",
"currency": "eur",
"vcpu_rate_hourly": 1,
"free_vcpu_allowance": 1,
"flat_monthly_cents": 1
},
"cloud": {
"state": "linked",
"account_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"billing_url": "<string>",
"credits_state": "ready",
"credits_remaining_cents": 1,
"credits_expire_at": "2023-11-07T05:31:56Z",
"approval_sync_state": "not_requested"
}
}Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Query Parameters
Expected current organisation; mismatch is rejected, never used to switch scope.
Response
Successful Response
Required range:
x >= 0Required range:
x >= 0The reviewed owner agreement. paid-usage-2026-10-03 approves Startup and Cloud usage. cloud-usage-2026-10-04 approves Cloud usage only; its zero Platform amounts do not replace an existing paid Platform agreement.
Show child attributes
Show child attributes
Show child attributes
Show child attributes