Skip to main content
POST

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Request payload for calculateRevenueAPI

Request to get revenue details

currencyConfig
CurrencyConfig ยท object
required

Configuration for getting the currency

pricePlanDetailsConfig
PricePlanDetailsConfig ยท object
required

Configuration for getting the usage rate card

usageConfig
UsageConfig ยท object
required

Configuration for getting the usage

licenseEntriesConfig
LicenseEntriesConfig ยท object
required

Configuration for getting the license entries

namedLicenseEntriesConfig
NamedLicenseEntriesConfig ยท object

Configuration for getting the named license entries

prorationConfig
ProrationConfig ยท object

Configuration for getting the proration, if not provided no proration will be applied

entitlementOverageConfig
EntitlementOverageConfig ยท object

Configuration for getting the entitlement overages

Response

Response payload for calculateRevenueAPI

currency
string
required
pricePlanDetails
object
required
revenueInfo
RevenueInfo ยท object[]
required
usageLookupRange
UsageLookupRange ยท object

Start and end dates of usage lookup if usage mode is LOOKUP