> For the complete documentation index, see [llms.txt](https://docs.projectfatal.xyz/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.projectfatal.xyz/commands/fun/economy/economy-purchase.md).

# Economy Purchase

Buy items from the shop

When buying an item you must make sure you give the correct code for the item you want to buy.

<figure><img src="https://455014626-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FWDhLy7fnucL67uEj10BQ%2Fuploads%2FdpA6PqyXLdXwrmB639zh%2Fimage_2023-06-11_155235012.png?alt=media&amp;token=3a9e5a14-780b-4952-be36-a3cc402c034e" alt=""><figcaption></figcaption></figure>

If the user fails to provide the correct code, then the bot will ask you to provide a valid code to enter. At the time of writing this, item code 50 does not exist yet and isn't valid.

<figure><img src="https://455014626-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FWDhLy7fnucL67uEj10BQ%2Fuploads%2FvwYkbPu0sxd70lw62i4p%2Fimage_2023-06-11_155417450.png?alt=media&amp;token=0a9bc884-c9b9-407a-9f49-f70a53040e9b" alt=""><figcaption></figcaption></figure>

If the user tries to purchase an item with an insufficient balance then the bot will throw an error

<figure><img src="https://455014626-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FWDhLy7fnucL67uEj10BQ%2Fuploads%2F4pAbNSS1BKefM1k1bA9V%2F2022-09-01%2014_33_26-counting%20-%20Discord.png?alt=media&amp;token=7e51b244-3b11-402b-9885-022a22dbc63d" alt=""><figcaption></figcaption></figure>
