List credit transactions
curl --request GET \
--url https://dashboard.ondial.ai/api/v1/credits/transactions \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://dashboard.ondial.ai/api/v1/credits/transactions', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://dashboard.ondial.ai/api/v1/credits/transactions"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"transactions": [
{}
],
"pagination": {}
}{
"error": "Invalid or inactive API key",
"reasonCode": "unauthorized"
}{
"error": "Insufficient scope",
"reasonCode": "forbidden",
"missing": [
"calls:read"
]
}List credit transactions
Credit ledger for wallet and per-call usage reconciliation.
GET
/
api
/
v1
/
credits
/
transactions
List credit transactions
curl --request GET \
--url https://dashboard.ondial.ai/api/v1/credits/transactions \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://dashboard.ondial.ai/api/v1/credits/transactions', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://dashboard.ondial.ai/api/v1/credits/transactions"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"transactions": [
{}
],
"pagination": {}
}{
"error": "Invalid or inactive API key",
"reasonCode": "unauthorized"
}{
"error": "Insufficient scope",
"reasonCode": "forbidden",
"missing": [
"calls:read"
]
}Requires
credits:read. Prefer ledger amounts over duration × guessed rates.
Filter with type=call_deduction for call usage rows. Pair with credits.usage / call.*.billed webhooks.Authorizations
Paste only your API key (ond_live_… or ond_test_…). Do not type the word Bearer — the playground adds it.
Query Parameters
Example:
"call_deduction"
Required range:
x <= 100
