The Usage Type Object holds details about a service.

FieldTypeExampleDescription
descriptionString"bitlaunch-ubuntu-lon1-nibble-1024"A description of the service.
startDate (Unix Timestamp)"2020-10-12T13:00:00Z"The date and time of when the service was created (Rounded down to the hour).
endDate (Unix Timestamp)"2020-10-12T18:00:00Z"The date and time of when the service is being charged next or was last charged (Rounded up to the hour).
costInteger135The amount to be charged. The amount is (USD * 1000).
hoursInteger5The amount of hours the service was running (Rounded up).
amountInteger0The amount of used units.
typeString"server"The type is a string that represents what is being charged.