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?
optionalentitlements?:unknown
Defined in: packages/sdk/src/core/types.ts:395
Return value from your sync callback (if provided)
error?
optionalerror?: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?
optionaltransaction?:object
Defined in: packages/sdk/src/core/types.ts:399
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"