Usage Credit
Give usage credits to your clients in cloud marketplaces
Overview
ISV sellers can offer usage credits (in amount, default currency USD) to their clients (buyers) in the active Entitlements of all marketplaces. It provides flexibility for your sales or revenue operation team to customize deal & incentives.
Billing Priority
Credit is just one of multiple available incentives. For example, In Azure Marketplace, each metering metric can have included quantity or even infinite included quantity. In GCP Marketplace, the metric may have free tiered quantity. In addition, some Entitlements are type of commit + usage-based combined, which has commit amount to consume. To eliminate confusion, they are ordered by their billing priorities in the table below. The Suger Credit is consumed first, then Commit, and the Included Quantity is the last.
| Priority | Incentive | Description |
|---|---|---|
| 1st | Suger Credit | Applied first to incoming usage records, in the order they are received by the Suger metering API, until the credit amount is used up. |
| 2nd | Commit | Applicable if the Entitlement has commit amount (for AWS & GCP) or Flat_Rate (for Azure) |
| 3rd | Included Quantity |
|
Worked example
Assume a usage-based metric priced at $1/unit, on an entitlement with $30 Suger Credit, a $20 commit, and 10 units of Included Quantity. A usage record of 100 units ($100) is offset in priority order:
- Suger Credit (1st): $30 of the $100 is covered by credit. Remaining: $70.
- Commit (2nd): $20 of the remaining $70 is drawn from the commit amount. Remaining: $50.
- Included Quantity (3rd): 10 units (= $10) are covered by included quantity. Remaining: $40.
The buyer is billed the remaining $40. (Figures are illustrative.)
Add Credit
There are two approaches to add credit to the Entitlement: Suger Console or Suger API.
- Suger Console
Go to the page of Entitlement where you want to add the credit, and scroll down to the section of Entitlement Terms. Click the button Add credit, select the target Entitlement Term (optional), input the credit amount in the dialog and submit.
- Suger API
Use the addEntitlementCredit REST API to add the credit amount. The request payload would be like:
{
"organizationID": "your-suger-organization-id",
"entitlementID": "suger-entitlement-id",
"entitlementTermID": "suger-entitlement-term-id", // Optional
"creditAmountIncrement": 100.0,
}
The success response would be:
{
"organizationID": "your-suger-organization-id",
"entitlementID": "suger-entitlement-id",
"entitlementTermID": "suger-entitlement-term-id",
"creditAmountIncrement": 100.0,
"newCreditAmount": 150.0, // new total credit amount, assume there was $50.0 before addEntitlementCredit.
} Spotted something wrong or out of date on this page? Tell us and we'll correct it.