Interface: GateResult
Defined in: ../../../../plandalf/numi/packages/sdk/src/core/types.ts:399
Properties
access
access:
boolean
Defined in: ../../../../plandalf/numi/packages/sdk/src/core/types.ts:401
Did the user get through the gate?
entitlements?
optionalentitlements?:unknown
Defined in: ../../../../plandalf/numi/packages/sdk/src/core/types.ts:405
Return value from your sync callback (if provided)
error?
optionalerror?:unknown
Defined in: ../../../../plandalf/numi/packages/sdk/src/core/types.ts:407
The original integration/check/sync failure when status is error.
status
status:
GateResultStatus
Defined in: ../../../../plandalf/numi/packages/sdk/src/core/types.ts:403
How access was resolved
transaction?
optionaltransaction?:object
Defined in: ../../../../plandalf/numi/packages/sdk/src/core/types.ts:409
The raw transaction from Plandalf (if a flow was presented)
customer?
optionalcustomer?:unknown
flow
flow:
string
order?
optionalorder?:unknown
status
status:
"completed"|"failed"
subscription?
optionalsubscription?:unknown
type
type:
"purchase"|"cancellation"|"capture"|"recovery"|"upsell"