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: string

provider#

provider: Provider

Type: Provider

account#

account: string

exists#

exists: boolean

displayName#

displayName: string | null

avatarUrl#

avatarUrl: string | null

url#

url: string | null

currency#

currency: string | null

frequencies#

frequencies: Frequency[]

Type: Frequency

customAmount#

customAmount: boolean

tiers#

tiers: TargetTier[]

Type: TargetTier