www/apps/user-guide/app/loyalty/store-credits/manage/page.mdx
import { Prerequisites, InlineIcon } from "docs-ui" import { EllipsisHorizontal } from "@medusajs/icons"
export const metadata = {
title: Manage Store Credits in Medusa Admin,
}
In this guide, you'll learn how to create and manage store credit accounts in the Medusa Admin.
<Prerequisites items={[ { text: "Loyalty plugin installed", link: "!resources!/commerce-modules/store-credit#1-install-the-loyalty-plugin", }, ]} />
To view all store credit accounts in your store, click on Store Credits in the sidebar.
The list shows each account's currency, linked customer email, current balance, total credits, total debits, and creation date. You can filter the list by date range or customer.
<Note title="Tip">When you create a gift card, a store credit account that isn't linked to any customer is also created. When the gift card is redeemed on an order, the store credit account's balance will be deducted with the amount.
</Note>You can create a store credit account for a customer. This is useful to credit a customer manually.
To create a new store credit account:
You'll be taken to the new account's details page where you can view and manage its details.
To view the details of a store credit account:
The details page shows the account's unique code, linked customer, and current balance.
You can also see the transaction history, which lists all credit and debit transactions, including the amount, date, and any notes attached to each transaction.
To add funds to a store credit account manually:
The credited amount will appear in the account's transaction history and the current balance will update accordingly.
You can also view all store credit accounts linked to a customer without going to the Store Credits section:
Each account listed shows the currency and current balance. Click on an account to go to its full details page.
When refunding an order's payment, you can choose to refund the payment to the customer's store credit account instead of their original payment method. This allows the customer to use the refunded amount for future purchases.
You can only refund to store credit if the customer is a registered customer, since guest customers don't have store credit accounts.
See Refund Payment for more details on how to refund an order's payment to store credit.