TargetInfo
Public metadata about a target (GET /api/v1/targets).
On this page
Public metadata about a target (GET /api/v1/targets).
import type { TargetInfo } from "@sponsorkit/sdk";
interface TargetInfo { … }Interface, exported from @sponsorkit/sdk, @sponsorkit/sdk/node, @sponsorkit/sdk/server.
Properties#
target#
target: stringprovider#
provider: ProviderType: Provider
account#
account: stringexists#
exists: booleandisplayName#
displayName: string | nullavatarUrl#
avatarUrl: string | nullurl#
url: string | nullcurrency#
currency: string | nullfrequencies#
frequencies: Frequency[]Type: Frequency
customAmount#
customAmount: booleantiers#
tiers: TargetTier[]Type: TargetTier