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

# Manage and Retrieve Price Points

This article explains how you can manage and retrieve localize prices in the Checkout using Appcharge Price Points, ensuring players see prices in their preferred currency.

## Set and manage Price Points

In the Publisher Dashboard, [set and manage price points](/../../guides/checkout/price-localization/set-up-price-points) for each locale you support.

## Fetch Price Points

Use the `getPricePoints` function to retrieve the Price Points you configured in the Publisher Dashboard:

<CodeGroup>
  ```javascript React theme={"system"}
  import { getPricePoints } from "appcharge-checkout-reactjs-sdk";
  ```

  ```typescript Angular theme={"system"}
  import {
    AppchargeCheckoutService,
    Environment
  } from 'appcharge-checkout-angular-sdk';
  ```

  ```javascript JavaScript theme={"system"}
  import { getPricePoints } from "appcharge-checkout-js-sdk";
  ```

  ```js Vue 2 theme={"system"}
  import { getPricePoints } from "appcharge-checkout-vuejs-sdk";
  ```

  ```js Vue 3 theme={"system"}
  import { getPricePoints } from "appcharge-checkout-vuejs3-sdk";
  ```
</CodeGroup>

### Parameters

| Parameter             | Type   | Required | Description                                                                                                                                                                        |   |
| --------------------- | ------ | -------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | - |
| `environment`         | string | **Yes**  | The checkout environment. <br />One of:<br />- `sandbox`: For testing. <br />- `prod`: For live operations.                                                                        |   |
| `checkoutPublicToken` | string | **Yes**  | The checkout public key, located in the Publisher Dashboard. In the sidebar menu, click **Settings**, then select the **Integration** tab. Copy the **Checkout Public Key** value. |   |

### Example

<CodeGroup>
  ```javascript React theme={"system"}
  async function fetchPricePoints() {
      try {
        const pricePoints = await getPricePoints(environment, checkoutPublicToken);
      } catch (error) {
        console.error(error);
      }
    }
  ```

  ```typescript Angular theme={"system"}
  @Component({
    selector: 'app-root',
    templateUrl: './app.component.html',
    styleUrls: ['./app.component.scss'],
    providers: [ AppchargeCheckoutService ]
  })
  export class AppComponent {
    constructor(
      private appchargeSdkLib: AppchargeCheckoutService,
    ) {
    }

    async fetchPricePoints() {
      try {
        const pricePoints = await this.appchargeSdkLib.getPricePoints(environment, checkoutPublicToken);
      } catch (error) {
        console.error(error);
      }
    }
  }
  ```

  ```javascript JavaScript theme={"system"}
  async function fetchPricePoints() {
    try {
      const pricePoints = await getPricePoints(environment, checkoutPublicToken);
    } catch (error) {
      console.error(error);
    }
  }
  ```

  ```vue Vue 2 theme={"system"}
  <script>
  export default {
    methods: {
      async fetchPricePoints() {
        try {
          const pricePoints = await getPricePoints(environment, checkoutPublicToken);
        } catch (error) {
          console.error(error);
        }
      }
    }
  };
  </script>
  ```

  ```vue Vue 3 theme={"system"}
  <script setup>
  async function fetchPricePoints() {
    try {
      const pricePoints = await getPricePoints(environment, checkoutPublicToken);
    } catch (error) {
      console.error(error);
    }
  }
  </script>
  ```
</CodeGroup>
