Blog

April 15, 2025·Product

Announcing Store Credits and Gift Cards

Riqwan Thamir

Riqwan avatar

Riqwan Thamir

Add store credit and gift card support to your Medusa store. Manage them in the Admin and use them as building blocks for future loyalty and rewards programs.

Image modal

We are thrilled to announce the release of the Store Credit and Gift Card plugin for Medusa. This plugin equips your store with store credit accounts and gift card functionality, driving customer loyalty and sales. Issue refunds as store credit, sell gift cards, and use the plugin's APIs to create seamless experiences that bring customers back.

Drive sales and customer retention

The Store Credit plugin is designed to streamline operations and customer satisfaction by enabling new capabilities out of the box.

Refunds that drive repeat purchases

With the Store Credit plugin you can transform refunds into opportunities. With a deep integration in the admin dashboard, you can now choose between refunding to a payment method or issuing store credit. Customers can apply their balance at checkout, encouraging them to return and shop again.

Image modal

Expand revenue options with Gift Cards

Enable gift card sales with customizable denominations in multiple currencies directly in your store. Customers can purchase, share, and redeem them effortlessly either at checkout or by converting them to store credit. Manage everything from the admin panel, where creating and tracking gift cards is simple and intuitive.

Image modal

These tools help you foster loyalty, increase repeat business, and convert one-time buyers into long-term customers through an easy-to-use interface.

Build new experiences with store credits

The Store Credit and Gift Card plugin adds a new core commerce module to your Medusa store that developers can build new experiences on top of. Combined with Medusa's flexibility and developer framework this opens endless opportunities like loyalty programs, cashback rewards, competitions, and much more.

// src/subscribers/cashback.ts
export default async function({ event: { data }, container }) {
const query = container.resolve("query")
const {data: [orderData] } = await query.graph({
entity: "order",
fields: ["id", "item_total", "customer.store_credit_accounts.*", "currency_code"],
filters: { id: data.id }
})
const currencyAccount = orderData.customer.store_credit_accounts.find(
(account) => account.currency_code === orderData.currency_code
)
const storeCreditService = container.resolve("store_credit")
storeCreditService.creditAccounts([{
account_id: currencyAccount.id,
amount: orderData.item_total * 0.04, // 4% cash back
}])

Available for Medusa Cloud today, open-source later this year

The Store Credit and Gift Card plugin is available for early access by Medusa Cloud users and will be open-sourced later this year. Click here if you want to get in touch about Medusa Cloud.

Share this post

Ready to build your custom commerce setup?