Usage¶
List all usages¶
GET /api/subscriptions/#{subscription-id}/billing_usage
OAuth authorization required: profile_read
Schema
billing_usages: Arrayid: Integerperiod_start: DateTimeperiod_end: DateTimeexternal_id: Stringrate: Decimalrate_period: Integer- This value will tell you what term the rate is, and is used to determine the hourly price. For example, if
rateis an hourly price,rate_periodwill be1. If monthly,rate_periodwill be 730.(rate / rate_period) == hourly rate
- This value will tell you what term the rate is, and is used to determine the hourly price. For example, if
qty: Decimaltotal: Decimalprocessed: Booleanprocessed_on: DateTimecreated_at: DateTimeupdated_at: DateTimeproduct:Object<Product>user: Objectid: Integerfull_name: Stringemail: Stringexternal_id: String
View Usage Item¶
GET /api/subscriptions/#{subscription-id}/billing_usage/{id}
OAuth authorization required: profile_read
Schema
billing_usage: Objectid: Integerperiod_start: DateTimeperiod_end: DateTimeexternal_id: Stringrate: Decimalrate_period: Integerqty: Decimaltotal: Decimalprocessed: Booleanprocessed_on: DateTimecreated_at: DateTimeupdated_at: DateTimeproduct:Object<Product>user: Objectid: Integerfull_name: Stringemail: Stringexternal_id: String