# Interface: GateResult

Defined in: [packages/sdk/src/core/types.ts:389](https://github.com/plandalf/numi/blob/fc6f42b5ade3d63b71623934838a6509f17203e2/packages/sdk/src/core/types.ts#L389)

## Properties

### access

> **access**: `boolean`

Defined in: [packages/sdk/src/core/types.ts:391](https://github.com/plandalf/numi/blob/fc6f42b5ade3d63b71623934838a6509f17203e2/packages/sdk/src/core/types.ts#L391)

Did the user get through the gate?

***

### entitlements?

> `optional` **entitlements?**: `unknown`

Defined in: [packages/sdk/src/core/types.ts:395](https://github.com/plandalf/numi/blob/fc6f42b5ade3d63b71623934838a6509f17203e2/packages/sdk/src/core/types.ts#L395)

Return value from your sync callback (if provided)

***

### error?

> `optional` **error?**: `unknown`

Defined in: [packages/sdk/src/core/types.ts:397](https://github.com/plandalf/numi/blob/fc6f42b5ade3d63b71623934838a6509f17203e2/packages/sdk/src/core/types.ts#L397)

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

***

### status

> **status**: [`GateResultStatus`](https://plandalf.com/docs/packages/sdk/type-aliases/GateResultStatus)

Defined in: [packages/sdk/src/core/types.ts:393](https://github.com/plandalf/numi/blob/fc6f42b5ade3d63b71623934838a6509f17203e2/packages/sdk/src/core/types.ts#L393)

How access was resolved

***

### transaction?

> `optional` **transaction?**: `object`

Defined in: [packages/sdk/src/core/types.ts:399](https://github.com/plandalf/numi/blob/fc6f42b5ade3d63b71623934838a6509f17203e2/packages/sdk/src/core/types.ts#L399)

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"`

Source: https://plandalf.com/docs/packages/sdk/interfaces/GateResult
