Billing Transactions
Use the Billing API to retrieve information about transactions performed on billing accounts.
Billing-Transaction Object{
"id": "40bf837e-fd97-4d7d-bb3d-0cefd76ae9ca",
"billingId": "cebe4692-498e-4c04-81ac-8ad04210ca9d",
"type": "CREDIT_LOAD",
"attributes": {
"description": "Free DCUs from Dremio!"
},
"invoice": "",
"creditDelta": 1000,
"createdAt": 1644423410015
}
Billing-Transaction Attributes
id String
The UUID of the billing transaction.
Example: 40bf837e-fd97-4d7d-bb3d-0cefd76ae9ca
billingId String
The UUID of the billing account the transaction refers to.
Example: cebe4692-498e-4c04-81ac-8ad04210ca9d
type String
The type of transaction.
Enum: USAGE, CREDIT_LOAD, CREDIT_EXPIRED
Example: CREDIT_LOAD
attributes String
Additional information about the transaction. The type of information included depends on the type of transaction.
Example: {"description": "Free DCUs from Dremio!"}
invoice String
A URL for the invoice associated with the transaction. Can be null.
creditDelta Double
The change in credits for this transaction.
Example: 1000
createdAt Integer
The number of milliseconds since UNIX epoch at which the transaction was created.
Example: 1644423410015
Attributes of the attributes
Object
startDate Integer
When the transaction type is USAGE
: The number of milliseconds since UNIX epoch at which the usage began.
endDate Integer
When the transaction type is USAGE
: The number of milliseconds since UNIX epoch at which the usage ended.
description String
When the transaction type is CREDIT_LOAD
: Optional additional notes about the transaction.
expiredAt Integer
When the transaction type is CREDIT_EXPIRED
: The number of milliseconds since UNIX epoch at which the credit expired.