List credit transactions
curl --request GET \
--url https://api.turos.app/v1/billing/credits/transactions \
--header 'x-api-key: <api-key>'import requests
url = "https://api.turos.app/v1/billing/credits/transactions"
headers = {"x-api-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'x-api-key': '<api-key>'}};
fetch('https://api.turos.app/v1/billing/credits/transactions', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{}{
"object": "error",
"id": "<string>",
"code": "<string>",
"type": "<string>",
"message": "<string>",
"requestId": "<string>",
"details": {},
"traceparent": "<string>",
"hint": "<string>",
"docsUrl": "<string>"
}Billing
List credit transactions
List the current organization’s prepaid credit ledger entries (top-ups, debits, refunds, grants, adjustments), newest first.
GET
/
v1
/
billing
/
credits
/
transactions
List credit transactions
curl --request GET \
--url https://api.turos.app/v1/billing/credits/transactions \
--header 'x-api-key: <api-key>'import requests
url = "https://api.turos.app/v1/billing/credits/transactions"
headers = {"x-api-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'x-api-key': '<api-key>'}};
fetch('https://api.turos.app/v1/billing/credits/transactions', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{}{
"object": "error",
"id": "<string>",
"code": "<string>",
"type": "<string>",
"message": "<string>",
"requestId": "<string>",
"details": {},
"traceparent": "<string>",
"hint": "<string>",
"docsUrl": "<string>"
}