# Shopify Flow: Store credit

{% hint style="info" %}
This feature is available for: **Essential, Advanced, and Ultimate**
{% endhint %}

{% hint style="success" %}
**Store Credit is now supported natively in Joy — no Shopify Flow required.**

You can set Store Credit as a reward type directly in Joy's earning programs (Place Order, Milestones, Referrals) without building a Shopify Flow workflow. When you select Store Credit for the first time, Joy will prompt you to grant permissions inline.

👉 See [Store Credit](https://help.joy.so/reward-programs/store-credit) for the full setup guide.
{% endhint %}

### What is Store Credit?

Store Credit is a cashback system that works alongside your loyalty program:

* **Direct Cashback**: Customers earn actual monetary value they can spend immediately
* **Flexible Spending**: Any amount can be used (even small amounts like $0.10)
* **Seamless Checkout**: Works directly in Shopify's native checkout process
* **Customer Account Integration**: Visible in customer accounts without additional configuration

### Why do you need Store Credit?

Store Credit transforms your loyalty program by offering real money instead of abstract points. Customers appreciate the transparent value they can spend instantly at checkout without conversion complexities.

This streamlined approach improves retention, encourages additional spending (customers often spend more than their credit amount), and keeps revenue within your business when handling returns.

Unlike traditional points systems, Store Credit leverages Shopify's native functionality for a simpler, more effective loyalty solution that benefits both you and your customers.

### Using Shopify Flow for Store Credit (advanced / alternative)

{% hint style="info" %}
Make sure you enabled the [Shopify Customer Account](https://help.shopify.com/en/manual/customers/customer-accounts/new-customer-accounts/manage) before start iusing this feature.
{% endhint %}

{% stepper %}
{% step %}
Open **Joy: Loyalty Program**, go to **Integrations**, and select **Shopify flow**
{% endstep %}

{% step %}
Turn on **Shopify flow**
{% endstep %}

{% step %}
Click on "**Grant Store Credit access**"

To use the Store Credit feature in Shopify Flow, you need to grant additional access permissions to the app. This is an optional feature and only necessary if you want to use Store Credit.

{% embed url="<https://app.arcade.software/share/GKbjyuuOuhPVSR4J4yyq>" %}
{% endstep %}
{% endstepper %}

If you need custom logic beyond what Joy's native programs support — such as applying store credit based on order tags, customer segments, or other Shopify Flow conditions — you can still use the Shopify Flow method below.

### How to set up Store Credit via Shopify Flow

{% embed url="<https://go.screenpal.com/watch/cTibFanl95j>" %}

{% stepper %}
{% step %}
Click on "**Flow**", choose "**Create workflow**" and "**Select a trigger**"
{% endstep %}

{% step %}
Insert a new step: Choose **Shopify** and select "**order created**"
{% endstep %}

{% step %}
Insert a new step click the "**+**" button and choose "**action**"
{% endstep %}

{% step %}
In the next step, choose "**Joy: Loyalty program**" then select "**Adjust store credit**"
{% endstep %}

{% step %}
Configure the reward amount and conditions
{% endstep %}

{% step %}
Click "**Turn on workflow**" to save

{% embed url="<https://app.arcade.software/share/89m6QnYUMneSO4bRxAkv>" %}
{% endstep %}
{% endstepper %}

### Store credit formula cheat sheet

Setting your cashback rate can be calculated by normal mathematical operations or [Shopify Liquid syntax](https://shopify.dev/docs/api/liquid/filters/math-filters). Both can be used, but the Liquid syntax opens more flexibility because Shopify Flow support this right out of the box.

<figure><img src="https://1367962225-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FpAxc1paAgix94BNLrez8%2Fuploads%2Fgit-blob-7554849646dc4c653992e1a9e148176d0d5ccc9e%2Fimage%20(463).png?alt=media" alt=""><figcaption></figcaption></figure>

You can try out a few of these examples and tweak them to match your use case:

| Description                                        | Syntax                                                                                                          |
| -------------------------------------------------- | --------------------------------------------------------------------------------------------------------------- |
| 2% cashback on subtotal (using math)               | {{order.subtotalPriceSet.shopMoney. amount}} / 50                                                               |
| 2% cashback on subtotal (using Liquid)             | {{order.subtotalPriceSet.shopMoney. amount \| divided\_by: 50}}                                                 |
| 2% cashback on subtotal, round down (using Liquid) | {{order.subtotalPriceSet.shopMoney. amount \| divided\_by: 50 \| floor }}                                       |
| 2% cashback on subtotal, round up (using Liquid)   | {{order.subtotalPriceSet.shopMoney. amount \| divided\_by: 50 \| ceil }}                                        |
| 2% cashback on grand total (using Liquid)          | {{order.totalPriceSet.shopMoney.amount}} / 50                                                                   |
| 2% cashback on subtotal + shipping                 | <p>({{order.subtotalPriceSet.shopMoney.amount}}+ {{order.totalShippingPriceSet.shopMoney.amount}}) / 50<br></p> |

### How to check store credit balance in customer profile

There are 2 ways for you to check:

**View Customer Store Credit on Cutomers of Shopify**

{% stepper %}
{% step %}
Go to **Customers** in your Shopify admin
{% endstep %}

{% step %}
Select a **customer profile**
{% endstep %}

{% step %}
View customers' store credit balance

<figure><img src="https://1367962225-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FpAxc1paAgix94BNLrez8%2Fuploads%2Fgit-blob-8e9428c7b80a1e3436bf7107b5b773128508f46e%2Fimage%20(143).png?alt=media" alt=""><figcaption></figcaption></figure>
{% endstep %}
{% endstepper %}

**View Customer Store Credit on Joy: Loyalty program**

{% stepper %}
{% step %}
Go to **Customers** in **Joy: Loyalty program app**
{% endstep %}

{% step %}
Select **a customer profile**
{% endstep %}

{% step %}
Scroll down to view customers' store credit balance

<figure><img src="https://1367962225-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FpAxc1paAgix94BNLrez8%2Fuploads%2Fgit-blob-85c1baa2ada424cf15dbb6fe6b552cafbebc6012%2FFrame%202085653807.png?alt=media" alt=""><figcaption></figcaption></figure>
{% endstep %}
{% endstepper %}

### Frequently Asked Questions

1. **Does store credit expire?**

Store credit expiration is configurable by the merchant. You can set credit to expire after a specific time period or keep it valid indefinitely. Setting expiration dates can encourage customers to make purchases sooner.

2. **Can customers see how they earned their store credit?**

Yes, if you enable shopify customer account extensibility, customers can see their store credit history right out of the box — no extra setup needed.

3. **Will store credit work with my existing loyalty points program?**

Yes, you can use both store credit and points at the same time. But **we recommend focusing on one to keep it simple**. Points are great for long-term loyalty and brand building, while store credit works like cashback, giving customers clear incentives to return.

4. **How do I explain store credit to my customers?**

Consider adding information about your store credit program to your loyalty program FAQs or creating an automated email that explains how it works when customers receive credit for the first time.

5.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://help.joy.so/integrations/integrate-with-shopify-flow/shopify-flow-store-credit.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
