> ## Documentation Index
> Fetch the complete documentation index at: https://dev.smile.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Preloaded customer points wallet

> `Smile.customerPointsWallet.preloaded()`

This method retrieves the preloaded customer points wallet from the cache, without making an API call. Refer to [preloading resources](/js/concepts/preloading) to learn how to refresh the value.

<Tip>
  For this method to return a value, the customer points wallet must first be [preloaded](/js/concepts/preloading). If you want to retrieve live values from the API, use the [`Smile.customerPointsWallet.get()`](/js/resources/customer-points-wallet/get) method instead.
</Tip>

## Returns

This method returns a [customer points wallet object](/js/resources/customer-points-wallet/object). If the customer's points wallet has not been preloaded, `null` is returned.

<Panel>
  ```javascript JavaScript lines theme={null}
  Smile.customerPointsWallet.preloaded();
  ```
</Panel>
