--- displayed_sidebar: pricingReference badge: variant: orange text: Beta slug: /references/pricing/retrieveMoneyAmount sidebar_label: retrieveMoneyAmount --- import ParameterTypes from "@site/src/components/ParameterTypes" # retrieveMoneyAmount - Pricing Module Reference This documentation provides a reference to the `retrieveMoneyAmount` method. This belongs to the Pricing Module. This method retrieves a money amount by its ID. ## Example To retrieve a money amount by its ID: ```ts import { initialize as initializePricingModule, } from "@medusajs/pricing" async function retrieveMoneyAmount (moneyAmountId: string) { const pricingService = await initializePricingModule() const moneyAmount = await pricingService.retrieveMoneyAmount( moneyAmountId, ) // do something with the money amount or return it } ``` To retrieve relations along with the money amount: ```ts import { initialize as initializePricingModule, } from "@medusajs/pricing" async function retrieveMoneyAmount (moneyAmountId: string) { const pricingService = await initializePricingModule() const moneyAmount = await pricingService.retrieveMoneyAmount( moneyAmountId, { relations: ["currency"] } ) // do something with the money amount or return it } ``` ## Parameters ## Returns