# Function: loadCheckout()

```typescript
export async function loadCheckout(): Promise<CheckoutModule>
```

Defined in: [packages/sdk/src/core/loader.ts:67](https://github.com/plandalf/numi/blob/fc6f42b5ade3d63b71623934838a6509f17203e2/packages/sdk/src/core/loader.ts#L67)

## Returns

`Promise`\<[`CheckoutModule`](https://plandalf.com/docs/packages/sdk/interfaces/CheckoutModule)\>

## When to use this export

`loadCheckout()` is a standalone named export from `@plandalf/sdk`. It returns the lower-level [`CheckoutModule`](https://plandalf.com/docs/packages/sdk/interfaces/CheckoutModule). It is not a method on the [browser `plandalf` object](https://plandalf.com/docs/sdk).

```typescript title="load-checkout.ts" lineNumbers lineNumberStart=1 highlight="3"
import { loadCheckout } from '@plandalf/sdk'

const checkout = await loadCheckout()
```

For the usual offer flow, call [`plandalf.present()`](https://plandalf.com/docs/sdk/present) or [`sdk.present()`](https://plandalf.com/docs/packages/sdk/classes/Plandalf#present) directly; those calls load checkout when needed.

Source: https://plandalf.com/docs/packages/sdk/functions/loadCheckout
