stack

Home > @infiniteobjects/shopify-data-manager > AdminTypes > AppUsagePricing

AdminTypes.AppUsagePricing interface

Defines a usage pricing model for the app subscription. These charges are variable based on how much the merchant uses the app.

Signature:

export interface AppUsagePricing 

Properties

Property Modifiers Type Description
balanceUsed   MoneyV2 The total usage records for interval.
cappedAmount   MoneyV2 The capped amount prevents the merchant from being charged for any usage over that amount during a billing period. This prevents billing from exceeding a maximum threshold over the duration of the billing period. For the merchant to continue using the app after exceeding a capped amount, they would need to agree to a new usage charge.
interval   AppPricingInterval | `${AppPricingInterval}` The frequency with which the app usage records are billed.
terms   Scalars[‘String’][‘output’] The terms and conditions for app usage pricing. Must be present in order to create usage charges. The terms are presented to the merchant when they approve an app’s usage charges.