list daily revenue records
GEThttps://api.suger.cloud/org/:orgId/dailyRevenueRecord
list daily revenue records for the given organization, partner, entitlement, or buyer, within the given date range.
Request
Path Parameters
Organization ID
Query Parameters
Possible values: [AWS, AZURE, GCP]
Cloud Partner
Filter daily revenue records by the given product ID
Filter daily revenue records by the given buyer ID
Filter daily revenue records by the given entitlement ID
start date (UTC) in YYYY-MM-DD format, default is 30 days before the endDate
end date (UTC) in YYYY-MM-DD format, default is today
Responses
- 200
- 400
- 500
OK
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
The revenue amount for the revenue report
The revenue amount that the seller/ISV can collect.
The currency of the revenue in ISO 4217 format, such as "USD".
The date for the revenue report
info
object
The value is from type Partner string
[
{
"amount": 0,
"buyerID": "string",
"collectableAmount": 0,
"currency": "string",
"date": "2024-07-29T15:51:28.071Z",
"disburseAmount": 0,
"disburseDate": "2024-07-29T15:51:28.071Z",
"entitlementID": "string",
"id": "string",
"info": {
"awsRevenueRecords": [
{
"action": "string",
"agreementID": "string",
"amount": 0,
"balanceImpacting": 0,
"bankTraceID": "string",
"billingAddressID": "string",
"brokerID": "string",
"buyerID": "string",
"buyerTransactionReferenceID": "string",
"currency": "string",
"dataFeedProductID": "string",
"disbursementBillingEventID": "string",
"endUserAccountID": "string",
"entitlementID": "string",
"fromAccountID": "string",
"id": "string",
"insertDate": {
"time": "string",
"valid": true
},
"invoiceDate": {
"time": "string",
"valid": true
},
"invoiceID": "string",
"offerID": "string",
"organizationID": "string",
"parentBillingEventID": "string",
"paymentDueDate": {
"time": "string",
"valid": true
},
"productID": "string",
"refundedBuyerTransactionReferenceID": "string",
"toAccountID": "string",
"transactionReferenceID": "string",
"transactionType": "string",
"usagePeriodEndDate": {
"time": "string",
"valid": true
},
"usagePeriodStartDate": {
"time": "string",
"valid": true
}
}
],
"azureRevenueRecords": [
{
"azureAssetID": "string",
"azureBillingAccountID": "string",
"azureCustomerID": "string",
"azureOfferID": "string",
"azurePlanID": "string",
"billingModel": "string",
"buyerID": "string",
"earningID": "string",
"earningUsd": 0,
"entitlementID": "string",
"estimatedPayoutMonth": {
"time": "string",
"valid": true
},
"invoiceDate": {
"time": "string",
"valid": true
},
"invoiceDueDate": {
"time": "string",
"valid": true
},
"invoiceID": "string",
"offerID": "string",
"organizationID": "string",
"paymentID": "string",
"paymentSentDate": {
"time": "string",
"valid": true
},
"paymentStatus": "string",
"payoutStatus": "string",
"productID": "string",
"programName": "string",
"purchaseRecordID": "string",
"resellerCity": "string",
"resellerCompany": "string",
"resellerCountry": "string",
"resellerEmail": "string",
"resellerID": "string",
"resellerState": "string",
"revenueUsd": 0,
"termEndDate": "string",
"termStartDate": "string",
"transactionDate": {
"time": "string",
"valid": true
}
}
],
"bankTraceId": "string",
"billingModel": "",
"channel": "DIRECT",
"creditAmount": 0,
"disbursementBillingEventId": "string",
"disbursementNotificationSent": true,
"earningId": "string",
"gcpRevenueRecords": [
{
"abandoned": 0,
"accountID": "string",
"buyerID": "string",
"charges": 0,
"currency": "string",
"dueVendor": 0,
"entitlementID": "string",
"googleEntity": "string",
"insightAccountID": "string",
"offerID": "string",
"ordinal": 0,
"organizationID": "string",
"paymentSchedule": "string",
"paymentType": "string",
"prepayCredits": 0,
"productID": "string",
"refundBalanceDeductedThisMonth": 0,
"refundBalanceOutstanding": 0,
"refundReason": "string",
"released": 0,
"reportDate": "string",
"resource": "string",
"sku": "string",
"trialUse": 0,
"unit": "string",
"usage": 0,
"usedBy": "string",
"withheld": 0
}
],
"idSource": "string",
"invoiceId": "string",
"paymentId": "string",
"resellerId": "string",
"resellerName": "string",
"resource": "string"
},
"invoiceAmount": 0,
"invoiceDate": "2024-07-29T15:51:28.071Z",
"organizationID": "string",
"partner": "string",
"paymentDueDate": "2024-07-29T15:51:28.071Z",
"productID": "string",
"refundDisburseAmount": 0,
"refundDisburseDate": "2024-07-29T15:51:28.071Z",
"refundInvoiceAmount": 0,
"refundInvoiceDate": "2024-07-29T15:51:28.071Z",
"taxAmount": 0
}
]
Bad request error
- application/json
- Schema
Schema
string
Internal server error
- application/json
- Schema
Schema
string
- curl
- python
- go
- nodejs
- ruby
- csharp
- php
- java
- powershell
- CURL