# Type Alias: FlowHandleEvent

> **FlowHandleEvent** = \{ `type`: `"start"`; \} \| \{ `currency`: `string` \| `null`; `customer`: `any`; `invoice`: `any`; `invoice_total`: `number`; `is_first_invoice`: `boolean`; `session`: `any`; `type`: `"purchase"`; \} \| \{ `session?`: [`CheckoutSessionPayload`](https://plandalf.com/docs/packages/sdk/interfaces/CheckoutSessionPayload); `type`: `"complete"`; \} \| \{ `reason`: `"cancel"` \| `"escape"`; `type`: `"cancel"`; \}

Defined in: [packages/sdk/src/core/handle.ts:29](https://github.com/plandalf/numi/blob/fc6f42b5ade3d63b71623934838a6509f17203e2/packages/sdk/src/core/handle.ts#L29)

Source: https://plandalf.com/docs/packages/sdk/type-aliases/FlowHandleEvent
