Browse Packages

Interface: PlandalfConfig

Defined in: ../../../../plandalf/numi/packages/sdk/src/core/types.ts:56

Properties

apiBase?

optional apiBase?: string

Defined in: ../../../../plandalf/numi/packages/sdk/src/core/types.ts:57


autoScan?

optional autoScan?: boolean

Defined in: ../../../../plandalf/numi/packages/sdk/src/core/types.ts:67


cdnBase?

optional cdnBase?: string

Defined in: ../../../../plandalf/numi/packages/sdk/src/core/types.ts:58


continuity?

optional continuity?: ContinuityScope

Defined in: ../../../../plandalf/numi/packages/sdk/src/core/types.ts:72

Session continuity default. Off by default — every present() mints a new session. Per-call overrides live on FlowOpenOptions.


countdownBase?

optional countdownBase?: string

Defined in: ../../../../plandalf/numi/packages/sdk/src/core/types.ts:59


debug?

optional debug?: boolean

Defined in: ../../../../plandalf/numi/packages/sdk/src/core/types.ts:66


metadata?

optional metadata?: Record<string, MetadataValue>

Defined in: ../../../../plandalf/numi/packages/sdk/src/core/types.ts:100

Stripe-bound pass-through. Forwarded to the Stripe Customer's metadata field at customer-creation time so external affiliate trackers (Tolt, Rewardful, FirstPromoter, …) can attribute via Customer.metadata.<key> when email matching is unreliable. Function values are resolved lazily at session-create time so () => window.tolt_referral reads the up-to-date value even if the tracker's async script populated it after page load. Per-call values on FlowOpenOptions override matching keys here. See specs/sdk-checkout-config.md.


properties?

optional properties?: Record<string, unknown>

Defined in: ../../../../plandalf/numi/packages/sdk/src/core/types.ts:88

Form-field prefill defaults. Merchant-supplied; rendered into checkout inputs (e.g. first_name, email, custom collected fields). Per-call values on FlowOpenOptions override matching keys here. See specs/sdk-checkout-config.md.


ref?

optional ref?: string | string[]

Defined in: ../../../../plandalf/numi/packages/sdk/src/core/types.ts:80

Merchant alias(es) for the visitor-identifier URL param. When the host page emits the visitor's identity under a non-canonical name (Divi forms locked to email, etc.), list those names here. Tried after pf_ref and ref. Set via data-config-ref="…" on the SDK . See specs/sdk-url-config.md.


referral?

optional referral?: false | ReferralOptions

Defined in: ../../../../plandalf/numi/packages/sdk/src/core/types.ts:109

Affiliate referral capture overrides (params, compatibility global / cookie, metadata key, outbound hosts to decorate). Each field wins over the program config from GET /client/referrals/config. false disables capture on this page. Script tag: data-config-referral-params, data-config-referral-decorate, … See specs/affiliates/sdk.md.


user?

optional user?: string

Defined in: ../../../../plandalf/numi/packages/sdk/src/core/types.ts:65

Customer JWT (HS256, signed with one of the org's API keys, kid header set to the ApiKey id). Set globally at init OR via plandalf.setUser(jwt). Per-call override lives on FlowOpenOptions.user. The value is the raw JWT string, not a user object.

Feature detail