Skip to main content

GrantAddonDto

amountnumberrequired

Amount to add to the base quota.

Possible values: >= 1

metricSlugstringrequired

Metric slug to grant the bonus on.

reasonstring

Free-form reason shown in the admin UI / ledger.

Possible values: <= 500 characters

scopestringrequired

one_cycle = bonus applies only to the subscription's current billing period (rolling metrics only). permanent = bonus applies until revoked.

Possible values: [one_cycle, permanent]

GrantAddonDto
{
"amount": 0,
"metricSlug": "string",
"reason": "string",
"scope": "one_cycle"
}