Browse Packages

Interface: GateResult

Defined in: packages/sdk/src/core/types.ts:389

Properties

access

access: boolean

Defined in: packages/sdk/src/core/types.ts:391

Did the user get through the gate?


entitlements?

optional entitlements?: unknown

Defined in: packages/sdk/src/core/types.ts:395

Return value from your sync callback (if provided)


error?

optional error?: unknown

Defined in: packages/sdk/src/core/types.ts:397

The original integration/check/sync failure when status is error.


status

status: GateResultStatus

Defined in: packages/sdk/src/core/types.ts:393

How access was resolved


transaction?

optional transaction?: object

Defined in: packages/sdk/src/core/types.ts:399

The raw transaction from Plandalf (if a flow was presented)

customer?

optional customer?: unknown

flow

flow: string

order?

optional order?: unknown

status

status: "completed" | "failed"

subscription?

optional subscription?: unknown

type

type: "purchase" | "cancellation" | "capture" | "recovery" | "upsell"

Feature detail